From 16989ec4441e171a89159dc9f2c25d0d8140a85f Mon Sep 17 00:00:00 2001 From: nbachiyski Date: Wed, 21 Apr 2010 17:44:21 +0000 Subject: [PATCH] Help translators with meaning of MB and GB. They are definitely not Macbook and Great Britain git-svn-id: http://svn.automattic.com/wordpress/trunk@14177 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/ms.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php index 26a4b3a015..556a3833e1 100644 --- a/wp-admin/includes/ms.php +++ b/wp-admin/includes/ms.php @@ -30,9 +30,9 @@ function check_upload_size( $file ) { $space_left = $space_allowed - $space_used; $file_size = filesize( $file['tmp_name'] ); if ( $space_left < $file_size ) - $file['error'] = sprintf( __( 'Not enough space to upload. %1$s Kb needed.' ), number_format( ($file_size - $space_left) /1024 ) ); + $file['error'] = sprintf( __( 'Not enough space to upload. %1$s KB needed.' ), number_format( ($file_size - $space_left) /1024 ) ); if ( $file_size > ( 1024 * get_site_option( 'fileupload_maxk', 1500 ) ) ) - $file['error'] = sprintf(__('This file is too big. Files must be less than %1$s Kb in size.'), get_site_option( 'fileupload_maxk', 1500 ) ); + $file['error'] = sprintf(__('This file is too big. Files must be less than %1$s KB in size.'), get_site_option( 'fileupload_maxk', 1500 ) ); if ( upload_is_user_over_quota( false ) ) { $file['error'] = __( 'You have used your space quota. Please delete files before uploading.' ); } @@ -447,8 +447,10 @@ function display_space_usage() { if ( $space > 1000 ) { $space = number_format( $space / 1024 ); + /* translators: Gigabytes */ $space .= __( 'GB' ); } else { + /* translators: Megabytes */ $space .= __( 'MB' ); } ?>