WordPress.org

Make WordPress Core

Changeset 38322


Ignore:
Timestamp:
08/23/16 00:10:49 (10 months ago)
Author:
SergeyBiryukov
Message:

I18N: Replace unnecessary context with a translator comment for %s KB string on Network Settings screen.

Props ramiy.
Fixes #37496.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/settings.php

    r37959 r38322  
    310310                <th scope="row"><label for="fileupload_maxk"><?php _e( 'Max upload file size' ) ?></label></th> 
    311311                <td> 
    312                     <?php printf( _x( '%s KB', 'File size in kilobytes' ), '<input name="fileupload_maxk" type="number" min="0" style="width: 100px" id="fileupload_maxk" aria-describedby="fileupload-maxk-desc" value="' . esc_attr( get_site_option( 'fileupload_maxk', 300 ) ) . '" />' ); ?> 
     312                    <?php 
     313                        printf( 
     314                            /* translators: %s: File size in kilobytes */ 
     315                            __( '%s KB' ), 
     316                            '<input name="fileupload_maxk" type="number" min="0" style="width: 100px" id="fileupload_maxk" aria-describedby="fileupload-maxk-desc" value="' . esc_attr( get_site_option( 'fileupload_maxk', 300 ) ) . '" />' 
     317                        ); 
     318                    ?> 
    313319                    <p class="screen-reader-text" id="fileupload-maxk-desc"> 
    314320                        <?php _e( 'Size in kilobytes' ) ?> 
Note: See TracChangeset for help on using the changeset viewer.