* finish task #6042.

This commit is contained in:
wangyidong
2019-07-05 09:13:01 +08:00
parent 4df1ef92ff
commit 6d1dbcebc4
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -160,6 +160,13 @@ class translate extends control
if($_POST)
{
$statusFile = $this->loadModel('upgrade')->checkSafeFile();
if($statusFile)
{
$this->app->loadLang('editor');
$this->send(array('result' => 'fail', 'message' => str_replace('\n', '<br />', sprintf($this->lang->editor->noticeOkFile, $statusFile))));
}
$this->translate->addTranslation($language, $module, $referLang);
if(dao::isError()) $this->send(array('result' => 'fail', 'message' => dao::getError()));
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => 'reload'));
+1
View File
@@ -0,0 +1 @@
code{padding-left: 0px !important;}