aboutsummaryrefslogtreecommitdiffstats
path: root/lib.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib.php')
-rw-r--r--lib.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib.php b/lib.php
index 3ea4d47..4b573d5 100644
--- a/lib.php
+++ b/lib.php
@@ -235,7 +235,7 @@ function _mgnav_html($wrap = false, $lang = 'en', $inject = null, $vhost = 'www.
array('downloads', '//$S/$L/downloads/', l10n::_t('Downloads'), l10n::_t('Download Mageia ISO and updates.')),
array('support', '//$S/$L/support/', l10n::_t('Support'), l10n::_t('Get support from Mageia community.')),
array('wiki', '//wiki.mageia.org/', l10n::_t('Wiki'), l10n::_t('Wiki of the Mageia Community')),
- array('doc', '//doc.mageia.org/', l10n::_t('Docs'), l10n::_t('Documentations of Mageia')),
+ array('doc', '//$S/$L/doc/', l10n::_t('Docs'), l10n::_t('Documentations of Mageia')),
array('community', '//$S/$L/community/', l10n::_t('Community'), l10n::_t('')),
array('contribute', '//$S/$L/contribute/', l10n::_t('Contribute'), l10n::_t('You too can build Mageia with us!')),
array('donate', '//$S/$L/donate/', l10n::_t('Donate'), l10n::_t('')),
@@ -293,6 +293,7 @@ function _lang_check($s = null)
}
$supported = array(
+ 'ast',
'cs',
'de',
'el', 'en', 'eo', 'es', 'et',
@@ -304,7 +305,7 @@ function _lang_check($s = null)
'ro', 'ru',
'sl',
'tr',
- 'uk',
+ 'uk', 'ur',
'zh-cn', 'zh-tw'
);