From 4811dad603857a9d312fd61cb202a46384ca744e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 15 Jun 2021 15:38:57 +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. Built from https://develop.svn.wordpress.org/trunk@51157 git-svn-id: http://core.svn.wordpress.org/trunk@50766 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyeleven/404.php | 4 ++-- wp-content/themes/twentyeleven/comments.php | 2 +- wp-content/themes/twentyten/comments.php | 2 +- wp-content/themes/twentythirteen/comments.php | 2 +- wp-content/themes/twentytwelve/comments.php | 2 +- wp-includes/version.php | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-content/themes/twentyeleven/404.php b/wp-content/themes/twentyeleven/404.php index 8e2e05ed7b..2dc9998c1d 100644 --- a/wp-content/themes/twentyeleven/404.php +++ b/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/wp-content/themes/twentyeleven/comments.php b/wp-content/themes/twentyeleven/comments.php index 085598c03e..102899645d 100644 --- a/wp-content/themes/twentyeleven/comments.php +++ b/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/wp-content/themes/twentyten/comments.php b/wp-content/themes/twentyten/comments.php index a6fe78a41c..31425239d0 100644 --- a/wp-content/themes/twentyten/comments.php +++ b/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/wp-content/themes/twentythirteen/comments.php b/wp-content/themes/twentythirteen/comments.php index a01ba833c0..ce993196e9 100644 --- a/wp-content/themes/twentythirteen/comments.php +++ b/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/wp-content/themes/twentytwelve/comments.php b/wp-content/themes/twentytwelve/comments.php index f78cb379af..39573d109e 100644 --- a/wp-content/themes/twentytwelve/comments.php +++ b/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() . '' diff --git a/wp-includes/version.php b/wp-includes/version.php index 85af19b878..c73d2290df 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-beta1-51156'; +$wp_version = '5.8-beta1-51157'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.