Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#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)

pluggable-transl.patch (1.1 KB ) - added by thenlich 18 years ago.
Patch to fix message in pluggable.php

Download all attachments as: .zip

Change History (4)

@thenlich
18 years ago

Patch to fix message in pluggable.php

#1 @thenlich
18 years ago

  • Milestone 2.72.5.2

#2 @ryan
18 years ago

  • Resolutionfixed
  • Status newclosed

(In [7996]) gettext fix from thenlich. fixes #6993 for trunk

#3 @ryan
18 years ago

  • Milestone 2.5.22.6
Note: See TracTickets for help on using tickets.