mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-08-05 06:50:10 +00:00
fix(i18n): localize audit logs and new validation messages
This commit is contained in:
@@ -1014,6 +1014,8 @@ const zhCN: Record<string, string> = {
|
||||
"txt_totp_qr_scanned": "TOTP 内容已填入。",
|
||||
"txt_totp_qr_not_found": "这张图片里没有识别到二维码。",
|
||||
"txt_totp_qr_scan_failed": "二维码扫描失败。",
|
||||
"txt_totp_qr_invalid_image_type": "请选择图片文件。",
|
||||
"txt_totp_qr_image_too_large": "请选择小于 8 MB 的图片。",
|
||||
"txt_totp_qr_unsupported": "当前浏览器不支持二维码扫描。可尝试 Chrome 或 Edge,或手动粘贴 TOTP 链接/密钥。",
|
||||
"txt_totp_qr_camera_unavailable": "无法使用摄像头。请检查浏览器权限,或选择图片。",
|
||||
"txt_totp_qr_choose_image": "选择图片",
|
||||
@@ -1125,6 +1127,12 @@ const zhCN: Record<string, string> = {
|
||||
"txt_import_invalid_password_protected_file": "密码保护导出文件格式无效。",
|
||||
"txt_import_decrypt_failed": "导入文件解密失败。",
|
||||
"txt_import_empty_zip_archive": "ZIP 压缩包为空。",
|
||||
"txt_import_zip_too_large": "ZIP 压缩包过大,最大允许 {size} MiB。",
|
||||
"txt_import_file_too_large": "导入文件过大,最大允许 {size} MiB。",
|
||||
"txt_import_zip_too_many_files": "ZIP 压缩包内文件过多。",
|
||||
"txt_import_zip_entry_too_large": "ZIP 压缩包内存在超过 {size} MiB 的文件。",
|
||||
"txt_import_zip_expands_too_large": "ZIP 解压后超过当前导入限制 {size} MiB。",
|
||||
"txt_import_zip_unsafe_file_name": "ZIP 压缩包包含不安全的文件名。",
|
||||
"txt_import_no_json_found_in_zip": "ZIP 内未找到可导入的 JSON 数据。",
|
||||
"txt_import_data_json_not_found": "ZIP 内未找到 data.json。",
|
||||
"txt_import_zip_password_required": "该 ZIP 需要密码。",
|
||||
@@ -1219,11 +1227,18 @@ const zhCN: Record<string, string> = {
|
||||
"txt_log_action_account_api_key_create": "创建 API 密钥",
|
||||
"txt_log_action_account_api_key_rotate": "轮换 API 密钥",
|
||||
"txt_log_action_account_keys_update": "更新账户密钥",
|
||||
"txt_log_action_account_passkey_create": "创建登录通行密钥",
|
||||
"txt_log_action_account_passkey_delete": "删除登录通行密钥",
|
||||
"txt_log_action_account_passkey_encryption_enable": "开启通行密钥解锁密码库",
|
||||
"txt_log_action_account_profile_update": "更新账户资料",
|
||||
"txt_log_action_account_totp_disable": "关闭两步验证",
|
||||
"txt_log_action_account_totp_enable": "开启两步验证",
|
||||
"txt_log_action_account_totp_recover": "恢复两步验证",
|
||||
"txt_log_action_account_verify_devices_update": "更新设备验证设置",
|
||||
"txt_log_action_account_webauthn_2fa_delete": "删除通行密钥两步验证密钥",
|
||||
"txt_log_action_account_webauthn_2fa_enable": "开启通行密钥两步验证",
|
||||
"txt_log_action_account_yubikey_enable": "更新 YubiKey OTP 设置",
|
||||
"txt_log_action_admin_audit_clear": "清空审计日志",
|
||||
"txt_log_action_admin_audit_settings_update": "更新日志保留设置",
|
||||
"txt_log_action_admin_backup_export": "导出备份",
|
||||
"txt_log_action_admin_backup_import": "导入备份",
|
||||
@@ -1246,6 +1261,8 @@ const zhCN: Record<string, string> = {
|
||||
"txt_log_action_auth_login_failed_bad_password": "密码错误登录失败",
|
||||
"txt_log_action_auth_login_failed_user_inactive": "账号停用登录失败",
|
||||
"txt_log_action_auth_login_success": "登录成功",
|
||||
"txt_log_action_auth_passkey_login_failed": "通行密钥登录失败",
|
||||
"txt_log_action_auth_passkey_login_success": "通行密钥登录成功",
|
||||
"txt_log_action_auth_refresh_failed": "刷新登录失败:{reason}",
|
||||
"txt_log_action_cipher_delete_permanent": "永久删除密码项",
|
||||
"txt_log_action_cipher_delete_permanent_bulk": "批量永久删除密码项",
|
||||
@@ -1296,6 +1313,7 @@ const zhCN: Record<string, string> = {
|
||||
"txt_log_meta_method": "请求方法",
|
||||
"txt_log_meta_path": "请求路径",
|
||||
"txt_log_meta_provider": "服务提供方",
|
||||
"txt_log_meta_prf_status": "PRF 状态",
|
||||
"txt_log_meta_prune_error": "清理错误",
|
||||
"txt_log_meta_pruned_file_count": "已清理文件数",
|
||||
"txt_log_meta_raw": "原始数据",
|
||||
@@ -1331,6 +1349,7 @@ const zhCN: Record<string, string> = {
|
||||
"txt_log_reason_user_inactive": "用户未启用",
|
||||
"txt_log_reason_user_missing": "用户不存在",
|
||||
"txt_log_target_type_attachment": "附件",
|
||||
"txt_log_target_type_account_passkey": "登录通行密钥",
|
||||
"txt_log_target_type_audit_log": "日志",
|
||||
"txt_log_target_type_backup": "备份",
|
||||
"txt_log_target_type_cipher": "密码项",
|
||||
|
||||
Reference in New Issue
Block a user