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

props dimadin.
see #28502.
fixes #31921.

git-svn-id: https://develop.svn.wordpress.org/trunk@32084 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2015-04-08 18:14:31 +00:00
parent b74982a479
commit 2445c10ab2
1 changed files with 3 additions and 1 deletions

View File

@ -26,8 +26,10 @@ _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.
<h3 id="comments">
<?php
if ( 1 == get_comments_number() ) {
printf( 'One Response to %2$s', '&#8220;' . get_the_title() . '&#8221;' );
/* translators: %s: post title */
printf( __( 'One Response to %s' ), '&#8220;' . get_the_title() . '&#8221;' );
} else {
/* translators: 1: number of comments, 2: post title */
printf( _n( '%1$s Response to %2$s', '%1$s Responses to %2$s', get_comments_number() ),
number_format_i18n( get_comments_number() ), '&#8220;' . get_the_title() . '&#8221;' );
}