* add ja language data to kindeditor.

This commit is contained in:
Catouse
2019-11-05 17:18:56 +08:00
parent fb894e51fd
commit 81a8539a36
4 changed files with 270 additions and 5 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ $method = $this->methodName;
if(!isset($config->$module->editor->$method)) return;
$editor = $config->$module->editor->$method;
$editor['id'] = explode(',', $editor['id']);
$editorLangs = array('en' => 'en', 'zh-cn' => 'zh_CN', 'zh-tw' => 'zh_TW');
$editorLangs = array('en' => 'en', 'zh-cn' => 'zh_CN', 'zh-tw' => 'zh_TW', 'ja' => 'ja');
$editorLang = isset($editorLangs[$app->getClientLang()]) ? $editorLangs[$app->getClientLang()] : 'en';
/* set uid for upload. */