mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-07 08:01:54 +01:00
I18N: Remove <strong>
tags from translatable strings in wp-admin/custom-header.php
.
Add translator comments. Props ramiy. Fixes #35675. Built from https://develop.svn.wordpress.org/trunk@36658 git-svn-id: http://core.svn.wordpress.org/trunk@36625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9cb7cab875
commit
f9a4120299
@ -526,16 +526,48 @@ class Custom_Image_Header {
|
||||
printf( __( 'Images of exactly <strong>%1$d × %2$d pixels</strong> will be used as-is.' ) . '<br />', get_theme_support( 'custom-header', 'width' ), get_theme_support( 'custom-header', 'height' ) );
|
||||
} elseif ( current_theme_supports( 'custom-header', 'flex-height' ) ) {
|
||||
if ( ! current_theme_supports( 'custom-header', 'flex-width' ) )
|
||||
printf( __( 'Images should be at least <strong>%1$d pixels</strong> wide.' ) . ' ', get_theme_support( 'custom-header', 'width' ) );
|
||||
printf(
|
||||
/* translators: %s: size in pixels */
|
||||
__( 'Images should be at least %s wide.' ) . ' ',
|
||||
sprintf(
|
||||
/* translators: %d: custom header width */
|
||||
'<strong>' . __( '%d pixels' ) . '</strong>',
|
||||
get_theme_support( 'custom-header', 'width' )
|
||||
)
|
||||
);
|
||||
} elseif ( current_theme_supports( 'custom-header', 'flex-width' ) ) {
|
||||
if ( ! current_theme_supports( 'custom-header', 'flex-height' ) )
|
||||
printf( __( 'Images should be at least <strong>%1$d pixels</strong> tall.' ) . ' ', get_theme_support( 'custom-header', 'height' ) );
|
||||
printf(
|
||||
/* translators: %s: size in pixels */
|
||||
__( 'Images should be at least %s tall.' ) . ' ',
|
||||
sprintf(
|
||||
/* translators: %d: custom header height */
|
||||
'<strong>' . __( '%d pixels' ) . '</strong>',
|
||||
get_theme_support( 'custom-header', 'height' )
|
||||
)
|
||||
);
|
||||
}
|
||||
if ( current_theme_supports( 'custom-header', 'flex-height' ) || current_theme_supports( 'custom-header', 'flex-width' ) ) {
|
||||
if ( current_theme_supports( 'custom-header', 'width' ) )
|
||||
printf( __( 'Suggested width is <strong>%1$d pixels</strong>.' ) . ' ', get_theme_support( 'custom-header', 'width' ) );
|
||||
printf(
|
||||
/* translators: %s: size in pixels */
|
||||
__( 'Suggested width is %s.' ) . ' ',
|
||||
sprintf(
|
||||
/* translators: %d: custom header width */
|
||||
'<strong>' . __( '%d pixels' ) . '</strong>',
|
||||
get_theme_support( 'custom-header', 'width' )
|
||||
)
|
||||
);
|
||||
if ( current_theme_supports( 'custom-header', 'height' ) )
|
||||
printf( __( 'Suggested height is <strong>%1$d pixels</strong>.' ) . ' ', get_theme_support( 'custom-header', 'height' ) );
|
||||
printf(
|
||||
/* translators: %s: size in pixels */
|
||||
__( 'Suggested height is %s.' ) . ' ',
|
||||
sprintf(
|
||||
/* translators: %d: custom header height */
|
||||
'<strong>' . __( '%d pixels' ) . '</strong>',
|
||||
get_theme_support( 'custom-header', 'height' )
|
||||
)
|
||||
);
|
||||
}
|
||||
?></p>
|
||||
<form enctype="multipart/form-data" id="upload-form" class="wp-upload-form" method="post" action="<?php echo esc_url( add_query_arg( 'step', 2 ) ) ?>">
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-alpha-36657';
|
||||
$wp_version = '4.5-alpha-36658';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user