1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 04:10:38 +02:00

Issue #1709 Fix for Chinese languages.

This commit is contained in:
Cameron
2016-06-17 18:38:25 -07:00
parent f88832eec7
commit 2e61ca12b9

View File

@@ -232,8 +232,8 @@ class wysiwyg
'Bosnian' => 'bs', 'Bosnian' => 'bs',
'Bulgarian' => 'bg_BG', 'Bulgarian' => 'bg_BG',
'Catalan' => 'ca', 'Catalan' => 'ca',
// 'Chinese (China)' => 'zh_CN', 'ChineseSimp' => 'zh_CN',
// 'Chinese (Taiwan)' => 'zh_TW', 'ChineseTrad' => 'zh_TW',
'Croatian' => 'hr', 'Croatian' => 'hr',
'Czech' => 'cs', 'Czech' => 'cs',
// 'Czech (Czech Republic)' => 'cs_CZ', // 'Czech (Czech Republic)' => 'cs_CZ',
@@ -913,7 +913,7 @@ class wysiwyg
function getTemplates() function getTemplates()
{ {
$templatePath = (is_readable(THEME."templates/tinymce/".$template)) ? THEME."templates/tinymce/".$template : e_PLUGIN."tinymce4/templates/".$template; // $templatePath = (is_readable(THEME."templates/tinymce/".$template)) ? THEME."templates/tinymce/".$template : e_PLUGIN."tinymce4/templates/".$template;