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/includes/schema.php

    r45910 r45932  
    416416        'home'                            => $guessurl,
    417417        'blogname'                        => __( 'My Site' ),
    418         /* translators: site tagline */
     418        /* translators: Site tagline. */
    419419        'blogdescription'                 => __( 'Just another WordPress site' ),
    420420        'users_can_register'              => 0,
    421421        'admin_email'                     => 'you@example.com',
    422         /* translators: default start of the week. 0 = Sunday, 1 = Monday */
     422        /* translators: Default start of the week. 0 = Sunday, 1 = Monday. */
    423423        'start_of_week'                   => _x( '1', 'start of week' ),
    424424        'use_balanceTags'                 => 0,
     
    437437        'default_pingback_flag'           => 1,
    438438        'posts_per_page'                  => 10,
    439         /* translators: default date format, see https://secure.php.net/date */
     439        /* translators: Default date format, see https://secure.php.net/date */
    440440        'date_format'                     => __( 'F j, Y' ),
    441         /* translators: default time format, see https://secure.php.net/date */
     441        /* translators: Default time format, see https://secure.php.net/date */
    442442        'time_format'                     => __( 'g:i a' ),
    443         /* translators: links last updated date format, see https://secure.php.net/date */
     443        /* translators: Links last updated date format, see https://secure.php.net/date */
    444444        'links_updated_date_format'       => __( 'F j, Y g:i a' ),
    445445        'comment_moderation'              => 0,
     
    557557    // 3.0 multisite
    558558    if ( is_multisite() ) {
    559         /* translators: site tagline */
     559        /* translators: %s: Network title. */
    560560        $defaults['blogdescription']     = sprintf( __( 'Just another %s site' ), get_network()->site_name );
    561561        $defaults['permalink_structure'] = '/%year%/%monthnum%/%day%/%postname%/';
     
    10861086
    10871087            $msg .= '<p>' . sprintf(
    1088                 /* translators: %s: host name */
     1088                /* translators: %s: Host name. */
    10891089                __( 'The installer attempted to contact a random hostname (%s) on your domain.' ),
    10901090                '<code>' . $hostname . '</code>'
    10911091            );
    10921092            if ( ! empty( $errstr ) ) {
    1093                 /* translators: %s: error message */
     1093                /* translators: %s: Error message. */
    10941094                $msg .= ' ' . sprintf( __( 'This resulted in an error message: %s' ), '<code>' . $errstr . '</code>' );
    10951095            }
     
    10971097
    10981098            $msg .= '<p>' . sprintf(
    1099                 /* translators: %s: asterisk symbol (*) */
     1099                /* translators: %s: Asterisk symbol (*). */
    11001100                __( 'To use a subdomain configuration, you must have a wildcard entry in your DNS. This usually means adding a %s hostname record pointing at your web server in your DNS configuration tool.' ),
    11011101                '<code>*</code>'
     
    12501250        'wpmu_upgrade_site'           => $wp_db_version,
    12511251        'welcome_email'               => $welcome_email,
    1252         /* translators: %s: site link */
     1252        /* translators: %s: Site link. */
    12531253        'first_post'                  => __( 'Welcome to %s. This is your first post. Edit or delete it, then start writing!' ),
    12541254        // @todo - network admins should have a method of editing the network siteurl (used for cookie hash)
Note: See TracChangeset for help on using the changeset viewer.