From: tokul Date: Sun, 26 Jun 2005 07:47:16 +0000 (+0000) Subject: adding short language_country locale codes to some languages. This restores X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=efea6e4d914a28edf1b5ad75124eb9ac59cc75c2;p=squirrelmail.git adding short language_country locale codes to some languages. This restores previous SquirrelMail behaviour, but can cause problems in php 4.1.x, if short locale uses different character set. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9660 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/i18n.php b/functions/i18n.php index 554ab442..15db37f9 100644 --- a/functions/i18n.php +++ b/functions/i18n.php @@ -1137,7 +1137,7 @@ $languages['sv']['ALIAS'] = 'sv_SE'; $languages['th_TH']['NAME'] = 'Thai'; $languages['th_TH']['CHARSET'] = 'tis-620'; -$languages['th_TH']['LOCALE'] = 'th_TH.TIS-620'; +$languages['th_TH']['LOCALE'] = array('th_TH.TIS-620','th_TH'); $languages['th']['ALIAS'] = 'th_TH'; $languages['tl_PH']['NAME'] = 'Tagalog'; @@ -1152,12 +1152,12 @@ $languages['tr']['ALIAS'] = 'tr_TR'; $languages['zh_TW']['NAME'] = 'Chinese Trad'; $languages['zh_TW']['CHARSET'] = 'big5'; -$languages['zh_TW']['LOCALE'] = 'zh_TW.BIG5'; +$languages['zh_TW']['LOCALE'] = array('zh_TW.BIG5','zh_TW'); $languages['tw']['ALIAS'] = 'zh_TW'; $languages['zh_CN']['NAME'] = 'Chinese Simp'; $languages['zh_CN']['CHARSET'] = 'gb2312'; -$languages['zh_CN']['LOCALE'] = 'zh_CN.GB2312'; +$languages['zh_CN']['LOCALE'] = array('zh_CN.GB2312','zh_CN'); $languages['cn']['ALIAS'] = 'zh_CN'; $languages['uk_UA']['NAME'] = 'Ukrainian'; @@ -1183,12 +1183,12 @@ $languages['ar']['DIR'] = 'rtl'; $languages['fa_IR']['NAME'] = 'Farsi'; $languages['fa_IR']['CHARSET'] = 'utf-8'; $languages['fa_IR']['DIR'] = 'rtl'; -$languages['fa_IR']['LOCALE'] = 'fa_IR.UTF-8'; +$languages['fa_IR']['LOCALE'] = array('fa_IR.UTF-8','fa_IR'); $languages['fa']['ALIAS'] = 'fa_IR'; $languages['he_IL']['NAME'] = 'Hebrew'; $languages['he_IL']['CHARSET'] = 'windows-1255'; -$languages['he_IL']['LOCALE'] = 'he_IL.CP1255'; +$languages['he_IL']['LOCALE'] = array('he_IL.CP1255','he_IL'); $languages['he_IL']['DIR'] = 'rtl'; $languages['he']['ALIAS'] = 'he_IL';