String i18n. Bug 505. Patch from nbachiyski.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-11-29 19:46:20 +00:00
parent 3627e4c953
commit 7fe73226cd
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ $class = ('alternate' == $class) ? '' : 'alternate';
</td>
<td><?php the_author() ?></td>
<td><?php the_time('Y-m-d g:i a'); ?></td>
<td><a href="<?php the_permalink(); ?>" rel="permalink" class="edit">View</a></td>
<td><a href="<?php the_permalink(); ?>" rel="permalink" class="edit"><?php _e('View'); ?></a></td>
<td><?php if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "<a href='post.php?action=edit&amp;post=$id' class='edit'>" . __('Edit') . "</a>"; } ?></td>
<td><?php if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "<a href='post.php?action=delete&amp;post=$id' class='delete' onclick=\"return confirm('" . sprintf(__("You are about to delete this post \'%s\'\\n \'OK\' to delete, \'Cancel\' to stop."), the_title('','',0)) . "')\">" . __('Delete') . "</a>"; } ?></td>
</tr>
@ -59,4 +59,4 @@ $class = ('alternate' == $class) ? '' : 'alternate';
</div>
<?php include('admin-footer.php'); ?>
<?php include('admin-footer.php'); ?>

View File

@ -270,7 +270,7 @@ echo "\n<tr $style>
echo "</td>\n";
echo '<td>';
if (($user_level >= 6) and ($user_level > $user_data->user_level))
echo "<a href='user-edit.php?user_id=$user_data->ID' class='edit'>Edit</a>";
echo "<a href='user-edit.php?user_id=$user_data->ID' class='edit'>".__('Edit')."</a>";
echo '</td><td>';
if ($user_level >= 6)
echo "<a href='users.php?action=delete&amp;id=$user_data->ID' class='delete'>" . __('Delete'). '</a>';