[wp-trac] [WordPress Trac] #13651: Problem with plural form in comments_number

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 8 11:03:50 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            |    Keywords:            
-----------------------------+----------------------------------------------

Comment(by nbachiyski):

 I played a lot with different variants. Here are some:
  * We can't put arrays in 2010, since most people will copy/paste it.
  * I like the idea of tying these functions into POT generation. This will
 need custom work, because we don't have a way to tell {{{xgettext}}} that
 the first argument is a standalone string and the second/third are plurals
 of a different one. In general it's good to have a custom POT generator,
 because we are already bending the xgettext capabilities. I will see what
 I can do.
  * We could try to think of a better name for {{{_n_noop()}}}. Nothing
 comes to mind, though.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13651#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list