[wp-trac] [WordPress Trac] #13996: Dysfunctional i18n function
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 29 13:12:18 UTC 2010
#13996: Dysfunctional i18n function
--------------------------+-------------------------------------------------
Reporter: xibe | Owner: nbachiyski
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.1
Component: i18n | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: needs-patch |
--------------------------+-------------------------------------------------
Changes (by nbachiyski):
* status: reopened => closed
* resolution: => fixed
Comment:
(In [16073]) Introduce and use translate_nooped_plural(). Fixes #13996
* _n_noop() and _nx_noop() now return associative arrays for greater
clarity
* translate_nooped_plural() takes one such associative array and
translates it
* it works on both the result from _n_noop() and from _nx_noop()
* this breaks backwards compatibility, but I doubt any plugin uses it (I
will do a global grep to confirm)
* translate_nooped_plural() is applied where applicable
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13996#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list