I18N: Remove `<strong>` tags from translatable strings in `WP_Customize_Manager::register_controls()` and `WP_Customize_Header_Image_Control::render_content()`.
Add translator comments. See #35039. Built from https://develop.svn.wordpress.org/trunk@35923 git-svn-id: http://core.svn.wordpress.org/trunk@35887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ca7a95df36
commit
d0b7dd489e
|
@ -1855,7 +1855,11 @@ final class WP_Customize_Manager {
|
|||
|
||||
$this->add_control( new WP_Customize_Site_Icon_Control( $this, 'site_icon', array(
|
||||
'label' => __( 'Site Icon' ),
|
||||
'description' => __( 'The Site Icon is used as a browser and app icon for your site. Icons must be square, and at least <strong>512</strong> pixels wide and tall.' ),
|
||||
'description' => sprintf(
|
||||
/* translators: %s: site icon size in pixels */
|
||||
__( 'The Site Icon is used as a browser and app icon for your site. Icons must be square, and at least %s pixels wide and tall.' ),
|
||||
'<strong>512</strong>'
|
||||
),
|
||||
'section' => 'title_tagline',
|
||||
'priority' => 60,
|
||||
'height' => 512,
|
||||
|
|
|
@ -176,11 +176,20 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {
|
|||
<p class="customizer-section-intro">
|
||||
<?php
|
||||
if ( $width && $height ) {
|
||||
printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header size of <strong>%s × %s</strong> pixels.' ), $width, $height );
|
||||
/* translators: %s: header size in pixels */
|
||||
printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header size of %s pixels.' ),
|
||||
sprintf( '<strong>%s × %s</strong>', $width, $height )
|
||||
);
|
||||
} elseif ( $width ) {
|
||||
printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header width of <strong>%s</strong> pixels.' ), $width );
|
||||
/* translators: %s: header width in pixels */
|
||||
printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header width of %s pixels.' ),
|
||||
sprintf( '<strong>%s</strong>', $width )
|
||||
);
|
||||
} else {
|
||||
printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header height of <strong>%s</strong> pixels.' ), $height );
|
||||
/* translators: %s: header height in pixels */
|
||||
printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header height of %s pixels.' ),
|
||||
sprintf( '<strong>%s</strong>', $height )
|
||||
);
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-alpha-35922';
|
||||
$wp_version = '4.5-alpha-35923';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue