add 2fa settings

This commit is contained in:
MaysWind
2020-11-02 00:02:40 +08:00
parent 7dc628cfcc
commit 78937d16d2
12 changed files with 535 additions and 8 deletions
+16
View File
@@ -46,6 +46,7 @@ export default {
'parameter': {
'username': '用户名',
'password': '密码',
'passcode': '验证码',
'email': '电子邮箱',
'nickname': '昵称',
'oldPassword': '当前密码',
@@ -66,6 +67,11 @@ export default {
'Update': '更新',
'Done': '完成',
'Continue': '继续',
'Status': '状态',
'Enable': '启用',
'Enabled': '启用',
'Disable': '禁用',
'Disabled': '禁用',
'Version': '版本',
'User': '用户',
'Application': '应用',
@@ -128,6 +134,16 @@ export default {
'Other Device': '其他设备',
'Are you sure you want to logout from this session?': '您确定是否要退出该会话?',
'Unable to logout from this session': '无法退出该会话',
'Regenerate Backup Codes': '重新生成备用码',
'Please use two factor authentication app scan the below qrcode and input current passcode': '请使用两步验证应用扫描下方的二维码并输入当前的验证码',
'Please enter your current password when disable two factor authentication': '禁用两步验证时需要输入您的当前密码',
'Please enter your current password when regenerate two factor authentication backup codes. If you regenerate backup codes, the old codes will be invalidated.': '重新生成两步验证备用码时需要输入您的当前密码。如果您重新生成备用码,之前的备用码将失效。',
'Please copy these backup codes to safe place, the below codes can only be shown once. If these codes were lost, you can regenerate backup codes at any time.': '请将备用码复制到安全的地方,下列备用码只会展示一次。如果这些备用码丢失,您可以随时重新生成备用码。',
'Backup codes copied': '备用码已复制',
'Two factor authentication has been disabled': '两步验证已经禁用',
'Unable to get current two factor authentication status': '无法获取当前两步验证状态',
'Unable to enable two factor authentication': '无法启用两步验证',
'Unable to disable two factor authentication': '无法禁用两步验证',
'Log Out': '退出登录',
'Are you sure you want to log out?': '您确定是否要退出登录?',
'Unable to logout': '无法退出登录',