Changeset 27620 for trunk/src/wp-includes/class-wp-customize-control.php
- Timestamp:
- 03/19/2014 08:17:08 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-control.php
r27497 r27620 749 749 'remove' => wp_create_nonce( 'header-remove' ), 750 750 ), 751 'l10n' => array(752 /* translators: header images uploaded by user */753 'uploaded' => __( 'uploaded' ),754 /* translators: header images suggested by the current theme */755 'default' => __( 'suggested' )756 ),757 751 'uploads' => $this->uploaded_headers, 758 752 'defaults' => $this->default_headers … … 973 967 <div class="customize-control-content"> 974 968 <p class="customizer-section-intro"> 975 <?php _e( 'Personalize your site with your own header image.' ); ?>976 969 <?php 970 // @todo translate (and look to custom-header.php for inspiration) 971 echo ( 'Personalize your site with your own header image.' ); 977 972 if ( $width && $height ) { 978 printf( __( 'While you can crop images to your liking after clicking <strong>%s</strong>, your theme recommends a header size of <strong>%dx%d</strong> pixels.' ), 979 _x( 'Add new', 'header image' ), $width, $height ); 973 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 ); 974 } elseif ( $width ) { 975 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 ); 980 976 } else { 981 if ( $width ) { 982 printf( __( 'While you can crop images to your liking after clicking <strong>%s</strong>, your theme recommends a header width of <strong>%d</strong> pixels.' ), 983 _x( 'Add new', 'header image' ), $width ); 984 } 985 if ( $height ) { 986 printf( __( 'While you can crop images to your liking after clicking <strong>%s</strong>, your theme recommends a header height of <strong>%d</strong> pixels.' ), 987 _x( 'Add new', 'header image' ), $height ); 988 } 977 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 ); 989 978 } 990 979 ?>
Note: See TracChangeset
for help on using the changeset viewer.