From 480eaf4a4961f13ef5dc07c8db052cc4d9f1afa1 Mon Sep 17 00:00:00 2001 From: Filip Komar Date: Wed, 19 Mar 2014 18:01:04 +0000 Subject: page map converted to gettext --- en/map/index.php | 100 +++++++++++++++++++++++++++---------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) (limited to 'en/map') diff --git a/en/map/index.php b/en/map/index.php index 302f70737..75018624e 100644 --- a/en/map/index.php +++ b/en/map/index.php @@ -2,92 +2,92 @@ define('HLANG', true); require '../../langs.php'; -_lang_load($locale, 'map'); +$dictionary = read_translation_file($locale, 'map'); $map = array( 'about' => array( - 't' => _t('About Mageia'), + 't' => _r('About Mageia'), 'l' => '/{L}/about/', 'i' => array( - array('t' => _t('Mission'), 'l' => '/{L}/about/'), - array('t' => _t('News'), 'l' => '//blog.mageia.org/'), - array('t' => _t('Contacts'), 'l' => '/{L}/contact/'), - array('t' => _t('Supporters'), 'l' => '/{L}/thank-you/'), - array('t' => _t('Governance'), 'l' => 'https://wiki.mageia.org/en/Org', + array('t' => _r('Mission'), 'l' => '/{L}/about/'), + array('t' => _r('News'), 'l' => '//blog.mageia.org/'), + array('t' => _r('Contacts'), 'l' => '/{L}/contact/'), + array('t' => _r('Supporters'), 'l' => '/{L}/thank-you/'), + array('t' => _r('Governance'), 'l' => 'https://wiki.mageia.org/en/Org', 'i' => array( - array('t' => _t('Board'), 'l' => 'https://wiki.mageia.org/en/Org_Board'), - array('t' => _t('Council'), 'l' => 'https://wiki.mageia.org/en/Org_Council'), - array('t' => _t('Teams'), 'l' => 'https://wiki.mageia.org/en/Contributing') + array('t' => _r('Board'), 'l' => 'https://wiki.mageia.org/en/Org_Board'), + array('t' => _r('Council'), 'l' => 'https://wiki.mageia.org/en/Org_Council'), + array('t' => _r('Teams'), 'l' => 'https://wiki.mageia.org/en/Contributing') ), ), - array('t' => _t('Values'), 'l' => '/{L}/about/values/'), - array('t' => _t('Code of conduct'), 'l' => '/{L}/about/code-of-conduct/'), + array('t' => _r('Values'), 'l' => '/{L}/about/values/'), + array('t' => _r('Code of conduct'), 'l' => '/{L}/about/code-of-conduct/'), array('t' => 'Mageia.Org', 'l' => '/{L}/about/', 'i' => array( - array('t' => _t('Constitution'), 'l' => '/{L}/about/constitution/'), - array('t' => _t('Reports'), 'l' => '/{L}/about/reports/') + array('t' => _r('Constitution'), 'l' => '/{L}/about/constitution/'), + array('t' => _r('Reports'), 'l' => '/{L}/about/reports/') ) ), - array('t' => _t('License'), 'l' => '/{L}/about/license/'), - array('t' => _t('Timeline'), 'l' => '/{L}/timeline/'), - array('t' => _t('Financial Infos'), 'l' => '//treasurer.mageia.org/'), + array('t' => _r('License'), 'l' => '/{L}/about/license/'), + array('t' => _r('Timeline'), 'l' => '/{L}/timeline/'), + array('t' => _r('Financial Infos'), 'l' => '//treasurer.mageia.org/'), ) ), 'downloads' => array( - 't' => _t('Downloads'), + 't' => _r('Downloads'), 'l' => '/{L}/downloads/', 'i' => array( - //array('t' => _t('5 (in development)', 'l' => '/{L}/5/'), - array('t' => _t('4 (February 2014)'), 'l' => '/{L}/4/'), - array('t' => _t('3 (May 2013)'), 'l' => '/{L}/3/'), - array('t' => _t('2 (May 2012)'), 'l' => '/{L}/2/'), - array('t' => _t('1 (June 2011)'), 'l' => '/{L}/1/'), - array('t' => _t('Download mirrors'), 'l' => '//mirrors.mageia.org/') + //array('t' => _r('5 (in development)', 'l' => '/{L}/5/'), + array('t' => _r('4 (February 2014)'), 'l' => '/{L}/4/'), + array('t' => _r('3 (May 2013)'), 'l' => '/{L}/3/'), + array('t' => _r('2 (May 2012)'), 'l' => '/{L}/2/'), + array('t' => _r('1 (June 2011)'), 'l' => '/{L}/1/'), + array('t' => _r('Download mirrors'), 'l' => '//mirrors.mageia.org/') ) ), 'support' => array( - 't' => _t('Support'), + 't' => _r('Support'), 'l' => '/{L}/support/', 'i' => array( - array('t' => _t('Software updates'), 'l' => '//advisories.mageia.org/'), // /updates - array('t' => _t('Product lifecycle'), 'l' => '/{L}/support/'), // /lifecycle - array('t' => _t('Official Documentation'),'l' => '/{L}/doc/'), // documentation - array('t' => _t('Community support'), 'l' => '/{L}/support'), - array('t' => _t('Professional support'), 'l' => 'https://wiki.mageia.org/en/Commercial_vendors'), - array('t' => _t('Compatible hardware'), 'l' => '/{L}/support/'), // /hardware - array('t' => _t('FAQ'), 'l' => 'https://wiki.mageia.org/en/FAQ'), // /faq + array('t' => _r('Software updates'), 'l' => '//advisories.mageia.org/'), // /updates + array('t' => _r('Product lifecycle'), 'l' => '/{L}/support/'), // /lifecycle + array('t' => _r('Official Documentation'),'l' => '/{L}/doc/'), // documentation + array('t' => _r('Community support'), 'l' => '/{L}/support'), + array('t' => _r('Professional support'), 'l' => 'https://wiki.mageia.org/en/Commercial_vendors'), + array('t' => _r('Compatible hardware'), 'l' => '/{L}/support/'), // /hardware + array('t' => _r('FAQ'), 'l' => 'https://wiki.mageia.org/en/FAQ'), // /faq ) ), 'community' => array( - 't' => _t('Community'), + 't' => _r('Community'), 'l' => '/{L}/community/', 'i' => array( - array('t' => _t('Planet'), 'l' => _d('https://planet.mageia.org/en/')), - array('t' => _t('Blog'), 'l' => _d('https://blog.mageia.org/en/')), - array('t' => _t('Calendar'), 'l' => '/{L}/calendar/'), - array('t' => _t('Mailing-lists'), 'l' => 'https://wiki.mageia.org/en/Mailing_lists'), + array('t' => _r('Planet'), 'l' => _r('https://planet.mageia.org/en/')), + array('t' => _r('Blog'), 'l' => _r('https://blog.mageia.org/en/')), + array('t' => _r('Calendar'), 'l' => '/{L}/calendar/'), + array('t' => _r('Mailing-lists'), 'l' => 'https://wiki.mageia.org/en/Mailing_lists'), array('t' => 'IRC', 'l' => 'https://wiki.mageia.org/en/IRC'), - array('t' => _t('Forums'), 'l' => _d('https://forums.mageia.org/')), + array('t' => _r('Forums'), 'l' => _r('https://forums.mageia.org/')), array('t' => 'Wiki', 'l' => 'https://wiki.mageia.org/'), array('t' => 'Bugzilla', 'l' => 'https://bugs.mageia.org/'), - array('t' => _t('People'), 'l' => '//people.mageia.org/'), + array('t' => _r('People'), 'l' => '//people.mageia.org/'), ) ), 'contribute' => array( - 't' => _t('Contribute'), + 't' => _r('Contribute'), 'l' => '/{L}/contribute/', 'i' => array( - array('t' => _t('Why contribute?'), 'l' => '/{L}/contribute/#why'), - array('t' => _t('How to contribute?'), 'l' => '/{L}/contribute/#how'), - array('t' => _t('Donate'), 'l' => '/{L}/donate/'), + array('t' => _r('Why contribute?'), 'l' => '/{L}/contribute/#why'), + array('t' => _r('How to contribute?'), 'l' => '/{L}/contribute/#how'), + array('t' => _r('Donate'), 'l' => '/{L}/donate/'), ) ), 'you' => array( - 't' => _t('About you'), + 't' => _r('About you'), 'l' => 'https://identity.mageia.org/', 'i' => array( - array('t' => _t('Your Mageia id'), 'l' => 'https://identity.mageia.org/'), - array('t' => _t('Privacy policy'), 'l' => 'https://wiki.mageia.org/en/Privacy_policy') + array('t' => _r('Your Mageia id'), 'l' => 'https://identity.mageia.org/'), + array('t' => _r('Privacy policy'), 'l' => 'https://wiki.mageia.org/en/Privacy_policy') ) ) ); @@ -120,8 +120,8 @@ $sMap .= ''; - <?php echo _e('Mageia.org site map') ?> - + <?php echo _g('Mageia.org site map') ?> + @@ -129,14 +129,14 @@ $sMap .= ''; -

+


-- cgit v1.2.1