From aaa06c57e609a0c57dec355ff0db95938dd40b25 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Wed, 28 Jul 2010 04:13:26 -0700 Subject: i18n nav menu --- include/nav.php | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'include') diff --git a/include/nav.php b/include/nav.php index a47d55d9a..adcef77f2 100644 --- a/include/nav.php +++ b/include/nav.php @@ -1,33 +1,36 @@ page['nav'] .= "" . t('Logout') . "\r\n"; + $a->page['nav'] .= '' . t('Logout') . "\r\n"; } $a->page['nav'] .= "\r\n"; if(($a->module != 'home') && (! (x($_SESSION['uid'])))) - $a->page['nav'] .= "Home\r\n"; + $a->page['nav'] .= '' . t('Home') . "\r\n"; - $a->page['nav'] .= "Site Directory\r\n"; + $a->page['nav'] .= '' . t('Site Directory') . "\r\n"; if(x($_SESSION,'uid')) { - $a->page['nav'] .= "Network\r\n"; + $a->page['nav'] .= '' . t('Network') + . '' . "\r\n"; - $a->page['nav'] .= "user['nickname']}\">Home\r\n"; + $a->page['nav'] .= '' + . t('Home') . '' . "\r\n"; - $a->page['nav'] .= "Notifications\r\n"; + $a->page['nav'] .= '' . t('Notifications') + . '' . "\r\n"; - $a->page['nav'] .= "Messages\r\n"; + $a->page['nav'] .= '' . t('Messages') + . '' . "\r\n"; + $a->page['nav'] .= '' . t('Settings') . "\r\n"; - $a->page['nav'] .= "Settings\r\n"; + $a->page['nav'] .= '' . t('Profiles') . "\r\n"; - $a->page['nav'] .= "Profiles\r\n"; - - $a->page['nav'] .= "Contacts\r\n"; + $a->page['nav'] .= '' . t('Contacts') . "\r\n"; -- cgit v1.2.3