Make WordPress Core


Ignore:
Timestamp:
07/09/2019 01:08:47 AM (7 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/twentyten/loop-single.php

    r45209 r45609  
    5555                                                        </div><!-- #author-avatar -->
    5656                                                        <div id="author-description">
    57                                                         <h2><?php printf( __( 'About %s', 'twentyten' ), get_the_author() ); ?></h2>
     57                                                        <h2>
     58                                                        <?php
     59                                                        /* translators: %s: author display name */
     60                                                        printf( __( 'About %s', 'twentyten' ), get_the_author() );
     61                                                        ?>
     62                                                        </h2>
    5863                                                        <?php the_author_meta( 'description' ); ?>
    5964                                                        <div id="author-link">
    6065                                                                <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
    61                                                                         <?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentyten' ), get_the_author() ); ?>
     66                                                                        <?php
     67                                                                        /* translators: %s: author display name */
     68                                                                        printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentyten' ), get_the_author() );
     69                                                                        ?>
    6270                                                                </a>
    6371                                                        </div><!-- #author-link -->
Note: See TracChangeset for help on using the changeset viewer.