summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Miles2008-04-03 16:30:24 (GMT)
committer Earl Miles2008-04-03 16:30:24 (GMT)
commit649cf9694e4c76a0c1c7a5eafc9d440b6664bddc (patch)
tree4bc5cd975f383a4d0a039ffcf2cca38446d0daf3
parente931bc9750e00f22468acbad42a6625e66d3a7f4 (diff)
#241009: (by hass) Menu items are not supposed to be run through t() in D6
-rw-r--r--views.module4
-rw-r--r--views_ui.module28
2 files changed, 16 insertions, 16 deletions
diff --git a/views.module b/views.module
index ca99233..c4dda43 100644
--- a/views.module
+++ b/views.module
@@ -123,11 +123,11 @@ function views_menu() {
}
}
$items['views/ajax'] = array(
- 'title' => t('Views'),
+ 'title' => 'Views',
'page callback' => 'views_ajax',
'access callback' => 'user_access',
'access arguments' => array('access content'),
- 'description' => t('Ajax callback for view loading.'),
+ 'description' => 'Ajax callback for view loading.',
'type' => MENU_CALLBACK,
);
return $items;
diff --git a/views_ui.module b/views_ui.module
index 972ebb7..a9d37ec 100644
--- a/views_ui.module
+++ b/views_ui.module
@@ -22,36 +22,36 @@ function views_ui_menu() {
$convert = array('file' => 'includes/convert.inc') + $base;
$items['admin/build/views'] = $base + array(
- 'title' => t('Views'),
+ 'title' => 'Views',
'page callback' => 'views_ui_list_views',
- 'description' => t('Views are customized lists of content on your system; they are highly configurable and give you control over how lists of content are presented.'),
+ 'description' => 'Views are customized lists of content on your system; they are highly configurable and give you control over how lists of content are presented.',
'type' => MENU_NORMAL_ITEM
);
$items['admin/build/views/list'] = $base + array(
- 'title' => t('List'),
+ 'title' => 'List',
'page callback' => 'views_ui_list_views',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => '-1'
);
$items['admin/build/views/add'] = $base + array(
- 'title' => t('Add'),
+ 'title' => 'Add',
'page callback' => 'views_ui_add_page',
'type' => MENU_LOCAL_TASK
);
$items['admin/build/views/import'] = $base + array(
- 'title' => t('Import'),
+ 'title' => 'Import',
'page callback' => 'drupal_get_form',
'page arguments' => array('views_ui_import_page'),
'type' => MENU_LOCAL_TASK
);
$items['admin/build/views/tools'] = $base + array(
- 'title' => t('Tools'),
+ 'title' => 'Tools',
'page callback' => 'drupal_get_form',
'page arguments' => array('views_ui_admin_tools'),
'type' => MENU_LOCAL_TASK
);
$items['admin/build/views/tools/basic'] = $base + array(
- 'title' => t('Basic'),
+ 'title' => 'Basic',
'page callback' => 'drupal_get_form',
'page arguments' => array('views_ui_admin_tools'),
'type' => MENU_DEFAULT_LOCAL_TASK,
@@ -59,32 +59,32 @@ function views_ui_menu() {
);
$items['admin/build/views/tools/convert'] = $convert + array(
- 'title' => t('Convert'),
- 'description' => t('Convert stored Views 1 views.'),
+ 'title' => 'Convert',
+ 'description' => 'Convert stored Views 1 views.',
'page callback' => 'views_ui_admin_convert',
'type' => MENU_LOCAL_TASK,
'weight' => 1,
);
$items['admin/build/views1/delete'] = $convert + array(
- 'title' => t('Delete view'),
+ 'title' => 'Delete view',
'page callback' => 'drupal_get_form',
'page arguments' => array('views_ui_delete1_confirm', 4),
'type' => MENU_CALLBACK,
);
$items['admin/build/views1/convert'] = $convert + array(
- 'title' => t('Convert view'),
+ 'title' => 'Convert view',
'page callback' => 'views_ui_convert1',
'page arguments' => array(4),
'type' => MENU_CALLBACK,
);
$items['admin/build/views/delete/%views_ui_cache'] = $callback + array(
- 'title' => t('Delete view'),
+ 'title' => 'Delete view',
'page callback' => 'drupal_get_form',
'page arguments' => array('views_ui_delete_confirm', 4),
);
$items['admin/build/views/break-lock/%views_ui_cache'] = $callback + array(
- 'title' => t('Delete view'),
+ 'title' => 'Delete view',
'page callback' => 'drupal_get_form',
'page arguments' => array('views_ui_break_lock_confirm', 4),
);
@@ -107,7 +107,7 @@ function views_ui_menu() {
// Many line items for editing a view.
$items['admin/build/views/edit/%views_ui_cache'] = $base + array(
- 'title' => t('Edit'),
+ 'title' => 'Edit',
'page callback' => 'views_ui_edit_page',
'page arguments' => array(4),
'type' => MENU_LOCAL_TASK