From cf8928cdfc99aac37e9d4bd7b22b95725fb2722f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 7 Feb 2021 12:26:41 +0000 Subject: [PATCH] Twenty Twenty-One: Capitalize translator comments consistently. Follow-up to [45932]. See #51800. git-svn-id: https://develop.svn.wordpress.org/trunk@50233 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentytwentyone/comments.php | 2 +- .../themes/twentytwentyone/image.php | 4 ++-- .../twentytwentyone/inc/template-tags.php | 20 +++++++++---------- .../themes/twentytwentyone/search.php | 4 ++-- .../themes/twentytwentyone/single.php | 2 +- .../template-parts/content/content-none.php | 4 ++-- .../template-parts/content/content-page.php | 2 +- .../template-parts/content/content-single.php | 2 +- .../template-parts/content/content.php | 2 +- 9 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/wp-content/themes/twentytwentyone/comments.php b/src/wp-content/themes/twentytwentyone/comments.php index edb96c7e43..ab865234cf 100644 --- a/src/wp-content/themes/twentytwentyone/comments.php +++ b/src/wp-content/themes/twentytwentyone/comments.php @@ -36,7 +36,7 @@ $twenty_twenty_one_comment_count = get_comments_number(); '', - /* translators: %: page number. */ + /* translators: %: Page number. */ 'pagelink' => esc_html__( 'Page %', 'twentytwentyone' ), ) ); @@ -55,7 +55,7 @@ while ( have_posts() ) { if ( wp_get_post_parent_id( $post ) ) { echo ''; printf( - /* translators: %s: parent post. */ + /* translators: %s: Parent post. */ esc_html__( 'Published in %s', 'twentytwentyone' ), '' . esc_html( get_the_title( wp_get_post_parent_id( $post ) ) ) . '' ); diff --git a/src/wp-content/themes/twentytwentyone/inc/template-tags.php b/src/wp-content/themes/twentytwentyone/inc/template-tags.php index 35c428bfad..c15f0d4459 100644 --- a/src/wp-content/themes/twentytwentyone/inc/template-tags.php +++ b/src/wp-content/themes/twentytwentyone/inc/template-tags.php @@ -25,7 +25,7 @@ if ( ! function_exists( 'twenty_twenty_one_posted_on' ) ) { ); echo ''; printf( - /* translators: %s: publish date. */ + /* translators: %s: Publish date. */ esc_html__( 'Published %s', 'twentytwentyone' ), $time_string // phpcs:ignore WordPress.Security.EscapeOutput ); @@ -45,7 +45,7 @@ if ( ! function_exists( 'twenty_twenty_one_posted_by' ) ) { if ( ! get_the_author_meta( 'description' ) && post_type_supports( get_post_type(), 'author' ) ) { echo '