Make WordPress Core


Ignore:
Timestamp:
12/14/2015 12:53:37 PM (9 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-customize-header-image-control.php

    r35389 r35923  
    177177                <?php
    178178                if ( $width && $height ) {
    179                     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 &times; %s</strong> pixels.' ), $width, $height );
     179                    /* translators: %s: header size in pixels */
     180                    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.' ),
     181                        sprintf( '<strong>%s &times; %s</strong>', $width, $height )
     182                    );
    180183                } elseif ( $width ) {
    181                     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 );
     184                    /* translators: %s: header width in pixels */
     185                    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.' ),
     186                        sprintf( '<strong>%s</strong>', $width )
     187                    );
    182188                } else {
    183                     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 );
     189                    /* translators: %s: header height in pixels */
     190                    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.' ),
     191                        sprintf( '<strong>%s</strong>', $height )
     192                    );
    184193                }
    185194                ?>
Note: See TracChangeset for help on using the changeset viewer.