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/tracker | |
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/tracker')
-rw-r--r-- | modules/tracker/tracker.module | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index 9f924d649..5c290d115 100644 --- a/modules/tracker/tracker.module +++ b/modules/tracker/tracker.module @@ -24,34 +24,34 @@ function tracker_help($section) { */ function tracker_menu() { $items['tracker'] = array( - 'title' => t('Recent posts'), + 'title' => 'Recent posts', 'page callback' => 'tracker_page', 'access arguments' => array('access content'), 'weight' => 1, ); $items['tracker/all'] = array( - 'title' => t('All recent posts'), + 'title' => 'All recent posts', 'type' => MENU_DEFAULT_LOCAL_TASK, 'access callback' => 'user_is_logged_in', ); $items['tracker/%user_current'] = array( - 'title' => t('My recent posts'), + 'title' => 'My recent posts', 'type' => MENU_LOCAL_TASK, 'access callback' => 'user_is_logged_in', 'access arguments' => array(1), ); $items['user/%user/track'] = array( - 'title' => t('Track'), + 'title' => 'Track', 'page callback' => 'tracker_track_user', 'access callback' => 'user_access', 'access arguments' => array('access content'), 'type' => MENU_LOCAL_TASK, ); $items['user/%user/track/posts'] = array( - 'title' => t('Track posts'), + 'title' => 'Track posts', 'type' => MENU_DEFAULT_LOCAL_TASK, ); return $items; |