From 68be2fe3c929966d77dea408c8f8c8df98a47eb5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 15 Jun 2021 15:37:13 +0000 Subject: [PATCH] I18N: Use consistent pattern for placeholder references in translator comments for some bundled theme strings. Follow-up to [42827], [44562], [50234]. See #52628. git-svn-id: https://develop.svn.wordpress.org/trunk@51157 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyeleven/404.php | 4 ++-- src/wp-content/themes/twentyeleven/comments.php | 2 +- src/wp-content/themes/twentyten/comments.php | 2 +- src/wp-content/themes/twentythirteen/comments.php | 2 +- src/wp-content/themes/twentytwelve/comments.php | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-content/themes/twentyeleven/404.php b/src/wp-content/themes/twentyeleven/404.php index 8e2e05ed7b..2dc9998c1d 100644 --- a/src/wp-content/themes/twentyeleven/404.php +++ b/src/wp-content/themes/twentyeleven/404.php @@ -42,8 +42,8 @@ get_header(); ?> ' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'twentyeleven' ), convert_smilies( ':)' ) ) . '

'; + /* translators: %s: Smilie. */ + $archive_content = '

' . sprintf( __( 'Try looking in the monthly archives. %s', 'twentyeleven' ), convert_smilies( ':)' ) ) . '

'; the_widget( 'WP_Widget_Archives', array( diff --git a/src/wp-content/themes/twentyeleven/comments.php b/src/wp-content/themes/twentyeleven/comments.php index 085598c03e..102899645d 100644 --- a/src/wp-content/themes/twentyeleven/comments.php +++ b/src/wp-content/themes/twentyeleven/comments.php @@ -39,7 +39,7 @@ ); } else { printf( - /* translators: %1$s: The number of comments. %2$s: The post title. */ + /* translators: 1: The number of comments, 2: The post title. */ _n( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'twentyeleven' ), number_format_i18n( get_comments_number() ), '' . get_the_title() . '' diff --git a/src/wp-content/themes/twentyten/comments.php b/src/wp-content/themes/twentyten/comments.php index a6fe78a41c..31425239d0 100644 --- a/src/wp-content/themes/twentyten/comments.php +++ b/src/wp-content/themes/twentyten/comments.php @@ -42,7 +42,7 @@ ); } else { printf( - /* translators: %1$s: The number of comments. %2$s: The post title. */ + /* translators: 1: The number of comments, 2: The post title. */ _n( '%1$s Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten' ), number_format_i18n( get_comments_number() ), '' . get_the_title() . '' diff --git a/src/wp-content/themes/twentythirteen/comments.php b/src/wp-content/themes/twentythirteen/comments.php index a01ba833c0..ce993196e9 100644 --- a/src/wp-content/themes/twentythirteen/comments.php +++ b/src/wp-content/themes/twentythirteen/comments.php @@ -31,7 +31,7 @@ if ( post_password_required() ) { ); } else { printf( - /* translators: %1$s: The number of comments. %2$s: The post title. */ + /* translators: 1: The number of comments, 2: The post title. */ _nx( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'twentythirteen' ), number_format_i18n( get_comments_number() ), '' . get_the_title() . '' diff --git a/src/wp-content/themes/twentytwelve/comments.php b/src/wp-content/themes/twentytwelve/comments.php index f78cb379af..39573d109e 100644 --- a/src/wp-content/themes/twentytwelve/comments.php +++ b/src/wp-content/themes/twentytwelve/comments.php @@ -37,7 +37,7 @@ if ( post_password_required() ) { ); } else { printf( - /* translators: %1$s: The number of comments. %2$s: The post title. */ + /* translators: 1: The number of comments, 2: The post title. */ _n( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'twentytwelve' ), number_format_i18n( get_comments_number() ), '' . get_the_title() . ''