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/profile | |
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/profile')
-rw-r--r-- | modules/profile/profile.module | 16 |
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, |