mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-21 13:20:13 +00:00
feat: added logging system
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
const zhCN: Record<string, string> = {
|
||||
"nav_account_settings": "账户设置",
|
||||
"nav_admin_panel": "用户管理",
|
||||
"nav_log_center": "日志中心",
|
||||
"nav_device_management": "设备管理",
|
||||
"nav_my_vault": "我的密码库",
|
||||
"nav_vault_items": "密码库",
|
||||
@@ -941,6 +942,190 @@ const zhCN: Record<string, string> = {
|
||||
"txt_nav_layout_grouped_expanded_desc": "父子菜单全部展开",
|
||||
"txt_nav_layout_grouped_smart": "智能分组",
|
||||
"txt_nav_layout_grouped_smart_desc": "当前相关分组自动展开",
|
||||
"txt_actor": "操作者",
|
||||
"txt_all_levels": "全部级别",
|
||||
"txt_all_logs": "全部日志",
|
||||
"txt_all_time": "全部时间",
|
||||
"txt_audit_events": "日志列表",
|
||||
"txt_filter": "筛选",
|
||||
"txt_last_24_hours": "最近 24 小时",
|
||||
"txt_last_7_days": "最近 7 天",
|
||||
"txt_last_30_days": "最近 30 天",
|
||||
"txt_load_logs_failed": "加载日志失败",
|
||||
"txt_load_log_settings_failed": "加载日志设置失败",
|
||||
"txt_log_category": "分类",
|
||||
"txt_log_category_auth": "登录与会话",
|
||||
"txt_log_category_data": "数据操作",
|
||||
"txt_log_category_device": "设备",
|
||||
"txt_log_category_security": "账户安全",
|
||||
"txt_log_category_system": "系统",
|
||||
"txt_log_center_description": "查看登录、刷新失败、设备事件、安全变更、备份操作和管理员操作。",
|
||||
"txt_log_center_title": "日志中心",
|
||||
"txt_log_level": "级别",
|
||||
"txt_log_level_error": "错误",
|
||||
"txt_log_level_info": "信息",
|
||||
"txt_log_level_security": "安全",
|
||||
"txt_log_level_warn": "警告",
|
||||
"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_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_admin_audit_settings_update": "更新日志保留设置",
|
||||
"txt_log_action_admin_backup_export": "导出备份",
|
||||
"txt_log_action_admin_backup_import": "导入备份",
|
||||
"txt_log_action_admin_backup_remote_delete": "删除远程备份",
|
||||
"txt_log_action_admin_backup_remote_manual": "手动远程备份成功",
|
||||
"txt_log_action_admin_backup_remote_manual_failed": "手动远程备份失败",
|
||||
"txt_log_action_admin_backup_remote_scheduled": "计划远程备份成功",
|
||||
"txt_log_action_admin_backup_remote_scheduled_failed": "计划远程备份失败",
|
||||
"txt_log_action_admin_backup_settings_repair": "修复备份设置",
|
||||
"txt_log_action_admin_backup_settings_update": "更新备份设置",
|
||||
"txt_log_action_admin_invite_create": "创建邀请",
|
||||
"txt_log_action_admin_invite_delete_all": "清空邀请",
|
||||
"txt_log_action_admin_invite_revoke": "撤销邀请",
|
||||
"txt_log_action_admin_user_delete": "删除用户",
|
||||
"txt_log_action_admin_user_status": "修改用户状态",
|
||||
"txt_log_action_attachment_delete": "删除附件",
|
||||
"txt_log_action_auth_login_failed_bad_api_key": "API 密钥错误登录失败",
|
||||
"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_refresh_failed": "刷新登录失败:{reason}",
|
||||
"txt_log_action_cipher_delete_permanent": "永久删除密码项",
|
||||
"txt_log_action_cipher_delete_permanent_bulk": "批量永久删除密码项",
|
||||
"txt_log_action_cipher_delete_soft": "删除到回收站",
|
||||
"txt_log_action_cipher_delete_soft_bulk": "批量删除到回收站",
|
||||
"txt_log_action_device_deactivate": "停用设备",
|
||||
"txt_log_action_device_delete": "删除设备",
|
||||
"txt_log_action_device_delete_all": "删除全部设备",
|
||||
"txt_log_action_device_name_update": "修改设备名称",
|
||||
"txt_log_action_device_trust_permanent": "永久信任设备",
|
||||
"txt_log_action_device_trust_revoke": "撤销设备信任",
|
||||
"txt_log_action_device_trust_revoke_batch": "批量撤销设备信任",
|
||||
"txt_log_action_folder_delete": "删除文件夹",
|
||||
"txt_log_action_folder_delete_bulk": "批量删除文件夹",
|
||||
"txt_log_action_send_auth_remove": "移除 Send 验证",
|
||||
"txt_log_action_send_delete": "删除 Send",
|
||||
"txt_log_action_send_delete_bulk": "批量删除 Send",
|
||||
"txt_log_action_send_password_remove": "移除 Send 密码",
|
||||
"txt_log_action_user_password_change": "修改主密码",
|
||||
"txt_log_action_user_register_first_admin": "注册首个管理员",
|
||||
"txt_log_action_user_register_invite": "通过邀请注册",
|
||||
"txt_log_meta_attachments": "附件数",
|
||||
"txt_log_meta_bytes": "字节数",
|
||||
"txt_log_meta_changed": "变更项",
|
||||
"txt_log_meta_checksum_mismatch_accepted": "已接受校验不一致",
|
||||
"txt_log_meta_cipher_id": "密码项 ID",
|
||||
"txt_log_meta_ciphers": "密码项数量",
|
||||
"txt_log_meta_compat": "兼容信息",
|
||||
"txt_log_meta_compressed_bytes": "压缩后字节数",
|
||||
"txt_log_meta_count": "数量",
|
||||
"txt_log_meta_deleted": "已删除数量",
|
||||
"txt_log_meta_destination_count": "备份目标数量",
|
||||
"txt_log_meta_destination_id": "备份目标 ID",
|
||||
"txt_log_meta_destination_name": "备份目标名称",
|
||||
"txt_log_meta_destination_type": "备份目标类型",
|
||||
"txt_log_meta_device_identifier": "设备 ID",
|
||||
"txt_log_meta_device_type": "设备类型",
|
||||
"txt_log_meta_email": "邮箱",
|
||||
"txt_log_meta_error": "错误",
|
||||
"txt_log_meta_expires_in_hours": "过期小时数",
|
||||
"txt_log_meta_file_bytes": "文件字节数",
|
||||
"txt_log_meta_file_name": "文件名",
|
||||
"txt_log_meta_folder_id": "文件夹 ID",
|
||||
"txt_log_meta_grant_type": "登录方式",
|
||||
"txt_log_meta_includes_attachments": "包含附件",
|
||||
"txt_log_meta_ip": "IP 地址",
|
||||
"txt_log_meta_max_entries": "条数上限",
|
||||
"txt_log_meta_method": "请求方法",
|
||||
"txt_log_meta_path": "请求路径",
|
||||
"txt_log_meta_provider": "服务提供方",
|
||||
"txt_log_meta_prune_error": "清理错误",
|
||||
"txt_log_meta_pruned_file_count": "已清理文件数",
|
||||
"txt_log_meta_raw": "原始数据",
|
||||
"txt_log_meta_reason": "原因",
|
||||
"txt_log_meta_remote_path": "远程路径",
|
||||
"txt_log_meta_removed": "已移除数量",
|
||||
"txt_log_meta_removed_devices": "已移除设备数",
|
||||
"txt_log_meta_removed_sessions": "已移除会话数",
|
||||
"txt_log_meta_removed_trusted": "已撤销信任数",
|
||||
"txt_log_meta_replace_existing": "覆盖现有数据",
|
||||
"txt_log_meta_requested": "请求数量",
|
||||
"txt_log_meta_requested_count": "请求数量",
|
||||
"txt_log_meta_retention_days": "保留天数",
|
||||
"txt_log_meta_scheduled_destination_count": "已计划备份目标数",
|
||||
"txt_log_meta_size": "大小",
|
||||
"txt_log_meta_skipped_attachments": "跳过附件数",
|
||||
"txt_log_meta_skipped_reason": "跳过原因",
|
||||
"txt_log_meta_status": "状态",
|
||||
"txt_log_meta_target_email": "目标邮箱",
|
||||
"txt_log_meta_trigger": "触发方式",
|
||||
"txt_log_meta_type": "类型",
|
||||
"txt_log_meta_updated": "已更新数量",
|
||||
"txt_log_meta_upload_verification_attempts": "上传校验次数",
|
||||
"txt_log_meta_user_agent": "浏览器/客户端",
|
||||
"txt_log_meta_users": "用户数量",
|
||||
"txt_log_meta_verify_devices": "验证设备",
|
||||
"txt_log_meta_web_session": "网页会话",
|
||||
"txt_log_reason_bad_api_key": "API 密钥错误",
|
||||
"txt_log_reason_bad_password": "密码错误",
|
||||
"txt_log_reason_device_missing": "设备不存在",
|
||||
"txt_log_reason_device_session_mismatch": "设备会话不匹配",
|
||||
"txt_log_reason_token_not_found_or_expired": "令牌不存在或已过期",
|
||||
"txt_log_reason_user_inactive": "用户未启用",
|
||||
"txt_log_reason_user_missing": "用户不存在",
|
||||
"txt_log_target_type_attachment": "附件",
|
||||
"txt_log_target_type_audit_log": "日志",
|
||||
"txt_log_target_type_backup": "备份",
|
||||
"txt_log_target_type_cipher": "密码项",
|
||||
"txt_log_target_type_device": "设备",
|
||||
"txt_log_target_type_folder": "文件夹",
|
||||
"txt_log_target_type_invite": "邀请",
|
||||
"txt_log_target_type_refresh_token": "刷新令牌",
|
||||
"txt_log_target_type_send": "Send",
|
||||
"txt_log_target_type_user": "用户",
|
||||
"txt_log_trigger_manual": "手动",
|
||||
"txt_log_trigger_remote": "远程",
|
||||
"txt_log_trigger_scheduled": "计划任务",
|
||||
"txt_log_max_1000": "最多 1,000 条",
|
||||
"txt_log_max_5000": "最多 5,000 条",
|
||||
"txt_log_max_10000": "最多 10,000 条",
|
||||
"txt_log_max_50000": "最多 50,000 条",
|
||||
"txt_log_max_entries": "容量上限",
|
||||
"txt_log_max_unlimited": "不限制条数",
|
||||
"txt_log_retention_7d": "保留 7 天",
|
||||
"txt_log_retention_30d": "保留 30 天",
|
||||
"txt_log_retention_90d": "保留 90 天",
|
||||
"txt_log_retention_180d": "保留 180 天",
|
||||
"txt_log_retention_365d": "保留 365 天",
|
||||
"txt_log_retention_days": "保留时间",
|
||||
"txt_log_retention_forever": "永久保留",
|
||||
"txt_log_retention_hint": "按时间和最大条数自动收缩,减少 D1 存储占用。",
|
||||
"txt_log_retention_mode": "保留方式",
|
||||
"txt_log_retention_mode_days": "按时间",
|
||||
"txt_log_retention_mode_entries": "按条数",
|
||||
"txt_log_retention_settings": "日志保留",
|
||||
"txt_log_settings": "设置",
|
||||
"txt_log_settings_save_failed": "保存日志设置失败",
|
||||
"txt_log_settings_saved": "日志设置已保存",
|
||||
"txt_log_search_placeholder": "搜索动作、操作者、目标、请求路径或元数据",
|
||||
"txt_log_total": " 条总数",
|
||||
"txt_log_visible": " 条显示",
|
||||
"txt_metadata": "元数据",
|
||||
"txt_no_logs_found": "没有找到日志",
|
||||
"txt_no_metadata": "没有元数据",
|
||||
"txt_clear_all_logs": "清空日志",
|
||||
"txt_clear_logs_confirm": "确定清空全部日志吗?此操作无法撤销。",
|
||||
"txt_clear_logs_failed": "清空日志失败",
|
||||
"txt_logs_cleared": "日志已清空",
|
||||
"txt_search": "搜索",
|
||||
"txt_target": "目标",
|
||||
"txt_time": "时间",
|
||||
"txt_time_range": "时间范围",
|
||||
"txt_remove_domain": "移除域名"
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user