Changeset 45932 for trunk/src/wp-admin/includes/ms.php
- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ms.php
r45926 r45932 33 33 $file_size = filesize( $file['tmp_name'] ); 34 34 if ( $space_left < $file_size ) { 35 /* translators: %s: required disk space in kilobytes*/35 /* translators: %s: Required disk space in kilobytes. */ 36 36 $file['error'] = sprintf( __( 'Not enough space to upload. %s KB needed.' ), number_format( ( $file_size - $space_left ) / KB_IN_BYTES ) ); 37 37 } 38 38 39 39 if ( $file_size > ( KB_IN_BYTES * get_site_option( 'fileupload_maxk', 1500 ) ) ) { 40 /* translators: %s: maximum allowed file size in kilobytes*/40 /* translators: %s: Maximum allowed file size in kilobytes. */ 41 41 $file['error'] = sprintf( __( 'This file is too big. Files must be less than %s KB in size.' ), get_site_option( 'fileupload_maxk', 1500 ) ); 42 42 } … … 228 228 if ( $echo ) { 229 229 printf( 230 /* translators: %s: allowed space allocation*/230 /* translators: %s: Allowed space allocation. */ 231 231 __( 'Sorry, you have used your space allocation of %s. Please delete some files to upload more files.' ), 232 232 size_format( $space_allowed * MB_IN_BYTES ) … … 254 254 <strong> 255 255 <?php 256 /* translators: Storage space that's been used. 1: Percentage of used space, 2: Total space allowed in megabytes or gigabytes */256 /* translators: Storage space that's been used. 1: Percentage of used space, 2: Total space allowed in megabytes or gigabytes. */ 257 257 printf( __( 'Used: %1$s%% of %2$s' ), number_format( $percent_used ), $space ); 258 258 ?> … … 582 582 wp_die( 583 583 sprintf( 584 /* translators: 1: Site title */584 /* translators: 1: Site title. */ 585 585 __( 'You attempted to access the "%1$s" dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the "%1$s" dashboard, please contact your network administrator.' ), 586 586 $blog_name … … 591 591 592 592 $output = '<p>' . sprintf( 593 /* translators: 1: Site title */593 /* translators: 1: Site title. */ 594 594 __( 'You attempted to access the "%1$s" dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the "%1$s" dashboard, please contact your network administrator.' ), 595 595 $blog_name … … 703 703 if ( get_site_option( 'wpmu_upgrade_site' ) != $wp_db_version ) { 704 704 echo "<div class='update-nag'>" . sprintf( 705 /* translators: %s: URL to Upgrade Network screen */705 /* translators: %s: URL to Upgrade Network screen. */ 706 706 __( 'Thank you for Updating! Please visit the <a href="%s">Upgrade Network</a> page to update all your sites.' ), 707 707 esc_url( network_admin_url( 'upgrade.php' ) ) … … 760 760 <table class="form-table" role="presentation"> 761 761 <tr> 762 <?php /* translators: My Sites label */ ?>762 <?php /* translators: My Sites label. */ ?> 763 763 <th scope="row"><label for="primary_blog"><?php _e( 'Primary Site' ); ?></label></th> 764 764 <td> … … 880 880 wp_die( 881 881 sprintf( 882 /* translators: %s: user login*/882 /* translators: %s: User login. */ 883 883 __( 'Warning! User %s cannot be deleted.' ), 884 884 $delete_user->user_login … … 890 890 wp_die( 891 891 sprintf( 892 /* translators: %s: user login*/892 /* translators: %s: User login. */ 893 893 __( 'Warning! User cannot be deleted. The user %s is a network administrator.' ), 894 894 '<em>' . $delete_user->user_login . '</em>' … … 909 909 <?php 910 910 printf( 911 /* translators: user login*/911 /* translators: User login. */ 912 912 __( 'What should be done with content owned by %s?' ), 913 913 '<em>' . $delete_user->user_login . '</em>' … … 942 942 <li> 943 943 <?php 944 /* translators: %s: link to user's site*/944 /* translators: %s: Link to user's site. */ 945 945 printf( __( 'Site: %s' ), $user_site ); 946 946 ?> … … 1133 1133 '<p>' . __( '<strong>Users</strong> — This displays the users associated with this site. You can also change their role, reset their password, or remove them from the site. Removing the user from the site does not remove the user from the network.' ) . '</p>' . 1134 1134 '<p>' . sprintf( 1135 /* translators: %s: URL to Network Themes screen */1135 /* translators: %s: URL to Network Themes screen. */ 1136 1136 __( '<strong>Themes</strong> — This area shows themes that are not already enabled across the network. Enabling a theme in this menu makes it accessible to this site. It does not activate the theme, but allows it to show in the site’s Appearance menu. To enable a theme for the entire network, see the <a href="%s">Network Themes</a> screen.' ), 1137 1137 network_admin_url( 'themes.php' )
Note: See TracChangeset
for help on using the changeset viewer.