diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-04-30 17:03:29 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-04-30 17:03:29 +0000 |
commit | 7d4f2836ba303c3ac2657eb019419c04471fb034 (patch) | |
tree | d0e6024a791b6d00e16d60284de879d9deae7156 /modules/contact | |
parent | b93ce19a9c04870647eb4567b94d3a894ba280e7 (diff) | |
download | brdo-7d4f2836ba303c3ac2657eb019419c04471fb034.tar.gz brdo-7d4f2836ba303c3ac2657eb019419c04471fb034.tar.bz2 |
- Patch #128082 by Goba et al: Allow localization of built-in menu items.
Diffstat (limited to 'modules/contact')
-rw-r--r-- | modules/contact/contact.module | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/contact/contact.module b/modules/contact/contact.module index e22bd1a55..e8cb12851 100644 --- a/modules/contact/contact.module +++ b/modules/contact/contact.module @@ -42,50 +42,50 @@ function contact_perm() { */ function contact_menu() { $items['admin/build/contact'] = array( - 'title' => t('Contact form'), - 'description' => t('Create a system contact form and set up categories for the form to use.'), + 'title' => 'Contact form', + 'description' => 'Create a system contact form and set up categories for the form to use.', 'page callback' => 'contact_admin_categories', 'access arguments' => array('administer site configuration'), ); $items['admin/build/contact/list'] = array( - 'title' => t('List'), + 'title' => 'List', 'page callback' => 'contact_admin_categories', 'type' => MENU_DEFAULT_LOCAL_TASK, ); $items['admin/build/contact/add'] = array( - 'title' => t('Add category'), + 'title' => 'Add category', 'page callback' => 'drupal_get_form', 'page arguments' => array('contact_admin_edit'), 'type' => MENU_LOCAL_TASK, 'weight' => 1, ); $items['admin/build/contact/edit'] = array( - 'title' => t('Edit contact category'), + 'title' => 'Edit contact category', 'page callback' => 'drupal_get_form', 'page arguments' => array('contact_admin_edit'), 'type' => MENU_CALLBACK, ); $items['admin/build/contact/delete'] = array( - 'title' => t('Delete contact'), + 'title' => 'Delete contact', 'page callback' => 'drupal_get_form', 'page arguments' => array('contact_admin_delete'), 'type' => MENU_CALLBACK, ); $items['admin/build/contact/settings'] = array( - 'title' => t('Settings'), + 'title' => 'Settings', 'page callback' => 'drupal_get_form', 'page arguments' => array('contact_admin_settings'), 'type' => MENU_LOCAL_TASK, 'weight' => 2, ); $items['contact'] = array( - 'title' => t('Contact'), + 'title' => 'Contact', 'page callback' => 'contact_site_page', 'access arguments' => array('access site-wide contact form'), 'type' => MENU_SUGGESTED_ITEM, ); $items['user/%user/contact'] = array( - 'title' => t('Contact'), + 'title' => 'Contact', 'page callback' => 'contact_user_page', 'page arguments' => array(1), 'type' => MENU_LOCAL_TASK, |