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:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user