Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (5 years 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/twentyeleven/content.php

    r45604 r45932  
    5555            <?php if ( is_object_in_taxonomy( get_post_type(), 'category' ) ) : // Hide category text when not supported ?>
    5656                <?php
    57                 /* translators: used between list items, there is a space after the comma */
     57                /* translators: Used between list items, there is a space after the comma. */
    5858                $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
    5959                if ( $categories_list ) :
     
    6161            <span class="cat-links">
    6262                    <?php
    63                     /* translators: 1: CSS classes, 2: category list */
     63                    /* translators: 1: CSS classes, 2: Category list. */
    6464                    printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
    6565                    $show_sep = true;
     
    7070            <?php if ( is_object_in_taxonomy( get_post_type(), 'post_tag' ) ) : // Hide tag text when not supported ?>
    7171                <?php
    72                 /* translators: used between list items, there is a space after the comma */
     72                /* translators: Used between list items, there is a space after the comma. */
    7373                $tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
    7474                if ( $tags_list ) :
     
    7979            <span class="tag-links">
    8080                    <?php
    81                     /* translators: 1: CSS classes, 2: tag list */
     81                    /* translators: 1: CSS classes, 2: Tag list. */
    8282                    printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
    8383                    $show_sep = true;
Note: See TracChangeset for help on using the changeset viewer.