[wp-trac] [WordPress Trac] #37287: wp_print_admin_notice_templates() does not use _n*() for plural forms
WordPress Trac
noreply at wordpress.org
Tue Oct 11 08:46:16 UTC 2022
#37287: wp_print_admin_notice_templates() does not use _n*() for plural forms
------------------------------+-----------------------------------------
Reporter: ideag | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1
Component: I18N | Version: 4.6
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: javascript, administration
------------------------------+-----------------------------------------
Changes (by audrasjb):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"54469" 54469]:
{{{
#!CommitTicketReference repository="" revision="54469"
I18N: Use `wp.i18n._n()` for plural forms in
`wp_print_admin_notice_templates()`.
This changeset adds better support for plural forms in update admin
notices generated on the Themes and Plugins screens. This fixes issues
when translating into languages that have more than one plural form, or
more complicated rules for singular form usage.
Props ideag, SergeyBiryukov, daledupreez, audrasjb.
Fixes #37287.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37287#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list