I18N: Capitalize translator comments consistently, add trailing punctuation.
Includes minor code layout fixes. See #44360. Built from https://develop.svn.wordpress.org/trunk@45932 git-svn-id: http://core.svn.wordpress.org/trunk@45743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -7,11 +7,11 @@
|
||||
* This file is here for backward compatibility with old themes and will be removed in a future version
|
||||
*/
|
||||
_deprecated_file(
|
||||
/* translators: %s: template name */
|
||||
/* translators: %s: Template name. */
|
||||
sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ),
|
||||
'3.0.0',
|
||||
null,
|
||||
/* translators: %s: template name */
|
||||
/* translators: %s: Template name. */
|
||||
sprintf( __( 'Please include a %s template in your theme.' ), basename( __FILE__ ) )
|
||||
);
|
||||
|
||||
@@ -34,13 +34,13 @@ if ( post_password_required() ) { ?>
|
||||
<?php
|
||||
if ( 1 == get_comments_number() ) {
|
||||
printf(
|
||||
/* translators: %s: post title */
|
||||
/* translators: %s: Post title. */
|
||||
__( 'One response to %s' ),
|
||||
'“' . get_the_title() . '”'
|
||||
);
|
||||
} else {
|
||||
printf(
|
||||
/* translators: 1: number of comments, 2: post title */
|
||||
/* translators: 1: Number of comments, 2: Post title. */
|
||||
_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() . '”'
|
||||
|
||||
Reference in New Issue
Block a user