i18n fixes, logic cleanup, wording clarifications, and more from nbachiyski. fixes #3474

git-svn-id: http://svn.automattic.com/wordpress/trunk@4658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith
2006-12-21 23:06:18 +00:00
parent bdd210972c
commit 8a678f3841
17 changed files with 62 additions and 70 deletions

View File

@@ -67,10 +67,11 @@ 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(__('%s comments marked as spam.'), $i);
else
printf(__('%s comments deleted.'), $i);
if ( !empty( $_POST['spam_button'] ) ) {
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);
}
echo '</p></div>';
endif;