Skip to content

Commit aca32f8

Browse files
I18N: Replace unnecessary context with a translator comment for %s KB string on Network Settings screen.
Props ramiy. Fixes #37496. git-svn-id: https://develop.svn.wordpress.org/trunk@38322 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 03e402b commit aca32f8

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/wp-admin/network/settings.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,13 @@
309309
<tr>
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' ) ?>
315321
</p>

0 commit comments

Comments
 (0)