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:
parent
b74982a479
commit
2445c10ab2
|
@ -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', '“' . get_the_title() . '”' );
|
||||
/* translators: %s: post title */
|
||||
printf( __( 'One Response to %s' ), '“' . get_the_title() . '”' );
|
||||
} 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() ), '“' . get_the_title() . '”' );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue