[wp-trac] [WordPress Trac] #6993: Incorrect singular/plural form in string

WordPress Trac wp-trac at lists.automattic.com
Mon May 19 07:20:48 GMT 2008


#6993: Incorrect singular/plural form in string
----------------------+-----------------------------------------------------
 Reporter:  thenlich  |       Owner:  anonymous
     Type:  defect    |      Status:  new      
 Priority:  normal    |   Milestone:  2.7      
Component:  i18n      |     Version:  2.5.1    
 Severity:  normal    |    Keywords:           
----------------------+-----------------------------------------------------
 In wp-includes/pluggable.php:897 there is a message:

 {{{
         $strCommentsPending = sprintf( __ngettext('%s comment', '%s
 comments', $comments_waiting), $comments_waiting );
         $notify_message .= sprintf( __('Currently %s are waiting for
 approval. Please visit the moderation panel:'), $strCommentsPending ) .
 "\r\n";

 }}}

 Which expands to "Currently 1 comment are waiting..."
 when $comments_waiting is 1, it should be "Currently 1 comment is
 waiting..."

 This is also a problem of how to translate this.

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


More information about the wp-trac mailing list