i18n fixes. Bug 489. Patch from nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
477e3344b8
commit
dae8fed4f7
|
@ -15,8 +15,8 @@ $menu[40] = array(__('Presentation'), 8, 'themes.php');
|
|||
$menu[45] = array(__('Upload'), get_settings('fileupload_minlevel'), 'upload.php');
|
||||
ksort($menu); // So other files can plugin
|
||||
|
||||
$submenu['post.php'][5] = array('Write Post', 1, 'post.php');
|
||||
$submenu['post.php'][10] = array('Write Page', 5, 'page-new.php');
|
||||
$submenu['post.php'][5] = array(__('Write Post'), 1, 'post.php');
|
||||
$submenu['post.php'][10] = array(__('Write Page'), 5, 'page-new.php');
|
||||
|
||||
$submenu['edit.php'][5] = array(__('Posts'), 1, 'edit.php');
|
||||
$submenu['edit.php'][10] = array(__('Pages'), 5, 'edit-pages.php');
|
||||
|
@ -53,4 +53,4 @@ if (! user_can_access_admin_page()) {
|
|||
die( __('You have do not have sufficient permissions to access this page.') );
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
@ -217,7 +217,7 @@ default:
|
|||
echo "</td><td align='right'>$numposts</td>";
|
||||
echo '<td>';
|
||||
if (($user_level >= 2) 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>';
|
||||
echo '</tr>';
|
||||
}
|
||||
|
@ -330,4 +330,4 @@ break;
|
|||
}
|
||||
|
||||
include('admin-footer.php');
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue