Make WordPress Core

Changeset 51157


Ignore:
Timestamp:
06/15/2021 03:37:13 PM (4 years ago)
Author:
SergeyBiryukov
Message:

I18N: Use consistent pattern for placeholder references in translator comments for some bundled theme strings.

Follow-up to [42827], [44562], [50234].

See #52628.

Location:
trunk/src/wp-content/themes
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyeleven/404.php

    r45932 r51157  
    4343
    4444                    <?php
    45                     /* translators: %1$s: Smilie. */
    46                     $archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'twentyeleven' ), convert_smilies( ':)' ) ) . '</p>';
     45                    /* translators: %s: Smilie. */
     46                    $archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %s', 'twentyeleven' ), convert_smilies( ':)' ) ) . '</p>';
    4747                    the_widget(
    4848                        'WP_Widget_Archives',
  • trunk/src/wp-content/themes/twentyeleven/comments.php

    r47122 r51157  
    4040            } else {
    4141                printf(
    42                     /* translators: %1$s: The number of comments. %2$s: The post title. */
     42                    /* translators: 1: The number of comments, 2: The post title. */
    4343                    _n( '%1$s thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'twentyeleven' ),
    4444                    number_format_i18n( get_comments_number() ),
  • trunk/src/wp-content/themes/twentyten/comments.php

    r47122 r51157  
    4343            } else {
    4444                printf(
    45                     /* translators: %1$s: The number of comments. %2$s: The post title. */
     45                    /* translators: 1: The number of comments, 2: The post title. */
    4646                    _n( '%1$s Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten' ),
    4747                    number_format_i18n( get_comments_number() ),
  • trunk/src/wp-content/themes/twentythirteen/comments.php

    r47122 r51157  
    3232            } else {
    3333                printf(
    34                     /* translators: %1$s: The number of comments. %2$s: The post title. */
     34                    /* translators: 1: The number of comments, 2: The post title. */
    3535                    _nx( '%1$s thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'twentythirteen' ),
    3636                    number_format_i18n( get_comments_number() ),
  • trunk/src/wp-content/themes/twentytwelve/comments.php

    r47122 r51157  
    3838            } else {
    3939                printf(
    40                     /* translators: %1$s: The number of comments. %2$s: The post title. */
     40                    /* translators: 1: The number of comments, 2: The post title. */
    4141                    _n( '%1$s thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'twentytwelve' ),
    4242                    number_format_i18n( get_comments_number() ),
Note: See TracChangeset for help on using the changeset viewer.