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/image.php

    r43571 r45604  
    3232                                    $metadata = wp_get_attachment_metadata();
    3333                                    printf(
     34                                        /* translators: 1: time, 2: date, 3: image permalink, 4: image width, 5: image height, 6: parent permalink, 7: parent post title, 8: parent post title */
    3435                                        __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><abbr class="published" title="%1$s">%2$s</abbr></span> at <a href="%3$s" title="Link to full-size image">%4$s &times; %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%8$s</a>', 'twentyeleven' ),
    3536                                        esc_attr( get_the_time() ),
Note: See TracChangeset for help on using the changeset viewer.