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

    r45675 r45932  
    4242                <?php
    4343                    printf(
    44                         /* translators: 1: the permalink, 2: date and time, 3: date and time, 4: author link, 5: author link title, 6: author display name */
     44                        /* translators: 1: The permalink, 2: Date and time, 3: Date and time, 4: Author link, 5: Author link title, 6: Author display name. */
    4545                        __( '<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span></span>', 'twentyeleven' ),
    4646                        esc_url( get_permalink() ),
     
    4848                        get_the_date(),
    4949                        esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    50                         /* translators: %s: author display name */
     50                        /* translators: %s: Author display name. */
    5151                        esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ),
    5252                        get_the_author()
     
    5656            <div class="entry-meta">
    5757                <?php
    58                     /* translators: used between list items, there is a space after the comma */
     58                    /* translators: Used between list items, there is a space after the comma. */
    5959                    $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
    6060                if ( $categories_list ) :
     
    6262                <span class="cat-links">
    6363                    <?php
    64                     /* translators: 1: CSS classes, 2: category list */
     64                    /* translators: 1: CSS classes, 2: Category list. */
    6565                    printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
    6666                    ?>
     
    6868                <?php endif; // End if categories ?>
    6969                <?php
    70                     /* translators: used between list items, there is a space after the comma */
     70                    /* translators: Used between list items, there is a space after the comma. */
    7171                    $tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
    7272                if ( $tags_list ) :
     
    7474                <span class="tag-links">
    7575                    <?php
    76                     /* translators: 1: CSS classes, 2: tag list */
     76                    /* translators: 1: CSS classes, 2: Tag list. */
    7777                    printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
    7878                    ?>
Note: See TracChangeset for help on using the changeset viewer.