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

    r45675 r45932  
    4747                    <?php
    4848                    printf(
    49                         /* translators: 1: link attributes, 2: number of photos */
     49                        /* translators: 1: Link attributes, 2: Number of photos. */
    5050                        _n( 'This gallery contains <a %1$s>%2$s photo</a>.', 'This gallery contains <a %1$s>%2$s photos</a>.', $total_images, 'twentyeleven' ),
    51                         /* translators: %s: Post title */
     51                        /* translators: %s: Post title. */
    5252                        'href="' . esc_url( get_permalink() ) . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"',
    5353                        number_format_i18n( $total_images )
     
    7272        <?php $show_sep = false; ?>
    7373        <?php
    74             /* translators: used between list items, there is a space after the comma */
     74            /* translators: Used between list items, there is a space after the comma. */
    7575            $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
    7676        if ( $categories_list ) :
     
    7878        <span class="cat-links">
    7979            <?php
    80             /* translators: 1: CSS classes, 2: list of categories */
     80            /* translators: 1: CSS classes, 2: List of categories. */
    8181            printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
    8282            $show_sep = true;
     
    8585        <?php endif; // End if categories ?>
    8686        <?php
    87             /* translators: used between list items, there is a space after the comma */
     87            /* translators: Used between list items, there is a space after the comma. */
    8888            $tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
    8989        if ( $tags_list ) :
     
    9494        <span class="tag-links">
    9595            <?php
    96             /* translators: 1: CSS classes, 2: list of tags */
     96            /* translators: 1: CSS classes, 2: List of tags. */
    9797            printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
    9898            $show_sep = true;
Note: See TracChangeset for help on using the changeset viewer.