From 4e130ed78f3b69d025d7a9310513ae2c83493a45 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 13 Dec 2015 19:10:04 +0000 Subject: [PATCH] I18N: Use better context for comment statuses. See #35054. git-svn-id: https://develop.svn.wordpress.org/trunk@35902 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/edit-form-comment.php | 6 +++--- src/wp-includes/comment.php | 11 ++++------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/wp-admin/edit-form-comment.php b/src/wp-admin/edit-form-comment.php index 92911db23a..5fd308e357 100644 --- a/src/wp-admin/edit-form-comment.php +++ b/src/wp-admin/edit-form-comment.php @@ -82,9 +82,9 @@ if ( $comment->comment_post_ID > 0 ):
-
-
- +
+
+
diff --git a/src/wp-includes/comment.php b/src/wp-includes/comment.php index c62a920839..50e2d29533 100644 --- a/src/wp-includes/comment.php +++ b/src/wp-includes/comment.php @@ -231,13 +231,10 @@ function get_comments( $args = '' ) { */ function get_comment_statuses() { $status = array( - 'hold' => __('Unapproved'), - /* translators: comment status */ - 'approve' => _x('Approved', 'adjective'), - /* translators: comment status */ - 'spam' => _x('Spam', 'adjective'), - /* translators: comment status */ - 'trash' => _x('Trash', 'adjective'), + 'hold' => __( 'Unapproved' ), + 'approve' => _x( 'Approved', 'comment status' ), + 'spam' => _x( 'Spam', 'comment status' ), + 'trash' => _x( 'Trash', 'comment status' ), ); return $status;