From bead05acbaef1cc4b2af5190e6a6059ecf5bd21e Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sun, 6 Oct 2013 23:50:20 +0200 Subject: [PATCH] More mappings for i18n::tinymce_lang --- i18n/i18n.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/i18n/i18n.php b/i18n/i18n.php index ff848ba3f..cd047f81e 100644 --- a/i18n/i18n.php +++ b/i18n/i18n.php @@ -1345,6 +1345,7 @@ class i18n extends Object implements TemplateGlobalProvider { * @var array */ private static $tinymce_lang = array( + 'ar_EG' => 'ar', 'ca_AD' => 'ca', 'ca_ES' => 'ca', 'cs_CZ' => 'cs', @@ -1495,15 +1496,15 @@ class i18n extends Object implements TemplateGlobalProvider { 'uk_UA' => 'uk', 'vi_VN' => 'vi', 'vi_US' => 'vi', - 'zh_CN' => 'zh_cn', - 'zh_HK' => 'zh_cn', - 'zh_MO' => 'zh_cn', - 'zh_SG' => 'zh_cn', - 'zh_TW' => 'zh_tw', - 'zh_ID' => 'zh_cn', - 'zh_MY' => 'zh_cn', - 'zh_TH' => 'zh_cn', - 'zh_US' => 'zn_cn', + 'zh_CN' => 'zh-cn', + 'zh_HK' => 'zh-cn', + 'zh_MO' => 'zh-cn', + 'zh_SG' => 'zh-cn', + 'zh_TW' => 'zh-tw', + 'zh_ID' => 'zh-cn', + 'zh_MY' => 'zh-cn', + 'zh_TH' => 'zh-cn', + 'zh_US' => 'zn-cn', );