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

    r45599 r45932  
    132132                                $author = sanitize_email( $author );
    133133                                if ( is_email( $author ) ) {
    134                                         /* translators: Post author email address */
     134                                        /* translators: %s: Post author email address. */
    135135                                        echo '<p>' . sprintf( __( 'Author is %s' ), $author ) . '</p>';
    136136                                        $userdata = get_user_by( 'email', $author );
    … …  
    246246        if ( ! $pop3->delete( $i ) ) {
    247247                echo '<p>' . sprintf(
    248                         /* translators: %s: POP3 error */
     248                        /* translators: %s: POP3 error. */
    249249                        __( 'Oops: %s' ),
    250250                        esc_html( $pop3->ERROR )
    … …  
    254254        } else {
    255255                echo '<p>' . sprintf(
    256                         /* translators: %s: the message ID */
     256                        /* translators: %s: The message ID. */
    257257                        __( 'Mission complete. Message %s deleted.' ),
    258258                        '<strong>' . $i . '</strong>'
Note: See TracChangeset for help on using the changeset viewer.