Mark some overlooked strings for translation.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-05-23 17:24:38 +00:00
parent 1387744b0d
commit 94436bd401
5 changed files with 23 additions and 25 deletions

View File

@ -101,7 +101,7 @@ case 'edit':
<input type="text" name="cat_name" value="<?php echo $cat_name; ?>" /></p>
<p><?php _e('Category parent:') ?><br />
<select name='cat' class='postform'>
<option value='0'<?php if (!$category->category_parent) echo " selected='selected'"; ?>>None</option>
<option value='0'<?php if (!$category->category_parent) echo " selected='selected'"; ?>><?php _e('None') ?></option>
<?php wp_dropdown_cats($category->cat_ID, $category->category_parent); ?></p>
</select>
</p>

View File

@ -607,10 +607,10 @@ function checkAll(form)
<table width="75%" cellpadding="3" cellspacing="3">
<tr>
<td>
<strong>Show</strong> links in category:<?php echo gethelp_link($this_file,'link_categories');?><br />
<?php printf(__('<strong>Show</strong> links in category: %s'), gethelp_link($this_file,'link_categories'));?><br />
</td>
<td>
<strong>Order</strong> by:<?php echo gethelp_link($this_file,'order_by');?>
<?php printf(__('<strong>Order</strong> by: %s'), gethelp_link($this_file,'order_by'));?>
</td>
<td>&nbsp;</td>
</tr>
@ -622,7 +622,7 @@ function checkAll(form)
echo " <option value=\"All\"";
if ($cat_id == 'All')
echo " selected='selected'";
echo "> All</option>\n";
echo "> " . __('All') . "</option>\n";
foreach ($results as $row) {
echo " <option value=\"".$row->cat_id."\"";
if ($row->cat_id == $cat_id)
@ -706,12 +706,13 @@ function checkAll(form)
++$i;
$style = ($i % 2) ? ' class="alternate"' : '';
echo <<<LINKS
<tr valign="middle" $style>
<td><strong>$link->link_name</strong><br />
Description: $link->link_description</td>
<td><a href="$link->link_url" title="Visit $link->link_name">$short_url</a></td>
LINKS;
echo sprintf(__('Description: %s'), $link->link_description) . "</td>";
echo "<td><a href=\"$link->link_url\" title=\"" . sprintf(__('Visit %s'), $link->link_name) . "\">$short_url</a></td>";
echo <<<LINKS
<td>$link->category</td>
<td>$link->link_rel</td>
<td align='center'>$image</td>
@ -724,11 +725,9 @@ LINKS;
}
if ($show_buttons) {
echo <<<LINKS
<td><a href="link-manager.php?link_id=$link->link_id&amp;action=linkedit" class="edit">Edit</a></td>
<td><a href="link-manager.php?link_id=$link->link_id&amp;action=Delete" onclick="return confirm('You are about to delete this link.\\n \'Cancel\' to stop, \'OK\' to delete.');" class="delete">Delete</a></td>
<td><input type="checkbox" name="linkcheck[]" value="$link->link_id" /></td>
LINKS;
echo '<td><a href="link-manager.php?link_id=' . $link->link_id . '&amp;action=linkedit" class="edit">' . __('Edit') . '</a></td>';
echo '<td><a href="link-manager.php?link_id=' . $link->link_id . '&amp;action=Delete"' . "onclick=\"return confirm('" . __("You are about to delete this link.\\n \'Cancel\' to stop, \'OK\' to delete.") . "');" . '" class="delete">' . __('Delete') . '</a></td>';
echo '<td><input type="checkbox" name="linkcheck[]" value="' . $link->link_id . '" /></td>';
} else {
echo "<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>\n";
}

View File

@ -54,9 +54,9 @@ include('options-head.php');
<th width="33%" scope="row"><?php _e('Show the most recent:') ?></th>
<td><input name="posts_per_page" type="text" id="posts_per_page" value="<?php echo get_settings('posts_per_page'); ?>" size="3" />
<select name="what_to_show" id="what_to_show" >
<option value="days" <?php selected('days', get_settings('what_to_show')); ?>>days</option>
<option value="posts" <?php selected('posts', get_settings('what_to_show')); ?>>posts</option>
<option value="paged" <?php selected('paged', get_settings('what_to_show')); ?>>posts paged</option>
<option value="days" <?php selected('days', get_settings('what_to_show')); ?>><?php _e('days') ?></option>
<option value="posts" <?php selected('posts', get_settings('what_to_show')); ?>><?php _e('posts') ?></option>
<option value="paged" <?php selected('paged', get_settings('what_to_show')); ?>><?php _e('posts paged') ?></option>
</select> </td>
</tr>
</table>

View File

@ -773,8 +773,8 @@ window.open ("profile.php?action=IErightclick", "oneclickbookmarklet", "width=50
</script>
<br />
<br />
One-click bookmarklet:<br />
<a href="javascript:oneclickbookmarklet(0);">click here</a>
<?php _e('One-click bookmarklet:') ?><br />
<a href="javascript:oneclickbookmarklet(0);"><?php _e('click here') ?></a>
<?php
} else if ($is_opera) {
?>

View File

@ -344,14 +344,13 @@ function addPanel()
alert(<?php __("'No Sidebar found! You must use Mozilla 0.9.4 or later!'") ?>);
}
</script>
<strong>SideBar</strong><br />
Add the <a href="#" onClick="addPanel()">WordPress Sidebar</a>!
<strong><?php _e('SideBar') ?></strong><br />
<?php _e('Add the <a href="#" onClick="addPanel()">WordPress Sidebar</a>!') ?>
<?php } elseif (($is_winIE) || ($is_macIE)) { ?>
<strong>SideBar</strong><br />
Add this link to your favorites:<br />
<a href="javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;void(_search=open('<?php echo get_settings('siteurl');
?>/wp-admin/sidebar.php?text='+escape(Q)+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'_search'))">WordPress
Sidebar</a>.
<strong><?php _e('SideBar') ?></strong><br />
<?php __('Add this link to your favorites:') ?><br />
<a href="javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;void(_search=open('<?php echo get_settings('siteurl');
?>/wp-admin/sidebar.php?text='+escape(Q)+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'_search'))"><?php _e('WordPress Sidebar') ?></a>.
</div>
<?php } ?>