WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (7 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-content/themes/twentyfifteen/inc/template-tags.php

    r45581 r45932  
    129129        if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
    130130            echo '<span class="comments-link">';
    131             /* translators: %s: post title */
     131            /* translators: %s: Post title. */
    132132            comments_popup_link( sprintf( __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'twentyfifteen' ), get_the_title() ) );
    133133            echo '</span>';
     
    249249            '<a href="%1$s" class="more-link">%2$s</a>',
    250250            esc_url( get_permalink( get_the_ID() ) ),
    251             /* translators: %s: Name of current post */
     251            /* translators: %s: Post title. */
    252252            sprintf( __( 'Continue reading %s', 'twentyfifteen' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
    253253        );
Note: See TracChangeset for help on using the changeset viewer.