From dae8fed4f7805e9900d0188965db5909430fb001 Mon Sep 17 00:00:00 2001 From: rboren Date: Thu, 25 Nov 2004 04:11:57 +0000 Subject: [PATCH] i18n fixes. Bug 489. Patch from nbachiyski. git-svn-id: http://svn.automattic.com/wordpress/trunk@1879 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/menu.php | 6 +++--- wp-admin/users.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/menu.php b/wp-admin/menu.php index 9e87f4126e..91d36d1b28 100644 --- a/wp-admin/menu.php +++ b/wp-admin/menu.php @@ -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.') ); } -?> \ No newline at end of file +?> diff --git a/wp-admin/users.php b/wp-admin/users.php index fab984eec1..6794363c3b 100644 --- a/wp-admin/users.php +++ b/wp-admin/users.php @@ -217,7 +217,7 @@ default: echo "$numposts"; echo ''; if (($user_level >= 2) and ($user_level > $user_data->user_level)) - echo "Edit"; + echo "".__('Edit').""; echo ''; echo ''; } @@ -330,4 +330,4 @@ break; } include('admin-footer.php'); -?> \ No newline at end of file +?>