Make WordPress Core


Ignore:
Timestamp:
07/09/2019 01:08:47 AM (6 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/twentyfourteen/functions.php

    r45485 r45609  
    505505                </p>
    506506                <a class="button contributor-posts-link" href="<?php echo esc_url( get_author_posts_url( $contributor_id ) ); ?>">
    507                     <?php printf( _n( '%d Article', '%d Articles', $post_count, 'twentyfourteen' ), $post_count ); ?>
     507                    <?php
     508                    /* translators: %d: post count */
     509                    printf( _n( '%d Article', '%d Articles', $post_count, 'twentyfourteen' ), $post_count );
     510                    ?>
    508511                </a>
    509512            </div><!-- .contributor-summary -->
     
    624627    // Add a page number if necessary.
    625628    if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) {
     629        /* translators: %s: page number */
    626630        $title = "$title $sep " . sprintf( __( 'Page %s', 'twentyfourteen' ), max( $paged, $page ) );
    627631    }
Note: See TracChangeset for help on using the changeset viewer.