WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/09/2019 01:08:47 AM (2 years ago)
Author:
pento
Message:

Coding Standards: Add missing translator comments to the default themes.

All default themes now have translator comments for all strings with placeholders!

See #46732.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentythirteen/author-bio.php

    r42343 r45609  
    2424    </div><!-- .author-avatar -->
    2525    <div class="author-description">
    26         <h2 class="author-title"><?php printf( __( 'About %s', 'twentythirteen' ), get_the_author() ); ?></h2>
     26        <h2 class="author-title">
     27        <?php
     28        /* translators: %s: author display name */
     29        printf( __( 'About %s', 'twentythirteen' ), get_the_author() );
     30        ?>
     31        </h2>
    2732        <p class="author-bio">
    2833            <?php the_author_meta( 'description' ); ?>
    2934            <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
    30                 <?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ), get_the_author() ); ?>
     35                <?php
     36                /* translators: %s: author display name */
     37                printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ), get_the_author() );
     38                ?>
    3139            </a>
    3240        </p>
Note: See TracChangeset for help on using the changeset viewer.