I18N: Add translator comments for strings in `wp-includes/deprecated.php`.

Props ramiy.
Fixes #37797.
Built from https://develop.svn.wordpress.org/trunk@38343


git-svn-id: http://core.svn.wordpress.org/trunk@38284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2016-08-23 23:36:28 +00:00
parent eb9cc0c13e
commit 51e1539ab7
2 changed files with 9 additions and 5 deletions

View File

@ -3169,8 +3169,10 @@ function wp_load_image( $file ) {
if ( is_numeric( $file ) )
$file = get_attached_file( $file );
if ( ! is_file( $file ) )
return sprintf(__('File “%s” doesn’t exist?'), $file);
if ( ! is_file( $file ) ) {
/* translators: %s: file name */
return sprintf( __( 'File “%s” doesn’t exist?' ), $file );
}
if ( ! function_exists('imagecreatefromstring') )
return __('The GD image library is not installed.');
@ -3180,8 +3182,10 @@ function wp_load_image( $file ) {
$image = imagecreatefromstring( file_get_contents( $file ) );
if ( !is_resource( $image ) )
return sprintf(__('File “%s” is not an image.'), $file);
if ( ! is_resource( $image ) ) {
/* translators: %s: file name */
return sprintf( __( 'File “%s” is not an image.' ), $file );
}
return $image;
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-alpha-38342';
$wp_version = '4.7-alpha-38343';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.