#6993 closed defect (bug) (fixed)
Incorrect singular/plural form in string
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | 2.5.1 |
Component: | I18N | Keywords: | |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Patch to fix message in pluggable.php