Make WordPress Core

Changeset 41747


Ignore:
Timestamp:
10/04/2017 07:34:12 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Customize: Improve the wording for Header Image control intro.

Props michelleweber, menakas, jcc9873, melchoyce.
Fixes #40431.

File:
1 edited

Legend:

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

    r41162 r41747  
    171171                <?php
    172172                if ( current_theme_supports( 'custom-header', 'video' ) ) {
    173                     _e( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, we recommend matching the size of your video.' );
     173                    _e( 'Click &#8220;Add new image&#8221; to upload an image file from your computer. Your theme works best with an image that matches the size of your video &#8212; you&#8217;ll be able to crop your image once you upload it for a perfect fit.' );
    174174                } elseif ( $width && $height ) {
    175175                    /* translators: %s: header size in pixels */
    176                     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.' ),
     176                    printf( __( 'Click &#8220;Add new image&#8221; to upload an image file from your computer. Your theme works best with an image with a header size of %s pixels &#8212; you&#8217;ll be able to crop your image once you upload it for a perfect fit.' ),
    177177                        sprintf( '<strong>%s &times; %s</strong>', $width, $height )
    178178                    );
    179179                } elseif ( $width ) {
    180180                    /* translators: %s: header width in pixels */
    181                     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.' ),
     181                    printf( __( 'Click &#8220;Add new image&#8221; to upload an image file from your computer. Your theme works best with an image with a header width of %s pixels &#8212; you&#8217;ll be able to crop your image once you upload it for a perfect fit.' ),
    182182                        sprintf( '<strong>%s</strong>', $width )
    183183                    );
    184184                } else {
    185185                    /* translators: %s: header height in pixels */
    186                     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.' ),
     186                    printf( __( 'Click &#8220;Add new image&#8221; to upload an image file from your computer. Your theme works best with an image with a header height of %s pixels &#8212; you&#8217;ll be able to crop your image once you upload it for a perfect fit.' ),
    187187                        sprintf( '<strong>%s</strong>', $height )
    188188                    );
Note: See TracChangeset for help on using the changeset viewer.