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
This commit is contained in:
parent
16b8d91baa
commit
8662d9a74d
|
@ -32,8 +32,12 @@ global $hook_suffix;
|
|||
?>
|
||||
<p id="footer-left" class="alignleft">
|
||||
<?php
|
||||
/* translators: %s: https://wordpress.org/ */
|
||||
$text = sprintf( __( 'Thank you for creating with <a href="%s">WordPress</a>.' ), __( 'https://wordpress.org/' ) );
|
||||
$text = sprintf(
|
||||
/* translators: %s: https://wordpress.org/ */
|
||||
__( 'Thank you for creating with <a href="%s">WordPress</a>.' ),
|
||||
__( 'https://wordpress.org/' )
|
||||
);
|
||||
|
||||
/**
|
||||
* Filters the "Thank you" text displayed in the admin footer.
|
||||
*
|
||||
|
|
|
@ -71,8 +71,11 @@ class WP_Customize_Themes_Panel extends WP_Customize_Panel {
|
|||
<div class="accordion-section-title">
|
||||
<span class="preview-notice">
|
||||
<?php
|
||||
/* translators: %s: themes panel title in the Customizer */
|
||||
echo sprintf( __( 'You are browsing %s' ), '<strong class="panel-title">' . __( 'Themes' ) . '</strong>' ); // Separate strings for consistency with other panels.
|
||||
printf(
|
||||
/* translators: %s: themes panel title in the Customizer */
|
||||
__( 'You are browsing %s' ),
|
||||
'<strong class="panel-title">' . __( 'Themes' ) . '</strong>'
|
||||
); // Separate strings for consistency with other panels.
|
||||
?>
|
||||
</span>
|
||||
<?php if ( current_user_can( 'install_themes' ) && ! is_multisite() ) : ?>
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -131,8 +131,12 @@ function show_blog_form( $blogname = '', $blog_title = '', $errors = '' ) {
|
|||
$site = __( 'domain' ) . '.' . $site_domain . $current_network->path;
|
||||
}
|
||||
|
||||
/* translators: %s: site address */
|
||||
echo '<p>(<strong>' . sprintf( __( 'Your address will be %s.' ), $site ) . '</strong>) ' . __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!' ) . '</p>';
|
||||
printf(
|
||||
'<p>(<strong>%s</strong>) %s</p>',
|
||||
/* 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
|
||||
|
|
Loading…
Reference in New Issue