mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30: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:
@@ -82,12 +82,12 @@ if ( isset( $_GET['approved'] ) || isset( $_GET['deleted'] ) || isset( $_GET['sp
|
||||
echo '<div id="moderated" class="updated fade"><p>';
|
||||
|
||||
if ( $approved > 0 ) {
|
||||
printf( __ngettext( '%s comment approved.', '%s comments approved.', $approved ), $approved );
|
||||
printf( __ngettext( '%s comment approved', '%s comments approved', $approved ), $approved );
|
||||
echo '<br />';
|
||||
}
|
||||
|
||||
if ( $deleted > 0 ) {
|
||||
printf( __ngettext( '%s comment deleted', '%s comments deleted.', $deleted ), $deleted );
|
||||
printf( __ngettext( '%s comment deleted', '%s comments deleted', $deleted ), $deleted );
|
||||
echo '<br />';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user