WordPress.org

Make WordPress Core


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

    r43571 r45604  
    3636            $tag_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
    3737        if ( '' != $tag_list ) {
     38            /* translators: 1: category list, 2: tag list, 3: post permalink, 4: post title */
    3839            $utility_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
    3940        } else {
     41            /* translators: 1: category list, 3: post permalink, 4: post title */
    4042            $utility_text = __( 'This entry was posted in %1$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
    4143        }
Note: See TracChangeset for help on using the changeset viewer.