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
This commit is contained in:
parent
f156f90ff5
commit
29d5ee851c
|
@ -228,7 +228,7 @@ if ( $can_publish ) : // Contributors don't get to choose the date of publish ?>
|
|||
<p>
|
||||
<?php
|
||||
echo sprintf(
|
||||
/* translators: %s is the URL to the Customizer */
|
||||
/* translators: %s: URL to the Customizer */
|
||||
__( 'This draft comes from your <a href="%s">unpublished customization changes</a>. You can edit, but there’s no need to publish now. It will be published automatically with those changes.' ),
|
||||
esc_url(
|
||||
add_query_arg(
|
||||
|
|
|
@ -659,7 +659,7 @@ function customize_themes_print_templates() {
|
|||
{{{ data.stars }}}
|
||||
<span class="num-ratings">
|
||||
<?php
|
||||
/* translators: %s is the number of ratings */
|
||||
/* translators: %s: number of ratings */
|
||||
echo sprintf( __( '(%s ratings)' ), '{{ data.num_ratings }}' );
|
||||
?>
|
||||
</span>
|
||||
|
|
|
@ -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' ),
|
||||
),
|
||||
);
|
||||
|
|
|
@ -91,7 +91,7 @@ class WP_Customize_Theme_Control extends WP_Customize_Control {
|
|||
<div class="update-message notice inline notice-warning notice-alt" data-slug="{{ data.theme.id }}">
|
||||
<p>
|
||||
<?php
|
||||
/* translators: %s is the linked update now button */
|
||||
/* translators: %s: "Update now" button */
|
||||
printf( __( 'New version available. %s' ), '<button class="button-link update-theme" type="button">' . __( 'Update now' ) . '</button>' );
|
||||
?>
|
||||
</p>
|
||||
|
|
|
@ -87,7 +87,7 @@ class WP_Customize_Themes_Section extends WP_Customize_Section {
|
|||
<p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
|
||||
<p class="no-themes-local">
|
||||
<?php
|
||||
/* translators: %s is the string, "search WordPress.org themes" */
|
||||
/* translators: %s: "Search WordPress.org themes" button */
|
||||
printf( __( 'No themes found. Try a different search, or %s.' ),
|
||||
sprintf( '<button type="button" class="button-link search-dotorg-themes">%s</button>', __( 'Search WordPress.org themes' ) )
|
||||
);
|
||||
|
|
|
@ -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 <a href="%s">add themes in the admin</a>.' ),
|
||||
esc_url( admin_url( 'theme-install.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.
|
||||
|
|
Loading…
Reference in New Issue