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/twentyten/loop.php

    r45675 r45932  
    8787                    <?php
    8888                        printf(
    89                             /* translators: 1: HTML tag attributes, 2: image count */
     89                            /* translators: 1: HTML tag attributes, 2: Image count. */
    9090                            _n( 'This gallery contains <a %1$s>%2$s photo</a>.', 'This gallery contains <a %1$s>%2$s photos</a>.', $total_images, 'twentyten' ),
    91                             /* translators: %s: post title */
     91                            /* translators: %s: Post title. */
    9292                            'href="' . esc_url( get_permalink() ) . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"',
    9393                            number_format_i18n( $total_images )
     
    171171                    <span class="cat-links">
    172172                        <?php
    173                         /* translators: 1: CSS classes, 2: catgory list */
     173                        /* translators: 1: CSS classes, 2: Category list. */
    174174                        printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) );
    175175                        ?>
     
    183183                <span class="tag-links">
    184184                    <?php
    185                     /* translators: 1: CSS classes, 2: catgory list */
     185                    /* translators: 1: CSS classes, 2: Category list. */
    186186                    printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
    187187                    ?>
Note: See TracChangeset for help on using the changeset viewer.