summaryrefslogtreecommitdiff
path: root/modules/profile
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-04-30 17:03:29 +0000
committerDries Buytaert <dries@buytaert.net>2007-04-30 17:03:29 +0000
commit7d4f2836ba303c3ac2657eb019419c04471fb034 (patch)
treed0e6024a791b6d00e16d60284de879d9deae7156 /modules/profile
parentb93ce19a9c04870647eb4567b94d3a894ba280e7 (diff)
downloadbrdo-7d4f2836ba303c3ac2657eb019419c04471fb034.tar.gz
brdo-7d4f2836ba303c3ac2657eb019419c04471fb034.tar.bz2
- Patch #128082 by Goba et al: Allow localization of built-in menu items.
Diffstat (limited to 'modules/profile')
-rw-r--r--modules/profile/profile.module16
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index e023962ff..93fccc078 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -69,41 +69,41 @@ function profile_theme() {
*/
function profile_menu() {
$items['profile'] = array(
- 'title' => t('User list'),
+ 'title' => 'User list',
'page callback' => 'profile_browse',
'access arguments' => array('access user profiles'),
'type' => MENU_SUGGESTED_ITEM,
);
$items['admin/user/profile'] = array(
- 'title' => t('Profiles'),
- 'description' => t('Create customizable fields for your users.'),
+ 'title' => 'Profiles',
+ 'description' => 'Create customizable fields for your users.',
'page callback' => 'profile_admin_overview',
);
$items['admin/user/profile/add'] = array(
- 'title' => t('Add field'),
+ 'title' => 'Add field',
'page callback' => 'drupal_get_form',
'page arguments' => array('profile_field_form'),
'type' => MENU_CALLBACK,
);
$items['admin/user/profile/autocomplete'] = array(
- 'title' => t('Profile category autocomplete'),
+ 'title' => 'Profile category autocomplete',
'page callback' => 'profile_admin_settings_autocomplete',
'type' => MENU_CALLBACK,
);
$items['admin/user/profile/edit'] = array(
- 'title' => t('Edit field'),
+ 'title' => 'Edit field',
'page callback' => 'drupal_get_form',
'page arguments' => array('profile_field_form'),
'type' => MENU_CALLBACK,
);
$items['admin/user/profile/delete'] = array(
- 'title' => t('Delete field'),
+ 'title' => 'Delete field',
'page callback' => 'drupal_get_form',
'page arguments' => array('profile_field_delete'),
'type' => MENU_CALLBACK,
);
$items['profile/autocomplete'] = array(
- 'title' => t('Profile autocomplete'),
+ 'title' => 'Profile autocomplete',
'page callback' => 'profile_autocomplete',
'access arguments' => array('access user profiles'),
'type' => MENU_CALLBACK,