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 "

\n"; @@ -141,7 +143,7 @@ if ($comments) { // list all comments that are waiting for approval $file = basename(__FILE__); ?> -

The following comments are in the moderation queue:

+ The following comments are in the moderation queue:

') ?>
    @@ -152,26 +154,26 @@ if ($comments) { echo "\n\t
  1. "; ?> -

    Name: comment_author_email) { ?>| Email: comment_author_email) { ?> | URI: | IP:

    +

    comment_author_email) { ?>| comment_author_email) { ?> | |

    comment_ID."\">Edit"; - echo " | comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete just this comment | "; ?>Bulk action: - - - +echo "comment_ID."\">" . __('Edit') . ""; +echo " | comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('" . sprintf(__("You are about to delete this comment by \'%s\'\\n \'Cancel\' to stop, \'OK\' to delete."), $comment->comment_author) . "')\">" . __('Delete just this comment') . " | "; ?> + + +

-

+

Currently there are no comments to be approved.

\n"; + echo __("

Currently there are no comments to be approved.

") . "\n"; } ?>