Make WordPress Core

Changeset 32084


Ignore:
Timestamp:
04/08/2015 06:14:31 PM (10 years ago)
Author:
ocean90
Message:

Theme Compat: Make string translatable and add translator comments. Added in [31941].

props dimadin.
see #28502.
fixes #31921.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme-compat/comments.php

    r31941 r32084  
    2727        <?php
    2828            if ( 1 == get_comments_number() ) {
    29                 printf( 'One Response to %2$s',  '&#8220;' . get_the_title() . '&#8221;' );
     29                /* translators: %s: post title */
     30                printf( __( 'One Response to %s' ),  '&#8220;' . get_the_title() . '&#8221;' );
    3031            } else {
     32                /* translators: 1: number of comments, 2: post title */
    3133                printf( _n( '%1$s Response to %2$s', '%1$s Responses to %2$s', get_comments_number() ),
    3234                    number_format_i18n( get_comments_number() ),  '&#8220;' . get_the_title() . '&#8221;' );
Note: See TracChangeset for help on using the changeset viewer.