code refactor

This commit is contained in:
MaysWind
2020-11-08 20:06:25 +08:00
parent 180ae7cb72
commit da4083138c
2 changed files with 22 additions and 22 deletions
+11 -11
View File
@@ -177,17 +177,6 @@ export default {
'incomplete or incorrect submission': 'Incomplete or incorrect submission',
'operation failed': 'Operation failed',
'nothing will be updated': 'Nothing will be updated',
'unauthorized access': 'Unauthorized access',
'current token is invalid': 'Current token is invalid',
'current token is expired': 'Current token is expired',
'current token type is invalid': 'Current token type is invalid',
'current token requires two factor authorization': 'Current token requires two factor authorization',
'current token does not require two factor authorization': 'Current token does not require two factor authorization',
'token is invalid': 'Token is invalid',
'token id is invalid': 'Token id is invalid',
'user token id is invalid': 'User token id is invalid',
'token is not found': 'Token is not found',
'token is expired': 'Token is expired',
'user id is invalid': 'User id is invalid',
'username is empty': 'Username is empty',
'email is empty': 'Email is empty',
@@ -199,6 +188,17 @@ export default {
'login name is invalid': 'Login name is invalid',
'login name or password is invalid': 'Login name or password is invalid',
'login name or password is wrong': 'Login name or password is wrong',
'unauthorized access': 'Unauthorized access',
'current token is invalid': 'Current token is invalid',
'current token is expired': 'Current token is expired',
'current token type is invalid': 'Current token type is invalid',
'current token requires two factor authorization': 'Current token requires two factor authorization',
'current token does not require two factor authorization': 'Current token does not require two factor authorization',
'token is invalid': 'Token is invalid',
'token id is invalid': 'Token id is invalid',
'user token id is invalid': 'User token id is invalid',
'token is not found': 'Token is not found',
'token is expired': 'Token is expired',
'passcode is invalid': 'Passcode is invalid',
'two factor backup code is invalid': 'Two factor backup code is invalid',
'two factor is not enabled': 'Two factor is not enabled',
+11 -11
View File
@@ -177,17 +177,6 @@ export default {
'incomplete or incorrect submission': '提交不完整或不正确',
'operation failed': '操作失败',
'nothing will be updated': '没有内容更新',
'unauthorized access': '未授权的登录',
'current token is invalid': '当前认证令牌无效',
'current token is expired': '当前认证令牌已过期',
'current token type is invalid': '当前认证令牌类型无效',
'current token requires two factor authorization': '当前认证令牌需要两步验证',
'current token does not require two factor authorization': '当前认证令牌不需要两步验证',
'token is invalid': '认证令牌无效',
'token id is invalid': '认证令牌ID无效',
'user token id is invalid': '用户认证令牌ID无效',
'token is not found': '认证令牌不存在',
'token is expired': '认证令牌已过期',
'user id is invalid': '用户ID无效',
'username is empty': '用户名为空',
'email is empty': '电子邮箱为空',
@@ -199,6 +188,17 @@ export default {
'login name is invalid': '登录名无效',
'login name or password is invalid': '登录名或密码无效',
'login name or password is wrong': '登录名或密码错误',
'unauthorized access': '未授权的登录',
'current token is invalid': '当前认证令牌无效',
'current token is expired': '当前认证令牌已过期',
'current token type is invalid': '当前认证令牌类型无效',
'current token requires two factor authorization': '当前认证令牌需要两步验证',
'current token does not require two factor authorization': '当前认证令牌不需要两步验证',
'token is invalid': '认证令牌无效',
'token id is invalid': '认证令牌ID无效',
'user token id is invalid': '用户认证令牌ID无效',
'token is not found': '认证令牌不存在',
'token is expired': '认证令牌已过期',
'passcode is invalid': '验证码无效',
'two factor backup code is invalid': '两步验证备用码无效',
'two factor is not enabled': '两步验证没有启用',