[wp-trac] [WordPress Trac] #62402: Untranslatable texts in admin nav-menu.js
WordPress Trac
noreply at wordpress.org
Fri Nov 15 17:30:30 UTC 2024
#62402: Untranslatable texts in admin nav-menu.js
--------------------------+-------------------------
Reporter: juliemoynat | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.7.1
Component: Menus | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Comment (by tobifjellner):
_x() may not be needed, IF:
1. The string is only used once (or in the same way wherever it occurs),
and
2. adding a //Translators: comment works.
Strings like "x of y", is usually best to build with fprint(), if
possible. And still with a clarifying comment.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62402#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list