Theme Compat: Make string translatable and add translator comments. Added in [31941].
props dimadin. see #28502. fixes #31921. Built from https://develop.svn.wordpress.org/trunk@32084 git-svn-id: http://core.svn.wordpress.org/trunk@32063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
79eee23a29
commit
79a930aeb5
|
@ -26,8 +26,10 @@ _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.
|
||||||
<h3 id="comments">
|
<h3 id="comments">
|
||||||
<?php
|
<?php
|
||||||
if ( 1 == get_comments_number() ) {
|
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 {
|
} 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() ),
|
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() . '”' );
|
number_format_i18n( get_comments_number() ), '“' . get_the_title() . '”' );
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.2-beta4-32083';
|
$wp_version = '4.2-beta4-32084';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue