新增一处后台语言

pull/279748/MERGE
Karson 2017-04-27 12:12:21 +08:00
parent dfef9dc051
commit 138ddbb2d3
2 changed files with 3 additions and 2 deletions

View File

@ -76,12 +76,12 @@ class Index extends Backend
$result = $this->auth->login($username, $password, $keeplogin ? 86400 : 0);
if ($result === true)
{
$this->success(__('Login success'), $url);
$this->success(__('Login successful'), $url);
return;
}
else
{
$this->success(__('Username or password is incorrect'), $url);
$this->error(__('Username or password is incorrect'), $url);
}
return;
}

View File

@ -107,6 +107,7 @@ return [
'Username or password is incorrect' => '用户名或密码不正确',
'Username is incorrect' => '用户名不正确',
'Password is incorrect' => '密码不正确',
'Login successful' => '登录成功!',
'Verification code is incorrect' => '验证码不正确',
'An unexpected error occurred' => '发生了一个意外错误,程序猿正在紧急处理中',
'This page will be re-directed in %s seconds' => '页面将在 %s 秒后自动跳转',