diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-06-01 16:37:53 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-06-01 16:37:53 +0000 |
commit | bedc51df0710a9d804337485eec80f2de3088196 (patch) | |
tree | ac3b2c1d772d36dcf10fcf1578bbd9758a24dc06 | |
parent | 431344604e160e6cd69d5194a20d5ba8105ca636 (diff) | |
download | www-bedc51df0710a9d804337485eec80f2de3088196.tar www-bedc51df0710a9d804337485eec80f2de3088196.tar.gz www-bedc51df0710a9d804337485eec80f2de3088196.tar.bz2 www-bedc51df0710a9d804337485eec80f2de3088196.tar.xz www-bedc51df0710a9d804337485eec80f2de3088196.zip |
l10ned nav
-rw-r--r-- | en/1/nav.php | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/en/1/nav.php b/en/1/nav.php index 8a0d29ae9..6a40848d1 100644 --- a/en/1/nav.php +++ b/en/1/nav.php @@ -1,11 +1,21 @@ <?php +$_nt = array( + 'en' => array('for-you' => 'For You', 'dl' => 'Download', 'next' => 'And Next?', 'notes' => 'Notes'), + 'fr' => array('for-you' => 'Pour Vous', 'dl' => 'Télécharger', 'next' => 'Et après ?') +); + +if (array_key_exists($locale, $_nt)) + $_nt = array_merge($_nt['en'], $_nt[$locale]); +else + $_nt = $_nt['en']; + $nav = array( "/{$locale}/1/" => '1', - "/{$locale}/1/for-you/" => 'For You', - "/{$locale}/downloads/" => 'Download', - "/{$locale}/1/next/" => 'And next?', - "/{$locale}/1/notes/" => 'Notes' + "/{$locale}/1/for-you/" => $_nt['for-you'], + "/{$locale}/downloads/" => $_nt['dl'], + "/{$locale}/1/next/" => $_nt['next'], + "/{$locale}/1/notes/" => $_nt['notes'] ); $sru = trim($_SERVER['REQUEST_URI']); |