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

@@ -3188,7 +3188,7 @@ function wp_load_image( $file ) {
$file = get_attached_file( $file );
if ( ! is_file( $file ) ) {
/* translators: %s: file name */
/* translators: %s: File name. */
return sprintf( __( 'File “%s” doesn’t exist?' ), $file );
}
@@ -3201,7 +3201,7 @@ function wp_load_image( $file ) {
$image = imagecreatefromstring( file_get_contents( $file ) );
if ( ! is_resource( $image ) ) {
/* translators: %s: file name */
/* translators: %s: File name. */
return sprintf( __( 'File “%s” is not an image.' ), $file );
}