Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (5 years ago)
Author:
SergeyBiryukov
Message:

I18N: Capitalize translator comments consistently, add trailing punctuation.

Includes minor code layout fixes.

See #44360.

File:
1 edited

Legend:

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

    r44600 r45932  
    204204                } elseif ( $width && $height ) {
    205205                    printf(
    206                         /* translators: %s: header size in pixels */
     206                        /* translators: %s: Header size in pixels. */
    207207                        __( 'Click “Add new image” to upload an image file from your computer. Your theme works best with an image with a header size of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ),
    208208                        sprintf( '<strong>%s &times; %s</strong>', $width, $height )
     
    210210                } elseif ( $width ) {
    211211                    printf(
    212                         /* translators: %s: header width in pixels */
     212                        /* translators: %s: Header width in pixels. */
    213213                        __( '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.' ),
    214214                        sprintf( '<strong>%s</strong>', $width )
     
    216216                } else {
    217217                    printf(
    218                         /* translators: %s: header height in pixels */
     218                        /* translators: %s: Header height in pixels. */
    219219                        __( '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.' ),
    220220                        sprintf( '<strong>%s</strong>', $height )
Note: See TracChangeset for help on using the changeset viewer.