From da4083138cc2287b58b3e20ca1d67e1a7aaee74e Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 8 Nov 2020 20:06:25 +0800 Subject: [PATCH] code refactor --- src/locales/en.js | 22 +++++++++++----------- src/locales/zh_Hans.js | 22 +++++++++++----------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/locales/en.js b/src/locales/en.js index c6f83050..a8b17560 100644 --- a/src/locales/en.js +++ b/src/locales/en.js @@ -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', diff --git a/src/locales/zh_Hans.js b/src/locales/zh_Hans.js index a0958b67..f0e9c2a3 100644 --- a/src/locales/zh_Hans.js +++ b/src/locales/zh_Hans.js @@ -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': '两步验证没有启用',