Changeset 39326 for trunk/src/wp-admin/includes/ms.php
- Timestamp:
- 11/21/2016 02:45:53 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ms.php
r38961 r39326 30 30 $file_size = filesize( $file['tmp_name'] ); 31 31 if ( $space_left < $file_size ) { 32 /* translators: 1: Required disk space in kilobytes */ 32 33 $file['error'] = sprintf( __( 'Not enough space to upload. %1$s KB needed.' ), number_format( ( $file_size - $space_left ) / KB_IN_BYTES ) ); 33 34 } 34 35 35 36 if ( $file_size > ( KB_IN_BYTES * get_site_option( 'fileupload_maxk', 1500 ) ) ) { 37 /* translators: 1: Maximum allowed file size in kilobytes */ 36 38 $file['error'] = sprintf( __( 'This file is too big. Files must be less than %1$s KB in size.' ), get_site_option( 'fileupload_maxk', 1500 ) ); 37 39 } … … 475 477 } 476 478 ?> 477 <strong><?php printf( __( 'Used: %1$s%% of %2$s' ), number_format( $percent_used ), $space ); ?></strong> 479 <strong><?php 480 /* translators: Storage space that's been used. 1: Percentage of used space, 2: Total space allowed in megabytes or gigabytes */ 481 printf( __( 'Used: %1$s%% of %2$s' ), number_format( $percent_used ), $space ); 482 ?></strong> 478 483 <?php 479 484 }
Note: See TracChangeset
for help on using the changeset viewer.