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:
Sergey Biryukov
2019-09-03 00:41:05 +00:00
parent 216838a0d2
commit e199663322
361 changed files with 2050 additions and 1861 deletions

View File

@@ -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' ),
'&#8220;' . get_the_title() . '&#8221;'
);
} 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() ),
'&#8220;' . get_the_title() . '&#8221;'