* Add saveSuccess to common lang files.
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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 = '';
|
||||
|
||||
@@ -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 = '了';
|
||||
|
||||
@@ -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 = '了';
|
||||
|
||||
Reference in New Issue
Block a user