mirror of https://gitee.com/karson/fastadmin.git
新增一处后台语言
parent
dfef9dc051
commit
138ddbb2d3
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 秒后自动跳转',
|
||||
|
|
|
|||
Loading…
Reference in New Issue