Translate sizes. fixes #8012

git-svn-id: http://svn.automattic.com/wordpress/trunk@9418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-10-30 16:00:24 +00:00
parent 6ae7a9e401
commit 156a49cf9d

View File

@ -88,7 +88,7 @@ include('admin-header.php');
<th scope="row"><?php _e('Default image size') ?></th> <th scope="row"><?php _e('Default image size') ?></th>
<td><fieldset><legend class="hidden"><?php _e('Default image size') ?></legend> <td><fieldset><legend class="hidden"><?php _e('Default image size') ?></legend>
<?php <?php
$size_names = array('' => 'Auto', 'thumbnail' => 'Thumbnail', 'medium' => 'Medium', 'large' => 'Large', 'full' => 'Full size'); $size_names = array('' => __('Auto'), 'thumbnail' => __('Thumbnail'), 'medium' => __('Medium'), 'large' => __('Large'), 'full' => __('Full size'));
foreach ($size_names as $size => $name) { ?> foreach ($size_names as $size => $name) { ?>
<input type="radio" name="image_default_size" id="image_default_size_<?php echo $size; ?>" value="<?php echo $size; ?>"<?php echo (get_option('image_default_size') == $size ? ' checked="checked"' : ''); ?> /> <input type="radio" name="image_default_size" id="image_default_size_<?php echo $size; ?>" value="<?php echo $size; ?>"<?php echo (get_option('image_default_size') == $size ? ' checked="checked"' : ''); ?> />
<label for="image_default_size_<?php echo $size; ?>"><?php _e($name); ?></label> <label for="image_default_size_<?php echo $size; ?>"><?php _e($name); ?></label>