Make WordPress Core


Ignore:
Timestamp:
07/05/2019 08:03:40 AM (7 years ago)
Author:
pento
Message:

Coding Standards: Add missing translator comments.

Twentys Eleven, Sixteen, and Seventeen now have translator comments for all their strings.

Also, WPCS now doesn't show missing translator comment warnings for test files.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentysixteen/inc/template-tags.php

    r45581 r45604  
    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 */
    5253            comments_popup_link( sprintf( __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'twentysixteen' ), get_the_title() ) );
    5354            echo '</span>';
Note: See TracChangeset for help on using the changeset viewer.