diff --git a/wp-admin/moderation.php b/wp-admin/moderation.php index 8ba429e4d1..a758d32c48 100644 --- a/wp-admin/moderation.php +++ b/wp-admin/moderation.php @@ -1,5 +1,7 @@ */ @@ -51,7 +53,7 @@ case 'update': require_once('admin-header.php'); if ($user_level < 3) { - die('
Your level is not high enough to moderate comments.
'); + die(__('Your level is not high enough to moderate comments.
')); } $item_ignored = 0; @@ -92,13 +94,13 @@ default: require_once('admin-header.php'); if ($user_level <= 3) { - die('Your level is not high enough to moderate comments.
'); + die(__('Your level is not high enough to moderate comments.
')); } ?> \n";
if ($approved) {
if ('1' == $approved) {
- echo "1 comment approved
\n";
+ echo __("1 comment approved
") . "\n";
} else {
- echo "$approved comments approved
\n";
+ echo sprintf(__("%s comments approved
"), $approved) . "\n";
}
}
if ($deleted) {
if ('1' == $deleted) {
- echo "1 comment deleted
\n";
+ echo __("1 comment deleted
") . "\n";
} else {
- echo "$deleted comments deleted
\n";
+ echo sprintf(__("%s comments deleted
"), $deleted) . "\n";
}
}
if ($ignored) {
if ('1' == $ignored) {
- echo "1 comment unchanged
\n";
+ echo __("1 comment unchanged
") . "\n";
} else {
- echo "$ignored comments unchanged
\n";
+ echo sprintf(__("%s comments unchanged
"), $ignored) . "\n";
}
}
echo "
The following comments are in the moderation queue:
+ The following comments are in the moderation queue:') ?> Currently there are no comments to be approved.\n"; + echo __("Currently there are no comments to be approved.
") . "\n"; } ?>