mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-16 07:35:39 +01:00
Translate sizes. fixes #8012
git-svn-id: http://svn.automattic.com/wordpress/trunk@9418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6ae7a9e401
commit
156a49cf9d
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user