[wp-trac] Re: [WordPress Trac] #3244: tiny i18n fix
WordPress Trac
wp-trac at lists.automattic.com
Sat Oct 14 11:47:06 GMT 2006
#3244: tiny i18n fix
-----------------------+----------------------------------------------------
Reporter: mamay | Owner: markjaquith
Type: defect | Status: assigned
Priority: lowest | Milestone: 2.1
Component: General | Version: 2.0.4
Severity: normal | Resolution:
Keywords: has-patch |
-----------------------+----------------------------------------------------
Changes (by markjaquith):
* status: new => assigned
* owner: anonymous => markjaquith
Comment:
Hm, don't think so. And for more than one, we need to use
{{{__ngettext()}}}
See patch. I also re-ordered the logic, removed the last test (after all,
if a positive integer isn't greater than one, and isn't zero, it MUST be
one), and passed the number of comments to the filter at the end, to make
it easier for plugin authors to use the filter (no need to
{{{preg_match()}}} the number).
--
Ticket URL: <http://trac.wordpress.org/ticket/3244#comment:2>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list