[wp-trac] [WordPress Trac] #13651: Problem with plural form in comments_number
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 20 17:27:24 UTC 2010
#13651: Problem with plural form in comments_number
-----------------------------+-------------------------
Reporter: pavelevap | Owner: nbachiyski
Type: defect (bug) | Status: new
Priority: highest omg bbq | Milestone: 3.1
Component: I18N | Version: 3.0
Severity: major | Resolution:
Keywords: |
-----------------------------+-------------------------
Comment (by nbachiyski):
The previous efforts put into something should affect our judgement of
what's the best solution.
Sergey, compare:
{{{
comments_number_link( __( 'Leave a comment', 'twentyten' ), _n( '1
Comment', '%s Comments', get_comments_number(), 'twentyten' ) );
}}}
with:
{{{
comments_number_link( 'Leave a comment', '1 Comment', '%s Comments',
'twentyten' );
}}}
The only drawback of the second variant is that the POT generation has to
be done through our custom tools. This affects very few people and they
(including you) should just start using {{{makepot.php}}}. It's not rocket
science.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13651#comment:24>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list