[wp-trac] [WordPress Trac] #20491: Introduce some JavaScript i18n functions

WordPress Trac noreply at wordpress.org
Mon Jul 6 18:02:11 UTC 2020


#20491: Introduce some JavaScript i18n functions
--------------------------------------+-----------------------------------
 Reporter:  johnbillion               |       Owner:  swissspidy
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  5.0
Component:  I18N                      |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  javascript, rest-api
--------------------------------------+-----------------------------------

Comment (by afercia):

 In [changeset:"48340" 48340]:
 {{{
 #!CommitTicketReference repository="" revision="48340"
 Accessibility: Administration: Improve the sortable postboxes areas on the
 Dashboard and Classic Editor pages.

 - makes the postboxes areas in the Dashboard visible also on large screens
 - uses a more meaningful text when all postboxes areas are empty instead
 of "Drag boxes here"
 - restores the ability to drag boxes to the "advanced" area in the Classic
 Editor page
 - makes the postboxes areas in the Classic Editor page visible while
 dragging so that users have a clue what the available areas are
 - improves the color contrast of the postboxes areas while dragging
 - uses `wp.i18n` for translatable strings in `wp-admin/js/postbox.js`

 Props xkon, karmatosed, audrasjb, ocean90, joedolson, afercia, azaozz.
 See #20491.
 Fixes #49288, #47541.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/20491#comment:97>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list