WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (6 weeks 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/twentynineteen/inc/template-tags.php

    r45383 r45932  
    4141    function twentynineteen_posted_by() {
    4242        printf(
    43             /* translators: 1: SVG icon. 2: post author, only visible to screen readers. 3: author link. */
     43            /* translators: 1: SVG icon. 2: Post author, only visible to screen readers. 3: Author link. */
    4444            '<span class="byline">%1$s<span class="screen-reader-text">%2$s</span><span class="author vcard"><a class="url fn n" href="%3$s">%4$s</a></span></span>',
    4545            twentynineteen_get_icon_svg( 'person', 16 ),
     
    6060            echo twentynineteen_get_icon_svg( 'comment', 16 );
    6161
    62             /* translators: %s: Name of current post. Only visible to screen readers. */
     62            /* translators: %s: Post title. Only visible to screen readers. */
    6363            comments_popup_link( sprintf( __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'twentynineteen' ), get_the_title() ) );
    6464
     
    8383            twentynineteen_posted_on();
    8484
    85             /* translators: used between list items, there is a space after the comma. */
     85            /* translators: Used between list items, there is a space after the comma. */
    8686            $categories_list = get_the_category_list( __( ', ', 'twentynineteen' ) );
    8787            if ( $categories_list ) {
    8888                printf(
    89                     /* translators: 1: SVG icon. 2: posted in label, only visible to screen readers. 3: list of categories. */
     89                    /* translators: 1: SVG icon. 2: Posted in label, only visible to screen readers. 3: List of categories. */
    9090                    '<span class="cat-links">%1$s<span class="screen-reader-text">%2$s</span>%3$s</span>',
    9191                    twentynineteen_get_icon_svg( 'archive', 16 ),
     
    9595            }
    9696
    97             /* translators: used between list items, there is a space after the comma. */
     97            /* translators: Used between list items, there is a space after the comma. */
    9898            $tags_list = get_the_tag_list( '', __( ', ', 'twentynineteen' ) );
    9999            if ( $tags_list ) {
    100100                printf(
    101                     /* translators: 1: SVG icon. 2: posted in label, only visible to screen readers. 3: list of tags. */
     101                    /* translators: 1: SVG icon. 2: Posted in label, only visible to screen readers. 3: List of tags. */
    102102                    '<span class="tags-links">%1$s<span class="screen-reader-text">%2$s </span>%3$s</span>',
    103103                    twentynineteen_get_icon_svg( 'tag', 16 ),
     
    117117            sprintf(
    118118                wp_kses(
    119                     /* translators: %s: Name of current post. Only visible to screen readers. */
     119                    /* translators: %s: Post title. Only visible to screen readers. */
    120120                    __( 'Edit <span class="screen-reader-text">%s</span>', 'twentynineteen' ),
    121121                    array(
Note: See TracChangeset for help on using the changeset viewer.