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-activate.php

    r44574 r45932  
    145145            if ( $signup->domain . $signup->path == '' ) {
    146146                printf(
    147                     /* translators: 1: login URL, 2: username, 3: user email, 4: lost password URL */
     147                    /* translators: 1: Login URL, 2: Username, 3: User email address, 4: Lost password URL. */
    148148                    __( 'Your account has been activated. You may now <a href="%1$s">log in</a> to the site using your chosen username of &#8220;%2$s&#8221;. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
    149149                    network_site_url( 'wp-login.php', 'login' ),
     
    154154            } else {
    155155                printf(
    156                     /* translators: 1: site URL, 2: username, 3: user email, 4: lost password URL */
     156                    /* translators: 1: Site URL, 2: Username, 3: User email address, 4: Lost password URL. */
    157157                    __( 'Your site at %1$s is active. You may now log in to your site using your chosen username of &#8220;%2$s&#8221;. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
    158158                    sprintf( '<a href="http://%1$s">%1$s</a>', $signup->domain ),
     
    189189                <p class="view">
    190190                <?php
    191                     /* translators: 1: site URL, 2: login URL */
     191                    /* translators: 1: Site URL, 2: Login URL. */
    192192                    printf( __( 'Your account is now activated. <a href="%1$s">View your site</a> or <a href="%2$s">Log in</a>' ), $url, esc_url( $login_url ) );
    193193                ?>
     
    196196                <p class="view">
    197197                <?php
    198                     /* translators: 1: login URL, 2: network home URL */
     198                    /* translators: 1: Login URL, 2: Network home URL. */
    199199                    printf( __( 'Your account is now activated. <a href="%1$s">Log in</a> or go back to the <a href="%2$s">homepage</a>.' ), network_site_url( 'wp-login.php', 'login' ), network_home_url() );
    200200                ?>
Note: See TracChangeset for help on using the changeset viewer.