[wp-trac] [WordPress Trac] #8324: __ngettext confused by formatted numbers

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 23 23:13:39 GMT 2008


#8324: __ngettext confused by formatted numbers
----------------------------+-----------------------------------------------
 Reporter:  filosofo        |       Owner:  anonymous                  
     Type:  defect          |      Status:  new                        
 Priority:  normal          |   Milestone:  2.7                        
Component:  Administration  |     Version:  2.7                        
 Severity:  normal          |    Keywords:  has-patch __ngettext plural
----------------------------+-----------------------------------------------
 As pointed out [http://comox.textdrive.com/pipermail/wp-
 testers/2008-November/010213.html here], numbers starting with 1 and a
 comma, such as "1,234", confuse __ngettext into thinking they're singular,
 so it ends up saying "1,234 Post" instead of "1,234 Posts".

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8324>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list