mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 23:27:04 +00:00
Use __ngettext() for plurals. Props darkdragon. see #4865
git-svn-id: https://develop.svn.wordpress.org/trunk@6430 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -238,7 +238,7 @@ class MT_Import {
|
||||
}
|
||||
|
||||
if ( $num_comments )
|
||||
printf(' '.__('(%s comments)'), $num_comments);
|
||||
printf(' '.__ngettext('(%s comment)', '(%s comments)', $num_comments), $num_comments);
|
||||
|
||||
$num_pings = 0;
|
||||
foreach ( $pings as $ping ) {
|
||||
@@ -255,7 +255,7 @@ class MT_Import {
|
||||
}
|
||||
|
||||
if ( $num_pings )
|
||||
printf(' '.__('(%s pings)'), $num_pings);
|
||||
printf(' '.__ngettext('(%s ping)', '(%s pings)', $num_pings), $num_pings);
|
||||
|
||||
echo "</li>";
|
||||
//ob_flush();flush();
|
||||
|
||||
Reference in New Issue
Block a user