Make WordPress Core

Ticket #19174: 19174.patch

File 19174.patch, 1.2 KB (added by DrewAPicture, 13 years ago)

Here's a patch based on azaozz's suggested wording

  • wp-admin/includes/media.php

     
    20012001<p class="hide-if-no-js"><label>
    20022002<input name="image_resize" type="checkbox" id="image_resize" value="true"<?php echo $checked; ?> />
    20032003<?php
    2004         /* translators: %1$s is link start tag, %2$s is link end tag, %3$d is width, %4$d is height*/
    2005         printf( __( 'Scale images to match the large size selected in %1$simage options%2$s (%3$d &times; %4$d).' ), $a, $end, (int) get_option( 'large_size_w', '1024' ), (int) get_option( 'large_size_h', '1024' ) );
     2004        print( __( 'Scale down large images' ) );
    20062005?>
    20072006</label></p>
     2007<p class="hide-if-no-js">
    20082008<?php
     2009        /* translators: %1$s is link start tag, %2$s is link end tag, %3$d is width, %4$d is height*/
     2010        printf( __( 'Images will be proportionally resized to the large size selected in %1$simage options%2$s (%3$d &times; %4$d) if they are bigger.' ), $a, $end, (int) get_option( 'large_size_w', '1024' ), (int) get_option( 'large_size_h', '1024' ) );
     2011?>
     2012</p>
     2013<?php
    20092014}
    20102015
    20112016add_action( 'post-upload-ui', 'media_upload_max_image_resize' );