[wp-trac] [WordPress Trac] #27738: Customizer: Make header image strings ready for translation
WordPress Trac
noreply at wordpress.org
Wed Apr 9 18:30:52 UTC 2014
#27738: Customizer: Make header image strings ready for translation
--------------------------+-------------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: Appearance | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-------------------------
Related: #21785
[source:trunk/src/wp-includes/class-wp-customize-control.php at 27985#L855]
{{{
<?php
// @todo translate (and look to custom-header.php for inspiration)
echo ( 'Personalize your site with your own header image.' ) . ' ';
if ( $width && $height ) {
printf( ( 'While you can crop images to your liking after clicking
<strong>Add new</strong>, your theme recommends a header size of
<strong>%d × %d</strong> pixels.' ), $width, $height );
} elseif ( $width ) {
printf( ( 'While you can crop images to your liking after clicking
<strong>Add new</strong>, your theme recommends a header width of
<strong>%d</strong> pixels.' ), $width );
} else {
printf( ( 'While you can crop images to your liking after clicking
<strong>Add new</strong>, your theme recommends a header height of
<strong>%d</strong> pixels.' ), $height );
}
?>
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27738>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list