[wp-trac] Re: [WordPress Trac] #5131: wp_tag_cloud(): title='1 topics', should be 1 topic

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 2 17:43:02 GMT 2007


#5131: wp_tag_cloud(): title='1 topics', should be 1 topic
-------------------------+--------------------------------------------------
 Reporter:  atppp        |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  2.5      
Component:  General      |      Version:  2.3      
 Severity:  normal       |   Resolution:           
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by webrocker):

 Replying to [comment:5 westi]:
 > Indeed, patch should be reworked to use
 [http://trac.wordpress.org/browser/trunk/wp-includes/l10n.php#L50
 __ngettext] rather than !__
 I see... would this work[[BR]]
 original:[[BR]]
 {{{ attribute_escape( sprintf( __('%d topics'), $count ) ) }}}[[BR]]
 patch:[[BR]]
 {{{ attribute_escape( __ngettext( 'topic', 'topics', $count )  }}}[[BR]]
 ?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5131#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list