#6993 closed defect (bug) (fixed)
Incorrect singular/plural form in string
| Reported by: | thenlich | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.6 |
| Component: | I18N | Version: | 2.5.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch to fix message in pluggable.php