[wp-trac] [WordPress Trac] #50596: Use wp.i18n for translatable strings in wp-admin/js/color-picker.js
WordPress Trac
noreply at wordpress.org
Tue Jul 7 16:08:15 UTC 2020
#50596: Use wp.i18n for translatable strings in wp-admin/js/color-picker.js
-------------------------+-------------------------
Reporter: ocean90 | Owner: ocean90
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.5
Component: I18N | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses: javascript
-------------------------+-------------------------
Description changed by ocean90:
Old description:
> We should replace the use of `wp_localize_script()` with the proper
> JavaScript i18n functions introduced in WordPress 5.0, see #20491 and
> #45103. This ticket is for `wp-admin/js/edit-comments.js`.
>
> Related tickets:
>
> [[TicketQuery(component=I18N,summary~=Use wp.i18n for translatable
> strings)]]
New description:
We should replace the use of `wp_localize_script()` with the proper
JavaScript i18n functions introduced in WordPress 5.0, see #20491 and
#45103. This ticket is for `wp-admin/js/color-picker.js`.
Related tickets:
[[TicketQuery(component=I18N,summary~=Use wp.i18n for translatable
strings)]]
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50596#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list