Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (5 years 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-includes/theme-compat/comments.php

    r45926 r45932  
    88 */
    99_deprecated_file(
    10     /* translators: %s: template name */
     10    /* translators: %s: Template name. */
    1111    sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ),
    1212    '3.0.0',
    1313    null,
    14     /* translators: %s: template name */
     14    /* translators: %s: Template name. */
    1515    sprintf( __( 'Please include a %s template in your theme.' ), basename( __FILE__ ) )
    1616);
     
    3535        if ( 1 == get_comments_number() ) {
    3636            printf(
    37                 /* translators: %s: post title */
     37                /* translators: %s: Post title. */
    3838                __( 'One response to %s' ),
    3939                '“' . get_the_title() . '”'
     
    4141        } else {
    4242            printf(
    43                 /* translators: 1: number of comments, 2: post title */
     43                /* translators: 1: Number of comments, 2: Post title. */
    4444                _n( '%1$s response to %2$s', '%1$s responses to %2$s', get_comments_number() ),
    4545                number_format_i18n( get_comments_number() ),
Note: See TracChangeset for help on using the changeset viewer.