正在显示
2 个修改的文件
包含
3 行增加
和
2 行删除
@@ -76,12 +76,12 @@ class Index extends Backend | @@ -76,12 +76,12 @@ class Index extends Backend | ||
76 | $result = $this->auth->login($username, $password, $keeplogin ? 86400 : 0); | 76 | $result = $this->auth->login($username, $password, $keeplogin ? 86400 : 0); |
77 | if ($result === true) | 77 | if ($result === true) |
78 | { | 78 | { |
79 | - $this->success(__('Login success'), $url); | 79 | + $this->success(__('Login successful'), $url); |
80 | return; | 80 | return; |
81 | } | 81 | } |
82 | else | 82 | else |
83 | { | 83 | { |
84 | - $this->success(__('Username or password is incorrect'), $url); | 84 | + $this->error(__('Username or password is incorrect'), $url); |
85 | } | 85 | } |
86 | return; | 86 | return; |
87 | } | 87 | } |
@@ -107,6 +107,7 @@ return [ | @@ -107,6 +107,7 @@ return [ | ||
107 | 'Username or password is incorrect' => '用户名或密码不正确', | 107 | 'Username or password is incorrect' => '用户名或密码不正确', |
108 | 'Username is incorrect' => '用户名不正确', | 108 | 'Username is incorrect' => '用户名不正确', |
109 | 'Password is incorrect' => '密码不正确', | 109 | 'Password is incorrect' => '密码不正确', |
110 | + 'Login successful' => '登录成功!', | ||
110 | 'Verification code is incorrect' => '验证码不正确', | 111 | 'Verification code is incorrect' => '验证码不正确', |
111 | 'An unexpected error occurred' => '发生了一个意外错误,程序猿正在紧急处理中', | 112 | 'An unexpected error occurred' => '发生了一个意外错误,程序猿正在紧急处理中', |
112 | 'This page will be re-directed in %s seconds' => '页面将在 %s 秒后自动跳转', | 113 | 'This page will be re-directed in %s seconds' => '页面将在 %s 秒后自动跳转', |
-
请 注册 或 登录 后发表评论