[wp-trac] [WordPress Trac] #37287: wp_print_admin_notice_templates() does not use _n*() for plural forms
WordPress Trac
noreply at wordpress.org
Tue Apr 30 08:54:08 UTC 2024
#37287: wp_print_admin_notice_templates() does not use _n*() for plural forms
------------------------------+-----------------------------------------
Reporter: ideag | Owner: swissspidy
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.6
Component: I18N | Version: 4.6
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: javascript, administration
------------------------------+-----------------------------------------
Changes (by swissspidy):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"58064" 58064]:
{{{
#!CommitTicketReference repository="" revision="58064"
I18N: Fix plural usage in `wp_print_admin_notice_templates()`.
Moves the translatable strings from the JS template defined in PHP to the
`updates.js` script, where `_n()` can be used as recommended.
Props ideag, SergeyBiryukov, daledupreez, audrasjb, ocean90, swissspidy.
Fixes #37287.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37287#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list