WordPress.org

Make WordPress Core


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

    r45930 r45932  
    200200            $month_text = $wp_locale->get_month_abbrev( $wp_locale->get_month( $i ) );
    201201
    202             /* translators: 1: month number (01, 02, etc.), 2: month abbreviation */
     202            /* translators: 1: Month number (01, 02, etc.), 2: Month abbreviation. */
    203203            $months[ $i ]['text']  = sprintf( __( '%1$s-%2$s' ), $i, $month_text );
    204204            $months[ $i ]['value'] = $i;
     
    234234
    235235                $timezone_info['description'] = sprintf(
    236                     /* translators: 1: timezone name, 2: timezone abbreviation, 3: UTC abbreviation and offset, 4: UTC offset */
     236                    /* translators: 1: Timezone name, 2: Timezone abbreviation, 3: UTC abbreviation and offset, 4: UTC offset. */
    237237                    __( 'Your timezone is set to %1$s (%2$s), currently %3$s (Coordinated Universal Time %4$s).' ),
    238238                    $tz_name,
     
    248248
    249249            $timezone_info['description'] = sprintf(
    250                 /* translators: 1: UTC abbreviation and offset, 2: UTC offset */
     250                /* translators: 1: UTC abbreviation and offset, 2: UTC offset. */
    251251                __( 'Your timezone is set to %1$s (Coordinated Universal Time %2$s).' ),
    252252                '<abbr>UTC</abbr>' . $formatted_gmt_offset,
Note: See TracChangeset for help on using the changeset viewer.