* Add saveSuccess to common lang files.

This commit is contained in:
liugang
2018-04-17 15:53:36 +08:00
parent b0e3ad7b52
commit e522b82a7e
23 changed files with 36 additions and 37 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ class webhook extends control
{
$this->webhook->create();
if(dao::isError()) $this->send(array('result' => 'fail', 'message' => dao::getError()));
$this->send(array('result' => 'success', 'message' => $this->lang->webhook->saveSuccess, 'locate' => inlink('browse')));
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => inlink('browse')));
}
$this->app->loadLang('action');
@@ -80,7 +80,7 @@ class webhook extends control
{
$this->webhook->update($id);
if(dao::isError()) $this->send(array('result' => 'fail', 'message' => dao::getError()));
$this->send(array('result' => 'success', 'message' => $this->lang->webhook->saveSuccess, 'locate' => inlink('browse')));
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => inlink('browse')));
}
$this->app->loadLang('action');
-1
View File
@@ -48,7 +48,6 @@ $lang->webhook->paramsList['date'] = 'Date';
$lang->webhook->paramsList['comment'] = 'Comment';
$lang->webhook->paramsList['text'] = 'Action Desc';
$lang->webhook->saveSuccess = 'Save success.';
$lang->webhook->confirmDelete = 'Are your sure delete this hook?';
$lang->webhook->trimWords = '';
-1
View File
@@ -48,7 +48,6 @@ $lang->webhook->paramsList['date'] = '操作日期';
$lang->webhook->paramsList['comment'] = '备注';
$lang->webhook->paramsList['text'] = '操作内容';
$lang->webhook->saveSuccess = '保存成功';
$lang->webhook->confirmDelete = '您确认要删除该webhook吗?';
$lang->webhook->trimWords = '了';
-1
View File
@@ -48,7 +48,6 @@ $lang->webhook->paramsList['date'] = '操作日期';
$lang->webhook->paramsList['comment'] = '備註';
$lang->webhook->paramsList['text'] = '操作內容';
$lang->webhook->saveSuccess = '保存成功';
$lang->webhook->confirmDelete = '您確認要刪除該webhook嗎?';
$lang->webhook->trimWords = '了';