WordPress.org

Make WordPress Core


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

    r45604 r45932  
    3434    <footer class="entry-meta">
    3535        <?php
    36             /* translators: used between list items, there is a space after the comma */
     36            /* translators: Used between list items, there is a space after the comma. */
    3737            $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
    3838
    39             /* translators: used between list items, there is a space after the comma */
     39            /* translators: Used between list items, there is a space after the comma. */
    4040            $tag_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
    4141        if ( '' != $tag_list ) {
    42             /* translators: 1: categories list, 2: tag list, 3: permalink, 4: post title, 5: author name, 6: author URL */
     42            /* translators: 1: Categories list, 2: Tag list, 3: Permalink, 4: Post title, 5: Author name, 6: Author URL. */
    4343            $utility_text = __( 'This entry was posted in %1$s and tagged %2$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
    4444        } elseif ( '' != $categories_list ) {
    45             /* translators: 1: categories list, 2: tag list, 3: permalink, 4: post title, 5: author name, 6: author URL */
     45            /* translators: 1: Categories list, 2: Tag list, 3: Permalink, 4: Post title, 5: Author name, 6: Author URL. */
    4646            $utility_text = __( 'This entry was posted in %1$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
    4747        } else {
    48             /* translators: 1: categories list, 2: tag list, 3: permalink, 4: post title, 5: author name, 6: author URL */
     48            /* translators: 1: Categories list, 2: Tag list, 3: Permalink, 4: Post title, 5: Author name, 6: Author URL. */
    4949            $utility_text = __( 'This entry was posted by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
    5050        }
     
    7373                <h2>
    7474                <?php
    75                 /* translators: %s: author name */
     75                /* translators: %s: Author name. */
    7676                printf( __( 'About %s', 'twentyeleven' ), get_the_author() );
    7777                ?>
     
    8181                    <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
    8282                        <?php
    83                         /* translators: %s: author name */
     83                        /* translators: %s: Author name. */
    8484                        printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentyeleven' ), get_the_author() );
    8585                        ?>
Note: See TracChangeset for help on using the changeset viewer.