Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (7 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.php

    r45926 r45932  
    20122012                <span class="wp-playlist-item-meta wp-playlist-item-title">
    20132013                <?php
    2014                         /* translators: playlist item title */
     2014                        /* translators: %s: Playlist item title. */
    20152015                        printf( _x( '&#8220;%s&#8221;', 'playlist item title' ), '{{ data.title }}' );
    20162016                ?>
    … …  
    20292029                                <span class="wp-playlist-item-title">
    20302030                                <?php
    2031                                         /* translators: playlist item title */
     2031                                        /* translators: %s: Playlist item title. */
    20322032                                        printf( _x( '&#8220;%s&#8221;', 'playlist item title' ), '{{{ data.title }}}' );
    20332033                                ?>
    … …  
    37073707        foreach ( $months as $month_year ) {
    37083708                $month_year->text = sprintf(
    3709                         /* translators: 1: month, 2: year */
     3709                        /* translators: 1: Month, 2: Year. */
    37103710                        __( '%1$s %2$d' ),
    37113711                        $wp_locale->get_month( $month_year->month ),
    … …  
    38543854                'cropYourImage'               => __( 'Crop your image' ),
    38553855                'cropping'                    => __( 'Cropping&hellip;' ),
    3856                 /* translators: 1: suggested width number, 2: suggested height number. */
     3856                /* translators: 1: Suggested width number, 2: Suggested height number. */
    38573857                'suggestedDimensions'         => __( 'Suggested image dimensions: %1$s by %2$s pixels.' ),
    38583858                'cropError'                   => __( 'There has been an error cropping your image.' ),
Note: See TracChangeset for help on using the changeset viewer.