From 8662d9a74d67669da86e2f5181f1f972229648e8 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 2 Sep 2019 00:43:55 +0000 Subject: [PATCH] I18N: Split translatable strings located on the same line preceded with a translator comment, where the first string needs that comment, but the second does not. Props johnbillion. See #44360. Built from https://develop.svn.wordpress.org/trunk@45927 git-svn-id: http://core.svn.wordpress.org/trunk@45738 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-footer.php | 8 ++++++-- wp-includes/customize/class-wp-customize-themes-panel.php | 7 +++++-- wp-includes/version.php | 2 +- wp-signup.php | 8 ++++++-- 4 files changed, 18 insertions(+), 7 deletions(-) diff --git a/wp-admin/admin-footer.php b/wp-admin/admin-footer.php index 0a77d3ac14..4c4c40a081 100644 --- a/wp-admin/admin-footer.php +++ b/wp-admin/admin-footer.php @@ -32,8 +32,12 @@ global $hook_suffix; ?>
' . __( 'Themes' ) . '' ); // Separate strings for consistency with other panels. + printf( + /* translators: %s: themes panel title in the Customizer */ + __( 'You are browsing %s' ), + '' . __( 'Themes' ) . '' + ); // Separate strings for consistency with other panels. ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index 1b24c001ef..8b6f0ac276 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45926'; +$wp_version = '5.3-alpha-45927'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-signup.php b/wp-signup.php index 362b6bacae..db8da21158 100644 --- a/wp-signup.php +++ b/wp-signup.php @@ -131,8 +131,12 @@ function show_blog_form( $blogname = '', $blog_title = '', $errors = '' ) { $site = __( 'domain' ) . '.' . $site_domain . $current_network->path; } - /* translators: %s: site address */ - echo '

(' . sprintf( __( 'Your address will be %s.' ), $site ) . ') ' . __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!' ) . '

'; + printf( + '

(%s) %s

', + /* translators: %s: site address */ + sprintf( __( 'Your address will be %s.' ), $site ), + __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!' ) + ); } // Blog Title