WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (3 months 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-includes/author-template.php

    r45926 r45932  
    232232            '<a href="%1$s" title="%2$s" rel="author external">%3$s</a>',
    233233            esc_url( get_the_author_meta( 'url' ) ),
    234             /* translators: %s: author's display name */
     234            /* translators: %s: Author's display name. */
    235235            esc_attr( sprintf( __( 'Visit %s&#8217;s website' ), get_the_author() ) ),
    236236            get_the_author()
     
    300300        '<a href="%1$s" title="%2$s" rel="author">%3$s</a>',
    301301        esc_url( get_author_posts_url( $authordata->ID, $authordata->user_nicename ) ),
    302         /* translators: %s: author's display name */
     302        /* translators: %s: Author's display name. */
    303303        esc_attr( sprintf( __( 'Posts by %s' ), get_the_author() ) ),
    304304        get_the_author()
     
    475475            '<a href="%1$s" title="%2$s">%3$s</a>',
    476476            get_author_posts_url( $author->ID, $author->user_nicename ),
    477             /* translators: %s: author's display name */
     477            /* translators: %s: Author's display name. */
    478478            esc_attr( sprintf( __( 'Posts by %s' ), $author->display_name ) ),
    479479            $name
Note: See TracChangeset for help on using the changeset viewer.