Make WordPress Core


Ignore:
Timestamp:
07/05/2019 08:03:40 AM (5 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/twentyeleven/content.php

    r43571 r45604  
    6161            <span class="cat-links">
    6262                    <?php
     63                    /* translators: 1: CSS classes, 2: category list */
    6364                    printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
    6465                    $show_sep = true;
     
    7879            <span class="tag-links">
    7980                    <?php
     81                    /* translators: 1: CSS classes, 2: tag list */
    8082                    printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
    8183                    $show_sep = true;
Note: See TracChangeset for help on using the changeset viewer.