Make WordPress Core


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

    r45604 r45932  
    5050        if ( ! is_singular() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
    5151            echo '<span class="comments-link">';
    52             /* translators: %s: Name of current post */
     52            /* translators: %s: Post title. */
    5353            comments_popup_link( sprintf( __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'twentysixteen' ), get_the_title() ) );
    5454            echo '</span>';
     
    192192            '<a href="%1$s" class="more-link">%2$s</a>',
    193193            esc_url( get_permalink( get_the_ID() ) ),
    194             /* translators: %s: Name of current post */
     194            /* translators: %s: Post title. */
    195195            sprintf( __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ), get_the_title( get_the_ID() ) )
    196196        );
Note: See TracChangeset for help on using the changeset viewer.