From: Siebrand Mazeland Date: Thu, 19 Apr 2012 14:25:36 +0000 (+0200) Subject: Enable Belarusian (Taraškievica orthography) (be-tarask) and Malayalam (ml). X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=07138391f9c7fdde22992410c7002ab735feda19;p=quix0rs-gnu-social.git Enable Belarusian (Taraškievica orthography) (be-tarask) and Malayalam (ml). Remove some trailing whitespace. --- diff --git a/lib/language.php b/lib/language.php index 6bc6e074cd..7c97cc413f 100644 --- a/lib/language.php +++ b/lib/language.php @@ -194,12 +194,12 @@ function _m($msg/*, ...*/) function _mdomain($backtrace) { /* - 0 => + 0 => array 'file' => string '/var/www/mublog/plugins/FeedSub/FeedSubPlugin.php' (length=49) 'line' => int 77 'function' => string '_m' (length=2) - 'args' => + 'args' => array 0 => &string 'Feeds' (length=5) */ @@ -293,7 +293,7 @@ function get_nice_language_list() * Check whether a language is right-to-left * * @param string $lang language code of the language to check - * + * * @return boolean true if language is rtl */ @@ -318,6 +318,7 @@ function get_all_languages() { 'af' => array('q' => 0.8, 'lang' => 'af', 'name' => 'Afrikaans', 'direction' => 'ltr'), 'ar' => array('q' => 0.8, 'lang' => 'ar', 'name' => 'Arabic', 'direction' => 'rtl'), 'arz' => array('q' => 0.8, 'lang' => 'arz', 'name' => 'Egyptian Spoken Arabic', 'direction' => 'rtl'), + 'be-tarask' => array('q' => 0.5, 'lang' => 'be-tarask', 'name' => 'Belarusian (TaraÅ¡kievica orthography)', 'direction' => 'ltr'), 'bg' => array('q' => 0.8, 'lang' => 'bg', 'name' => 'Bulgarian', 'direction' => 'ltr'), 'br' => array('q' => 0.8, 'lang' => 'br', 'name' => 'Breton', 'direction' => 'ltr'), 'ca' => array('q' => 0.5, 'lang' => 'ca', 'name' => 'Catalan', 'direction' => 'ltr'), @@ -347,6 +348,7 @@ function get_all_languages() { 'ka' => array('q' => 0.8, 'lang' => 'ka', 'name' => 'Georgian', 'direction' => 'ltr'), 'ko' => array('q' => 0.9, 'lang' => 'ko', 'name' => 'Korean', 'direction' => 'ltr'), 'mk' => array('q' => 0.5, 'lang' => 'mk', 'name' => 'Macedonian', 'direction' => 'ltr'), + 'ml' => array('q' => 0.5, 'lang' => 'ml', 'name' => 'Malayalam', 'direction' => 'ltr'), 'nb' => array('q' => 0.1, 'lang' => 'nb', 'name' => 'Norwegian (BokmÃ¥l)', 'direction' => 'ltr'), 'no' => array('q' => 0.1, 'lang' => 'nb', 'name' => 'Norwegian (BokmÃ¥l)', 'direction' => 'ltr'), 'nn' => array('q' => 1, 'lang' => 'nn', 'name' => 'Norwegian (Nynorsk)', 'direction' => 'ltr'),