[wp-trac] Re: [WordPress Trac] #5606: i18n formatting breaks dashboard count

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 8 18:29:34 GMT 2008

#5606: i18n formatting breaks dashboard count
 Reporter:  sarekofvulcan   |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  normal          |    Milestone:  2.5      
Component:  Administration  |      Version:  2.5      
 Severity:  normal          |   Resolution:           
 Keywords:                  |  
Comment (by sarekofvulcan):

 Well, there ''were'' line breaks in there before... Just for clarity,

 {{{echo $num_posts;
 echo ngettext( '%d post', '%d posts', $num_posts);
 echo number_format_i18n($num_posts);
 echo sprintf('%d posts', '1,812');}}}


 %d posts
 1 posts}}}

Ticket URL: <http://trac.wordpress.org/ticket/5606#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list