Make WordPress Core


Ignore:
Timestamp:
01/21/2010 09:37:43 PM (17 years ago)
Author:
ryan
Message:

i18n fixes. Props nbachiyski. fixes #11954

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r12733 r12789  
    820820
    821821                // get a list of the actual pixel dimensions of each possible intermediate version of this image
    822                 $size_names = array('thumbnail' => __('Thumbnail'), 'medium' => __('Medium'), 'large' => __('Large'), 'full' => __('Full size'));
     822                $size_names = array('thumbnail' => __('Thumbnail'), 'medium' => __('Medium'), 'large' => __('Large'), 'full' => __('Full Size'));
    823823
    824824                if ( empty($check) )
    … …  
    849849                        // only show the dimensions if that choice is available
    850850                        if ( $enabled )
    851                                 $html .= " <label for='{$css_id}' class='help'>" . sprintf( __("(%d&nbsp;&times;&nbsp;%d)"), $downsize[1], $downsize[2] ). "</label>";
     851                                $html .= " <label for='{$css_id}' class='help'>" . sprintf( "(%d&nbsp;&times;&nbsp;%d)", $downsize[1], $downsize[2] ). "</label>";
    852852
    853853                        $html .= '</div>';
    … …  
    913913                $form_fields['image_alt'] = array(
    914914                        'value' => $alt,
    915                         'label' => __('Alternate text'),
     915                        'label' => __('Alternate Text'),
    916916                        'helps' => __('Alt text for the image, e.g. &#8220;The Mona Lisa&#8221;')
    917917                );
    … …  
    12011201        if ( gd_edit_image_support( $post->post_mime_type ) ) {
    12021202                $nonce = wp_create_nonce( "image_editor-$post->ID" );
    1203                 $image_edit_button = "<input type='button' id='imgedit-open-btn-$post->ID' onclick='imageEdit.open( $post->ID, \"$nonce\" )' class='button' value='" . esc_attr__( 'Edit image' ) . "' /> <img src='images/wpspin_light.gif' class='imgedit-wait-spin' alt='' />";
     1203                $image_edit_button = "<input type='button' id='imgedit-open-btn-$post->ID' onclick='imageEdit.open( $post->ID, \"$nonce\" )' class='button' value='" . esc_attr__( 'Edit Image' ) . "' /> <img src='images/wpspin_light.gif' class='imgedit-wait-spin' alt='' />";
    12041204        }
    12051205
    … …  
    17731773        <td class="field">
    17741774                <select id="columns" name="columns">
    1775                         <option value="2"><?php _e('2'); ?></option>
    1776                         <option value="3" selected="selected"><?php _e('3'); ?></option>
    1777                         <option value="4"><?php _e('4'); ?></option>
    1778                         <option value="5"><?php _e('5'); ?></option>
    1779                         <option value="6"><?php _e('6'); ?></option>
    1780                         <option value="7"><?php _e('7'); ?></option>
    1781                         <option value="8"><?php _e('8'); ?></option>
    1782                         <option value="9"><?php _e('9'); ?></option>
     1775                        <option value="2">2</option>
     1776                        <option value="3" selected="selected">3</option>
     1777                        <option value="4">4</option>
     1778                        <option value="5">5</option>
     1779                        <option value="6">6</option>
     1780                        <option value="7">7</option>
     1781                        <option value="8">8</option>
     1782                        <option value="9">9</option>
    17831783                </select>
    17841784        </td>
Note: See TracChangeset for help on using the changeset viewer.