From 3526f8a7da0ce165b6d077c6a39ca9c1289e5df4 Mon Sep 17 00:00:00 2001 From: nacin Date: Mon, 7 Nov 2011 17:28:20 +0000 Subject: [PATCH] Context for 'All Links'. props SergeyBiryukov, pavelevap. fixes #18096. git-svn-id: http://svn.automattic.com/wordpress/trunk@19202 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/menu.php | 2 +- wp-includes/default-widgets.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/menu.php b/wp-admin/menu.php index 2c13e08c90..9f2e0ff83f 100644 --- a/wp-admin/menu.php +++ b/wp-admin/menu.php @@ -59,7 +59,7 @@ $menu[10] = array( __('Media'), 'upload_files', 'upload.php', '', 'menu-top menu $submenu['upload.php'][10] = array( _x('Add New', 'file'), 'upload_files', 'media-new.php'); $menu[15] = array( __('Links'), 'manage_links', 'link-manager.php', '', 'menu-top menu-icon-links', 'menu-links', 'div' ); - $submenu['link-manager.php'][5] = array( __('All Links'), 'manage_links', 'link-manager.php' ); + $submenu['link-manager.php'][5] = array( _x('All Links', 'admin menu'), 'manage_links', 'link-manager.php' ); /* translators: add new links */ $submenu['link-manager.php'][10] = array( _x('Add New', 'link'), 'manage_links', 'link-add.php' ); $submenu['link-manager.php'][15] = array( __('Link Categories'), 'manage_categories', 'edit-tags.php?taxonomy=link_category' ); diff --git a/wp-includes/default-widgets.php b/wp-includes/default-widgets.php index 64727aeb67..df7ef39ac5 100644 --- a/wp-includes/default-widgets.php +++ b/wp-includes/default-widgets.php @@ -105,7 +105,7 @@ class WP_Widget_Links extends WP_Widget { if ( is_admin() && !$category ) { // Display All Links widget as such in the widgets screen - echo $before_widget . $before_title. __('All Links') . $after_title . $after_widget; + echo $before_widget . $before_title . _x('All Links', 'links widget') . $after_title . $after_widget; return; } @@ -140,7 +140,7 @@ class WP_Widget_Links extends WP_Widget {