[wp-trac] [WordPress Trac] #62402: Untranslatable texts in admin nav-menu.js

WordPress Trac noreply at wordpress.org
Wed Nov 20 11:20:51 UTC 2024


#62402: Untranslatable texts in admin nav-menu.js
-------------------------------------------------+-------------------------
 Reporter:  juliemoynat                          |       Owner:  joedolson
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.7.1
Component:  Menus                                |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch commit fixed-major dev-    |     Focuses:  javascript
  reviewed                                       |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"59431" 59431]:
 {{{
 #!CommitTicketReference repository="" revision="59431"
 I18N: Adjust translator comments in `nav-menu.js`.

 Includes:
 * Moving the comments directly above `wp.i18n._x()` so that they can be
 picked up properly.
 * Simplifying the context to avoid unnecessarily translating the string
 twice for the same use case.
 * Using the established translator comments format for consistency.

 Follow-up to [59428].

 See #62402.
 }}}

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


More information about the wp-trac mailing list