#620616 by Bojhan, reglogge, lisarex, jhodgdon, and yoroy: Fix inconsistencies in menu description labeling.

merge-requests/26/head
Angie Byron 2010-01-12 23:04:48 +00:00
parent 39821e50b3
commit 90b08f2bd8
7 changed files with 14 additions and 7 deletions

View File

@ -2487,7 +2487,7 @@ function comment_ranking() {
*/
function comment_menu_alter(&$items) {
// Add comments to the description for admin/content.
$items['admin/content']['description'] = "View, edit, and delete your site's content and comments.";
$items['admin/content']['description'] = "Administer content and comments";
}
/**

View File

@ -27,6 +27,7 @@ function dashboard_help($path, $arg) {
function dashboard_menu() {
$items['admin/dashboard'] = array(
'title' => 'Dashboard',
'description' => 'View and customize your dashboard',
'page callback' => 'dashboard_admin',
'access arguments' => array('access dashboard'),
// Make this appear first, so for example, in admin menus, it shows up on
@ -35,6 +36,7 @@ function dashboard_menu() {
);
$items['admin/dashboard/customize'] = array(
'title' => 'Dashboard',
'description' => 'View and customize your dashboard',
'page callback' => 'dashboard_admin',
'page arguments' => array(TRUE),
'access arguments' => array('access dashboard'),

View File

@ -12,6 +12,7 @@
function help_menu() {
$items['admin/help'] = array(
'title' => 'Help',
'description' => 'Reference for usage, configuration, and modules',
'page callback' => 'help_main',
'access arguments' => array('access administration pages'),
'weight' => 9,

View File

@ -1764,7 +1764,7 @@ function node_menu() {
);
$items['admin/content/node'] = array(
'title' => 'Content',
'description' => "View, edit, and delete your site's content.",
'description' => "Administer content",
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -10,
);

View File

@ -570,7 +570,7 @@ function system_menu() {
// Menu items that are basically just menu blocks.
$items['admin/structure'] = array(
'title' => 'Structure',
'description' => 'Control how your site looks and feels.',
'description' => 'Administer blocks, content types, menus, etc.',
'position' => 'right',
'weight' => -8,
'page callback' => 'system_admin_menu_block_page',
@ -580,7 +580,7 @@ function system_menu() {
// Appearance.
$items['admin/appearance'] = array(
'title' => 'Appearance',
'description' => 'Select and configure your site theme.',
'description' => 'Select and configure your themes',
'page callback' => 'system_themes_page',
'access arguments' => array('administer themes'),
'position' => 'left',
@ -589,7 +589,7 @@ function system_menu() {
);
$items['admin/appearance/list'] = array(
'title' => 'List',
'description' => 'Select and configure your site theme.',
'description' => 'Select and configure your theme',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -1,
'file' => 'system.admin.inc',
@ -645,7 +645,7 @@ function system_menu() {
// Modules.
$items['admin/modules'] = array(
'title' => 'Modules',
'description' => 'Enable or disable add-on modules for your site.',
'description' => 'Enable or disable modules',
'page callback' => 'drupal_get_form',
'page arguments' => array('system_modules'),
'access arguments' => array('administer modules'),
@ -678,6 +678,7 @@ function system_menu() {
// Configuration.
$items['admin/config'] = array(
'title' => 'Configuration',
'description' => 'Administer settings',
'page callback' => 'system_admin_config_page',
'access arguments' => array('access administration pages'),
'file' => 'system.admin.inc',
@ -1003,7 +1004,7 @@ function system_menu() {
// Reports.
$items['admin/reports'] = array(
'title' => 'Reports',
'description' => 'View reports from system logs and other status information.',
'description' => 'View reports, updates, and errors',
'page callback' => 'system_admin_menu_block_page',
'access arguments' => array('access site reports'),
'weight' => 5,

View File

@ -204,6 +204,7 @@ function toolbar_view() {
'title' => t('Hello <strong>@username</strong>', array('@username' => format_username($user))),
'href' => 'user',
'html' => TRUE,
'attributes' => array('title' => t('User account')),
),
'logout' => array(
'title' => t('Log out'),
@ -231,6 +232,7 @@ function toolbar_view() {
'title' => '<span class="home-link">Home</span>',
'href' => '<front>',
'html' => TRUE,
'attributes' => array('title' => t('Home')),
),
);
$build['toolbar_home'] = array(

View File

@ -1436,6 +1436,7 @@ function user_menu() {
// User listing pages.
$items['admin/people'] = array(
'title' => 'People',
'description' => 'Manage user accounts',
'page callback' => 'user_admin',
'page arguments' => array('list'),
'access arguments' => array('administer users'),