From 29d5ee851c6f5755f8cf8d0e163a986efd52a39d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 24 Oct 2017 22:47:46 +0000 Subject: [PATCH] I18N: Use a consistent pattern for translator comments for placeholders in some more Customizer strings. See #41974. Built from https://develop.svn.wordpress.org/trunk@42006 git-svn-id: http://core.svn.wordpress.org/trunk@41840 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/meta-boxes.php | 2 +- wp-admin/includes/theme.php | 2 +- wp-includes/class-wp-customize-manager.php | 6 +++--- wp-includes/customize/class-wp-customize-theme-control.php | 2 +- wp-includes/customize/class-wp-customize-themes-section.php | 2 +- wp-includes/script-loader.php | 2 +- wp-includes/version.php | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index dfc4cb90e8..605242df8e 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/wp-admin/includes/meta-boxes.php @@ -228,7 +228,7 @@ if ( $can_publish ) : // Contributors don't get to choose the date of publish ?>

unpublished customization changes. You can edit, but there’s no need to publish now. It will be published automatically with those changes.' ), esc_url( add_query_arg( diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php index 6670d026f6..41c4a8d3e4 100644 --- a/wp-admin/includes/theme.php +++ b/wp-admin/includes/theme.php @@ -659,7 +659,7 @@ function customize_themes_print_templates() { {{{ data.stars }}} diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index be3115f3ba..21760bad4f 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -4609,11 +4609,11 @@ final class WP_Customize_Manager { 'previewableDevices' => $this->get_previewable_devices(), 'l10n' => array( 'confirmDeleteTheme' => __( 'Are you sure you want to delete this theme?' ), - /* translators: %d is the number of theme search results, which cannot currently consider singular vs. plural forms */ + /* translators: %d: number of theme search results, which cannot currently consider singular vs. plural forms */ 'themeSearchResults' => __( '%d themes found' ), - /* translators: %d is the number of themes being displayed, which cannot currently consider singular vs. plural forms */ + /* translators: %d: number of themes being displayed, which cannot currently consider singular vs. plural forms */ 'announceThemeCount' => __( 'Displaying %d themes' ), - /* translators: %s is the theme name */ + /* translators: %s: theme name */ 'announceThemeDetails' => __( 'Showing details for theme: %s' ), ), ); diff --git a/wp-includes/customize/class-wp-customize-theme-control.php b/wp-includes/customize/class-wp-customize-theme-control.php index 7bcd278aa6..b80e93d194 100644 --- a/wp-includes/customize/class-wp-customize-theme-control.php +++ b/wp-includes/customize/class-wp-customize-theme-control.php @@ -91,7 +91,7 @@ class WP_Customize_Theme_Control extends WP_Customize_Control {

' . __( 'Update now' ) . '' ); ?>

diff --git a/wp-includes/customize/class-wp-customize-themes-section.php b/wp-includes/customize/class-wp-customize-themes-section.php index 40f5b38123..42796bf475 100644 --- a/wp-includes/customize/class-wp-customize-themes-section.php +++ b/wp-includes/customize/class-wp-customize-themes-section.php @@ -87,7 +87,7 @@ class WP_Customize_Themes_Section extends WP_Customize_Section {

%s', __( 'Search WordPress.org themes' ) ) ); diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index ad5a075e05..6c2312c397 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -594,7 +594,7 @@ function wp_default_scripts( &$scripts ) { 'scheduleDescription' => __( 'Schedule your customization changes to publish ("go live") at a future date.' ), 'themePreviewUnavailable' => __( 'Sorry, you can’t preview new themes when you have changes scheduled or saved as a draft. Please publish your changes, or wait until they publish to preview new themes.' ), 'themeInstallUnavailable' => sprintf( - /* translators: %s is URL to Add Themes admin screen */ + /* translators: %s: URL to Add Themes admin screen */ __( 'You won’t be able to install new themes from here yet since your install requires SFTP credentials. For now, please add themes in the admin.' ), esc_url( admin_url( 'theme-install.php' ) ) ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 6947459ef5..63df587a05 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-beta3-42005'; +$wp_version = '4.9-beta3-42006'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.