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

    r45926 r45932  
    6262    $login_title = get_bloginfo( 'name', 'display' );
    6363
    64     /* translators: Login screen title. 1: Login screen name, 2: Network or site name */
     64    /* translators: Login screen title. 1: Login screen name, 2: Network or site name. */
    6565    $login_title = sprintf( __( '%1$s ‹ %2$s — WordPress' ), $title, $login_title );
    6666
     
    278278        <?php
    279279
    280         /* translators: %s: site title */
     280        /* translators: %s: Site title. */
    281281        printf( _x( '&larr; Back to %s', 'site' ), get_bloginfo( 'title', 'display' ) );
    282282
     
    406406
    407407    $message = __( 'Someone has requested a password reset for the following account:' ) . "\r\n\r\n";
    408     /* translators: %s: site name */
     408    /* translators: %s: Site name. */
    409409    $message .= sprintf( __( 'Site Name: %s' ), $site_name ) . "\r\n\r\n";
    410     /* translators: %s: user login */
     410    /* translators: %s: User login. */
    411411    $message .= sprintf( __( 'Username: %s' ), $user_login ) . "\r\n\r\n";
    412412    $message .= __( 'If this was a mistake, just ignore this email and nothing will happen.' ) . "\r\n\r\n";
     
    414414    $message .= '<' . network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . ">\r\n";
    415415
    416     /* translators: Password reset notification email subject. %s: Site title */
     416    /* translators: Password reset notification email subject. %s: Site title. */
    417417    $title = sprintf( __( '[%s] Password Reset' ), $site_name );
    418418
     
    448448            'retrieve_password_email_failure',
    449449            sprintf(
    450                 /* translators: %s: Documentation URL */
     450                /* translators: %s: Documentation URL. */
    451451                __( '<strong>ERROR</strong>: The email could not be sent. Your site may not be correctly configured to send emails. <a href="%s">Get support for resetting your password</a>.' ),
    452452                esc_url( __( 'https://wordpress.org/support/article/resetting-your-password/' ) )
     
    653653
    654654                printf(
    655                     /* translators: %s: admin email address */
     655                    /* translators: %s: Admin email address. */
    656656                    __( 'Current administration email: %s' ),
    657657                    '<strong>' . esc_html( $admin_email ) . '</strong>'
     
    11811181                    'test_cookie',
    11821182                    sprintf(
    1183                         /* translators: 1: Browser cookie documentation URL, 2: Support forums URL */
     1183                        /* translators: 1: Browser cookie documentation URL, 2: Support forums URL. */
    11841184                        __( '<strong>ERROR</strong>: Cookies are blocked due to unexpected output. For help, please see <a href="%1$s">this documentation</a> or try the <a href="%2$s">support forums</a>.' ),
    11851185                        __( 'https://wordpress.org/support/article/cookies/' ),
     
    11921192                    'test_cookie',
    11931193                    sprintf(
    1194                         /* translators: %s: Browser cookie documentation URL */
     1194                        /* translators: %s: Browser cookie documentation URL. */
    11951195                        __( '<strong>ERROR</strong>: Cookies are blocked or not supported by your browser. You must <a href="%s">enable cookies</a> to use WordPress.' ),
    11961196                        __( 'https://wordpress.org/support/article/cookies/#enable-cookies-in-your-browser' )
Note: See TracChangeset for help on using the changeset viewer.