mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-31 04:31:35 +01:00
Add missing translations for media options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a0d49f5ee3
commit
99cddfb8b8
@ -32,7 +32,7 @@ include('admin-header.php');
|
|||||||
<th scope="row"><?php _e('Default media links') ?></th>
|
<th scope="row"><?php _e('Default media links') ?></th>
|
||||||
<td><fieldset><legend class="hidden"><?php _e('Default image links') ?></legend>
|
<td><fieldset><legend class="hidden"><?php _e('Default image links') ?></legend>
|
||||||
<?php
|
<?php
|
||||||
$link_types = array('none' => 'None', 'post' => 'Post URL', 'file' => 'File');
|
$link_types = array('none' => __('None'), 'post' => __('Post URL'), 'file' => __('File'));
|
||||||
|
|
||||||
$default_link_type = get_option('image_default_link_type');
|
$default_link_type = get_option('image_default_link_type');
|
||||||
if ( empty($default_link_type) )
|
if ( empty($default_link_type) )
|
||||||
@ -40,7 +40,7 @@ include('admin-header.php');
|
|||||||
|
|
||||||
foreach ($link_types as $type => $name) { ?>
|
foreach ($link_types as $type => $name) { ?>
|
||||||
<input type="radio" name="image_default_link_type" id="image_default_link_type_<?php echo $type; ?>" value="<?php echo $type; ?>"<?php echo ($default_link_type == $type ? ' checked="checked"' : ''); ?> />
|
<input type="radio" name="image_default_link_type" id="image_default_link_type_<?php echo $type; ?>" value="<?php echo $type; ?>"<?php echo ($default_link_type == $type ? ' checked="checked"' : ''); ?> />
|
||||||
<label for="image_default_link_type_<?php echo $type; ?>"><?php _e($name); ?></label>
|
<label for="image_default_link_type_<?php echo $type; ?>"><?php echo $name; ?></label>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user