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:
@@ -68,7 +68,7 @@ if ( !empty( $_POST['delete_comments'] ) ) :
|
||||
endforeach;
|
||||
echo '<div style="background-color: rgb(207, 235, 247);" id="message" class="updated fade"><p>';
|
||||
if ( !empty( $_POST['spam_button'] ) ) {
|
||||
printf(__ngettext('%s comment marked as spam', '%s comments marked as spam.', $i), $i);
|
||||
printf(__ngettext('%s comment marked as spam.', '%s comments marked as spam.', $i), $i);
|
||||
} else {
|
||||
printf(__ngettext('%s comment deleted.', '%s comments deleted.', $i), $i);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user