diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index 4fa265eb6..05ae4efb8 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -891,6 +891,14 @@ const message = { mfaHelper1: 'Download a MFA verification mobile app e.g.:', mfaHelper2: 'Scan the following QR code using the mobile app to obtain the 6-digit verification code', mfaHelper3: 'Enter six digits from the app', + mfaSecret: 'Secret', + mfaTypeOption: 'Select the method of obtaining the secret', + qrCode: 'QR code', + manualInput: 'Manual input', + mfaCode: 'Code', + sslDisable: 'Disable', + sslDisableHelper: + 'If the https service is disabled, you need to restart the panel for it to take effect. Do you want to continue?', https: 'Setting up HTTPS protocol access for the panel can enhance the security of panel access.', selfSigned: 'Self signed', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index 42b798c19..5a061584a 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -873,17 +873,6 @@ const message = { password: '密码', path: '路径', - https: '为面板设置 https 协议访问,提升面板访问安全性', - selfSigned: '自签名', - selfSignedHelper: '自签证书,不被浏览器信任,显示不安全是正常现象', - import: '导入', - select: '选择已有', - domainOrIP: '域名/IP:', - timeOut: '过期时间:', - rootCrtDownload: '根证书下载', - primaryKey: '密钥', - certificate: '证书', - snapshot: '快照', thirdPartySupport: '仅支持第三方账号', recoverDetail: '恢复详情', @@ -939,9 +928,25 @@ const message = { mfaHelper1: '下载两步验证手机应用 如:', mfaHelper2: '使用手机应用扫描以下二维码,获取 6 位验证码', mfaHelper3: '输入手机应用上的 6 位数字', + mfaSecret: '验证密钥', + mfaTypeOption: '选择获取密钥方式', + qrCode: '二维码', + manualInput: '手动输入', + mfaCode: '验证码', sslDisable: '禁用', sslDisableHelper: '禁用 https 服务,需要重启面板才能生效,是否继续?', + https: '为面板设置 https 协议访问,提升面板访问安全性', + selfSigned: '自签名', + selfSignedHelper: '自签证书,不被浏览器信任,显示不安全是正常现象', + import: '导入', + select: '选择已有', + domainOrIP: '域名/IP:', + timeOut: '过期时间:', + rootCrtDownload: '根证书下载', + primaryKey: '密钥', + certificate: '证书', + monitor: '监控', enableMonitor: '监控状态', storeDays: '保存天数', diff --git a/frontend/src/views/setting/safe/index.vue b/frontend/src/views/setting/safe/index.vue index 426f5a696..eedc85ac9 100644 --- a/frontend/src/views/setting/safe/index.vue +++ b/frontend/src/views/setting/safe/index.vue @@ -73,7 +73,8 @@ {{ $t('setting.complexityHelper') }} - + + - - -
    -
  • - {{ $t('setting.mfaHelper1') }} -
      -
    • Google Authenticator
    • -
    • Microsoft Authenticator
    • -
    • 1Password
    • -
    • LastPass
    • -
    • Authenticator
    • -
    -
  • -
  • {{ $t('setting.mfaHelper2') }}
  • - -
  • {{ $t('setting.mfaHelper3') }}
  • - -
    - - {{ $t('commons.button.cancel') }} - - - {{ $t('commons.button.saveAndEnable') }} - -
    -
-
-
+ @@ -145,27 +116,20 @@