From 61fb6ea5402e079e61cb83910b26dd7b0861b353 Mon Sep 17 00:00:00 2001 From: westi Date: Fri, 21 Nov 2008 18:16:44 +0000 Subject: [PATCH] Give context to more translations to allow for differentiation between plural noun, verb and adjective translations. Fixes #8154 props nbachiyski. git-svn-id: http://svn.automattic.com/wordpress/trunk@9835 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/comment.php | 2 +- wp-admin/edit-form-advanced.php | 2 +- wp-admin/edit-form-comment.php | 6 +++--- wp-admin/edit-pages.php | 2 +- wp-admin/includes/template.php | 6 +++--- wp-content/themes/classic/comments-popup.php | 2 +- wp-content/themes/classic/comments.php | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/wp-admin/comment.php b/wp-admin/comment.php index 6ff0c2cfb..c08af3589 100644 --- a/wp-admin/comment.php +++ b/wp-admin/comment.php @@ -123,7 +123,7 @@ if ( 'spam' == $_GET['dt'] ) { - + comment_content; ?> diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 66bc8d18c..e91001dc4 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -425,7 +425,7 @@ wp_nonce_field( 'get-comments', 'add_comment_nonce', false ); - + diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index b588fc989..0783c67f3 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -47,9 +47,9 @@ $url = attribute_escape( $comment->comment_author_url );
-
-
- +
+
+
diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php index e5a8aa26b..9bd904565 100644 --- a/wp-admin/edit-pages.php +++ b/wp-admin/edit-pages.php @@ -281,7 +281,7 @@ if ( 1 == count($posts) && is_singular() ) :
- + diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 18070287a..596ad9429 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -677,7 +677,7 @@ function tag_rows( $page = 1, $pagesize = 20, $searchterms = '' ) { function wp_manage_posts_columns() { $posts_columns = array(); $posts_columns['cb'] = ''; - $posts_columns['title'] = __('Post'); + $posts_columns['title'] = _c('Post|noun'); $posts_columns['author'] = __('Author'); $posts_columns['categories'] = __('Categories'); $posts_columns['tags'] = __('Tags'); @@ -764,7 +764,7 @@ function get_column_headers($page) { case 'edit-comments': $_wp_column_headers[$page] = array( 'cb' => '', - 'comment' => __('Comment'), + 'comment' => _c('Comment|noun'), 'author' => __('Author'), 'date' => __('Submitted'), 'response' => __('In Response To') @@ -1993,7 +1993,7 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true } } if ( 'spam' != $the_comment_status ) - $actions['spam'] = "" . __( 'Spam' ) . ''; + $actions['spam'] = "" . _c( 'Spam|verb' ) . ''; $actions['delete'] = "" . __('Delete') . ''; $actions['edit'] = "". __('Edit') . ''; $actions['quickedit'] = '' . __('Quick Edit') . ''; diff --git a/wp-content/themes/classic/comments-popup.php b/wp-content/themes/classic/comments-popup.php index 456a97140..fdcb89322 100644 --- a/wp-content/themes/classic/comments-popup.php +++ b/wp-content/themes/classic/comments-popup.php @@ -49,7 +49,7 @@ if ( post_password_required($commentstatus) ) { // and it doesn't match the coo
  • -

    @

    +

    @

  • diff --git a/wp-content/themes/classic/comments.php b/wp-content/themes/classic/comments.php index 06b4ef70b..b3fe72915 100644 --- a/wp-content/themes/classic/comments.php +++ b/wp-content/themes/classic/comments.php @@ -21,7 +21,7 @@ if ( post_password_required() ) : ?>
  • id="comment-"> -

    @

    +

    @