Make WordPress Core


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

    r45926 r45932  
    3131        $title = __( 'Profile' );
    3232} else {
    33         /* translators: %s: user's display name */
     33        /* translators: %s: User's display name. */
    3434        $title = __( 'Edit User %s' );
    3535}
     
    343343        <tr class="user-language-wrap">
    344344                <th scope="row">
    345                         <?php /* translators: The user language selection field label */ ?>
     345                        <?php /* translators: The user language selection field label. */ ?>
    346346                        <label for="locale"><?php _e( 'Language' ); ?><span class="dashicons dashicons-translation" aria-hidden="true"></span></label>
    347347                </th>
     
    519519                        <?php
    520520                        printf(
    521                                 /* translators: %s: new email */
     521                                /* translators: %s: New email. */
    522522                                __( 'There is a pending change of your email to %s.' ),
    523523                                '<code>' . esc_html( $new_email['newemail'] ) . '</code>'
     
    584584                        if ( IS_PROFILE_PAGE ) {
    585585                                $description = sprintf(
    586                                         /* translators: %s: Gravatar URL */
     586                                        /* translators: %s: Gravatar URL. */
    587587                                        __( '<a href="%s">You can change your profile picture on Gravatar</a>.' ),
    588588                                        __( 'https://en.gravatar.com/' )
     
    694694                        <p class="description">
    695695                                <?php
    696                                 /* translators: %s: user's display name */
     696                                /* translators: %s: User's display name. */
    697697                                printf( __( 'Log %s out of all locations.' ), $profileuser->display_name );
    698698                                ?>
     
    761761                                                $output .= $value;
    762762                                        } else {
    763                                                 /* translators: %s: capability name */
     763                                                /* translators: %s: Capability name. */
    764764                                                $output .= sprintf( __( 'Denied: %s' ), $cap );
    765765                                        }
Note: See TracChangeset for help on using the changeset viewer.