From 2bab4e2ec082aeda2d595f8ad5d48dde82687902 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 11 Nov 2008 19:54:54 +0000 Subject: [PATCH] Differentiate between plural noun, verb and adjective Spam translations. Props nbachiyski. fixes #8154 git-svn-id: http://svn.automattic.com/wordpress/trunk@9615 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-form-comment.php | 2 +- wp-admin/includes/dashboard.php | 2 +- wp-includes/comment.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index 0925dd209..6832a73ae 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -49,7 +49,7 @@ $url = attribute_escape( $comment->comment_author_url );


- +
diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 034b05c47..747963d64 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -430,7 +430,7 @@ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) { $actions['edit'] = "". __('Edit') . ''; $actions['quickedit'] = '' . __('Quick Edit') . ''; $actions['reply'] = '' . __('Reply') . ''; - $actions['spam'] = "" . __( 'Spam' ) . ''; + $actions['spam'] = "" . _c( 'Spam|verb' ) . ''; $actions['delete'] = "" . __('Delete') . ''; $actions = apply_filters( 'comment_row_actions', $actions, $comment ); diff --git a/wp-includes/comment.php b/wp-includes/comment.php index 2e9e205ba..f2460563e 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -253,7 +253,7 @@ function get_comment_statuses( ) { $status = array( 'hold' => __('Unapproved'), 'approve' => __('Approved'), - 'spam' => __('Spam'), + 'spam' => _c('Spam|adjective'), ); return $status;