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/media-template.php

    r45926 r45932  
    164164
    165165    $alt_text_description = sprintf(
    166         /* translators: 1: link to tutorial, 2: additional link attributes, 3: accessibility text */
     166        /* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text. */
    167167        __( '<a href="%1$s" %2$s>Describe the purpose of the image%3$s</a>. Leave empty if the image is purely decorative.' ),
    168168        esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ),
     
    170170        sprintf(
    171171            '<span class="screen-reader-text"> %s</span>',
    172             /* translators: accessibility text */
     172            /* translators: Accessibility text. */
    173173            __( '(opens in a new tab)' )
    174174        )
     
    276276                <?php
    277277                    printf(
    278                         /* translators: %s: maximum allowed file size */
     278                        /* translators: %s: Maximum allowed file size. */
    279279                        __( 'Maximum upload file size: %s.' ),
    280280                        esc_html( size_format( $max_upload_size ) )
     
    286286                    <p class="suggested-dimensions">
    287287                        <?php
    288                             /* translators: 1: suggested width number, 2: suggested height number. */
     288                            /* translators: 1: Suggested width number, 2: Suggested height number. */
    289289                            printf( __( 'Suggested image dimensions: %1$s by %2$s pixels.' ), '{{data.suggestedWidth}}', '{{data.suggestedHeight}}' );
    290290                        ?>
     
    408408                        <div class="dimensions"><strong><?php _e( 'Dimensions:' ); ?></strong>
    409409                            <?php
    410                             /* translators: 1: a number of pixels wide, 2: a number of pixels tall. */
     410                            /* translators: 1: A number of pixels wide, 2: A number of pixels tall. */
    411411                            printf( __( '%1$s by %2$s pixels' ), '{{ data.width }}', '{{ data.height }}' );
    412412                            ?>
     
    598598                        <div class="dimensions">
    599599                            <?php
    600                             /* translators: 1: a number of pixels wide, 2: a number of pixels tall. */
     600                            /* translators: 1: A number of pixels wide, 2: A number of pixels tall. */
    601601                            printf( __( '%1$s by %2$s pixels' ), '{{ data.width }}', '{{ data.height }}' );
    602602                            ?>
Note: See TracChangeset for help on using the changeset viewer.