modify text in login page
This commit is contained in:
+2
-4
@@ -80,8 +80,6 @@ export default {
|
||||
'Don\'t have an account?': 'Don\'t have an account?',
|
||||
'Create an account': 'Create an account',
|
||||
'Forget Password?': 'Forget Password?',
|
||||
'Please input username': 'Please input username',
|
||||
'Please input password': 'Please input password',
|
||||
'Username cannot be empty': 'Username cannot be empty',
|
||||
'Password cannot be empty': 'Password cannot be empty',
|
||||
'Confirmation password cannot be empty': 'Confirmation password cannot be empty',
|
||||
@@ -93,8 +91,8 @@ export default {
|
||||
'Passcode': 'Passcode',
|
||||
'Backup Code': 'Backup Code',
|
||||
'Verify': 'Verify',
|
||||
'Please input passcode': 'Please input passcode',
|
||||
'Please input backup code': 'Please input backup code',
|
||||
'Passcode cannot be empty': 'Passcode cannot be empty',
|
||||
'Backup code cannot be empty': 'Please input backup code',
|
||||
'Unable to verify': 'Unable to verify',
|
||||
'Use a backup code': 'Use a backup code',
|
||||
'Use a passcode': 'Use a passcode',
|
||||
|
||||
@@ -80,8 +80,6 @@ export default {
|
||||
'Don\'t have an account?': '还没有账号?',
|
||||
'Create an account': '创建新账号',
|
||||
'Forget Password?': '找回密码?',
|
||||
'Please input username': '请输入用户名',
|
||||
'Please input password': '请输入密码',
|
||||
'Username cannot be empty': '用户名不能为空',
|
||||
'Password cannot be empty': '密码不能为空',
|
||||
'Confirmation password cannot be empty': '确认密码不能为空',
|
||||
@@ -93,8 +91,8 @@ export default {
|
||||
'Passcode': '验证码',
|
||||
'Backup Code': '备用码',
|
||||
'Verify': '验证',
|
||||
'Please input passcode': '请输入验证码',
|
||||
'Please input backup code': '请输入备用码',
|
||||
'Passcode cannot be empty': '验证码不能为空',
|
||||
'Backup code cannot be empty': '备用码不能为空',
|
||||
'Unable to verify': '无法验证',
|
||||
'Use a backup code': '使用备用码',
|
||||
'Use a passcode': '使用验证码',
|
||||
|
||||
@@ -129,12 +129,12 @@ export default {
|
||||
const router = self.$f7router;
|
||||
|
||||
if (!this.username) {
|
||||
self.$alert('Please input username');
|
||||
self.$alert('Username cannot be empty');
|
||||
return;
|
||||
}
|
||||
|
||||
if (!this.password) {
|
||||
self.$alert('Please input password');
|
||||
self.$alert('Password cannot be empty');
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -193,10 +193,10 @@ export default {
|
||||
const router = self.$f7router;
|
||||
|
||||
if (this.twoFAVerifyType === 'passcode' && !this.passcode) {
|
||||
self.$alert('Please input passcode');
|
||||
self.$alert('Passcode cannot be empty');
|
||||
return;
|
||||
} else if (this.twoFAVerifyType === 'backupcode' && !this.backupCode) {
|
||||
self.$alert('Please input backup code');
|
||||
self.$alert('Backup code cannot be empty');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user