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:
Dominik Schilling 2015-04-08 18:15:28 +00:00
parent 79eee23a29
commit 79a930aeb5
2 changed files with 4 additions and 2 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;' );
}

View File

@ -4,7 +4,7 @@
*
* @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.