WordPress.org

Make WordPress Core


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

    r45930 r45932  
    1919$title       = __( 'General Settings' );
    2020$parent_file = 'options-general.php';
    21 /* translators: date and time format for exact current time, mainly about timezones, see https://secure.php.net/date */
     21/* translators: Date and time format for exact current time, mainly about timezones, see https://secure.php.net/date */
    2222$timezone_format = _x( 'Y-m-d H:i:s', 'timezone date format' );
    2323
     
    9696        <?php
    9797        printf(
    98             /* translators: %s: Documentation URL */
     98            /* translators: %s: Documentation URL. */
    9999            __( 'Enter the address here if you <a href="%s">want your site home page to be different from your WordPress installation directory</a>.' ),
    100100            __( 'https://wordpress.org/support/article/giving-wordpress-its-own-directory/' )
     
    120120    <?php
    121121        printf(
    122             /* translators: %s: new admin email */
     122            /* translators: %s: New admin email. */
    123123            __( 'There is a pending change of the admin email to %s.' ),
    124124            '<code>' . esc_html( $new_admin_email ) . '</code>'
     
    243243    <?php
    244244        printf(
    245             /* translators: 1: UTC time */
    246             __( 'Universal time is %1$s.' ),
     245            /* translators: %s: UTC time. */
     246            __( 'Universal time is %s.' ),
    247247            '<code>' . date_i18n( $timezone_format, false, true ) . '</code>'
    248248        );
     
    253253    <?php
    254254        printf(
    255             /* translators: %s: local time */
     255            /* translators: %s: Local time. */
    256256            __( 'Local time is %s.' ),
    257257            '<code>' . date_i18n( $timezone_format ) . '</code>'
     
    294294            echo ' ';
    295295            $message = $tr['isdst'] ?
    296                 /* translators: %s: date and time */
     296                /* translators: %s: Date and time. */
    297297                __( 'Daylight saving time begins on: %s.' ) :
    298                 /* translators: %s: date and time */
     298                /* translators: %s: Date and time. */
    299299                __( 'Standard time begins on: %s.' );
    300300            // Add the difference between the current offset and the new offset to ts to get the correct transition time from date_i18n().
Note: See TracChangeset for help on using the changeset viewer.