[wp-trac] [WordPress Trac] #13996: Dysfunctional i18n function
WordPress Trac
wp-trac at lists.automattic.com
Mon Jun 21 12:28:22 UTC 2010
#13996: Dysfunctional i18n function
--------------------------+-------------------------------------------------
Reporter: xibe | Owner: nbachiyski
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.1
Component: i18n | Version: 3.0
Severity: normal | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Changes (by nbachiyski):
* keywords: has-patch =>
* status: closed => reopened
* resolution: fixed =>
* milestone: 3.0.1 => 3.1
Comment:
Sergey is right and his patch is in for 3.0.1.
For 3.1, I would like to make the {{{*_noop()}}} functions return an
associative array, because using these indices is totally
incomprehensible.
Along that, we should introduce a {{{translate_nooped_plural()}}} function
to:
1. Hide the complexity of the conditional use of {{{_n()}}} or
{{{_nx()}}}, depending on the presence of context.
2. Make localization of the places, where we lazy-translating noop-ed
strings.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13996#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list