089efa088d
- dialog_bnet_info.go: 新增 Battle.Net 信息对话框,显示序列号 和恢复码,支持一键复制恢复码 - row_menu: 新增 rowActionBnetInfo 动作,仅对 Battle.Net 条目可见 - 热键行为确认:autoType 已自动复制到剪贴板 + 键入前台窗口 - i18n: action_bnet_info / dialog_bnet_info_title / bnet_info_intro / hint_bnet_restore_code_secret 三语翻译
596 lines
12 KiB
TOML
596 lines
12 KiB
TOML
# Simplified Chinese locale file for winauth-go.
|
|
|
|
[app_title]
|
|
other = "WinAuth"
|
|
|
|
[menu_file]
|
|
other = "文件"
|
|
|
|
[menu_help]
|
|
other = "帮助"
|
|
|
|
[menu_add_authenticator]
|
|
other = "添加身份验证器"
|
|
|
|
[menu_choose_vendor]
|
|
other = "选择身份验证器类型"
|
|
|
|
[btn_ok]
|
|
other = "确定"
|
|
|
|
[btn_cancel]
|
|
other = "取消"
|
|
|
|
[btn_add]
|
|
other = "添加"
|
|
|
|
[btn_remove]
|
|
other = "删除"
|
|
|
|
[btn_close]
|
|
other = "关闭"
|
|
|
|
[btn_enroll]
|
|
other = "注册"
|
|
|
|
[vendor_google]
|
|
other = "Google"
|
|
|
|
[vendor_microsoft]
|
|
other = "Microsoft"
|
|
|
|
[vendor_okta]
|
|
other = "Okta Verify"
|
|
|
|
[vendor_hotp]
|
|
other = "HOTP(基于计数器)"
|
|
|
|
[vendor_battlenet]
|
|
other = "战网"
|
|
|
|
[vendor_steam]
|
|
other = "Steam"
|
|
|
|
[vendor_battlenet_restore]
|
|
other = "战网(纸质恢复码恢复)"
|
|
|
|
[dialog_add_google_title]
|
|
other = "添加 Google 身份验证器"
|
|
|
|
[dialog_add_microsoft_title]
|
|
other = "添加 Microsoft 身份验证器"
|
|
|
|
[dialog_add_okta_title]
|
|
other = "添加 Okta Verify"
|
|
|
|
[dialog_add_hotp_title]
|
|
other = "添加 HOTP 身份验证器"
|
|
|
|
[dialog_add_battlenet_title]
|
|
other = "添加战网身份验证器"
|
|
|
|
[dialog_add_steam_title]
|
|
other = "添加 Steam 身份验证器"
|
|
|
|
[label_secret_key]
|
|
other = "密钥"
|
|
|
|
[label_name]
|
|
other = "名称"
|
|
|
|
[label_counter]
|
|
other = "计数器"
|
|
|
|
[label_serial]
|
|
other = "序列号"
|
|
|
|
[label_device_id]
|
|
other = "设备 ID"
|
|
|
|
[label_steam_data]
|
|
other = "Steam 数据(JSON,可选)"
|
|
|
|
[label_region]
|
|
other = "区域"
|
|
|
|
[label_show_secret]
|
|
other = "显示密钥"
|
|
|
|
[region_auto]
|
|
other = "自动检测"
|
|
|
|
[msg_empty_secret]
|
|
other = "请输入密钥。"
|
|
|
|
[msg_invalid_secret]
|
|
other = "密钥不是有效的 Base32 字符串。"
|
|
|
|
[msg_empty_serial]
|
|
other = "请输入序列号。"
|
|
|
|
[msg_invalid_counter]
|
|
other = "计数器必须是非负整数。"
|
|
|
|
[msg_enrolling]
|
|
other = "正在连接服务器……"
|
|
|
|
[msg_enroll_failed]
|
|
other = "注册失败:%s"
|
|
|
|
[menu_settings]
|
|
other = "设置"
|
|
|
|
[menu_set_password]
|
|
other = "设置密码…"
|
|
|
|
[menu_about]
|
|
other = "关于"
|
|
|
|
[dialog_password_title]
|
|
other = "输入密码"
|
|
|
|
[dialog_set_password_title]
|
|
other = "设置密码"
|
|
|
|
[label_password]
|
|
other = "密码"
|
|
|
|
[label_password_confirm]
|
|
other = "确认密码"
|
|
|
|
[hint_password_empty_disables]
|
|
other = "两个字段均留空可关闭加密。"
|
|
|
|
[msg_password_required]
|
|
other = "配置已加密,请输入密码。"
|
|
|
|
[msg_password_wrong]
|
|
other = "密码错误。"
|
|
|
|
[msg_password_mismatch]
|
|
other = "两次输入的密码不一致。"
|
|
|
|
[msg_save_failed]
|
|
other = "保存配置失败:%s"
|
|
|
|
[msg_load_failed]
|
|
other = "加载配置失败:%s"
|
|
|
|
# --- Steam 注册向导 ---
|
|
|
|
[steam_step_credentials]
|
|
other = "请输入 Steam 账号凭证。密码会使用 Steam 公钥 RSA 加密后发送,不会在本地保存。"
|
|
|
|
[steam_step_captcha]
|
|
other = "Steam 需要图形验证码,请输入下面图片中的字符。"
|
|
|
|
[steam_step_email]
|
|
other = "Steam 已将验证码发送到 %s,请在下方输入。"
|
|
|
|
[steam_step_activation]
|
|
other = "Steam 已将短信验证码发送至您的手机,请在下方输入以完成注册。"
|
|
|
|
[steam_step_done]
|
|
other = "注册完成。请立即记录吊销码 —— 若丢失将无法再从 Steam 账号上移除该验证器。"
|
|
|
|
[label_username]
|
|
other = "用户名"
|
|
|
|
[label_captcha_text]
|
|
other = "图形验证码"
|
|
|
|
[label_email_code]
|
|
other = "邮件验证码"
|
|
|
|
[label_activation_code]
|
|
other = "激活码(短信)"
|
|
|
|
[label_revocation_code]
|
|
other = "吊销码"
|
|
|
|
[hint_captcha_loading]
|
|
other = "正在加载验证码图片……"
|
|
|
|
[hint_captcha_failed]
|
|
other = "无法加载验证码图片:%s"
|
|
|
|
[btn_login]
|
|
other = "登录"
|
|
|
|
[btn_continue]
|
|
other = "继续"
|
|
|
|
[btn_activate]
|
|
other = "激活"
|
|
|
|
[btn_finish]
|
|
other = "完成"
|
|
|
|
[btn_trades]
|
|
other = "交易确认"
|
|
|
|
[btn_refresh]
|
|
other = "刷新"
|
|
|
|
[btn_accept]
|
|
other = "接受"
|
|
|
|
[btn_reject]
|
|
other = "拒绝"
|
|
|
|
[msg_empty_username]
|
|
other = "请输入用户名。"
|
|
|
|
[msg_empty_password]
|
|
other = "请输入密码。"
|
|
|
|
[msg_empty_captcha]
|
|
other = "请输入图形验证码。"
|
|
|
|
[msg_empty_email_code]
|
|
other = "请输入邮件中的验证码。"
|
|
|
|
[msg_empty_activation_code]
|
|
other = "请输入短信中的激活码。"
|
|
|
|
[msg_busy]
|
|
other = "正在处理,请稍候……"
|
|
|
|
# --- Steam 交易确认窗 ---
|
|
|
|
[dialog_steam_trades_title]
|
|
other = "Steam 交易确认"
|
|
|
|
[steam_trades_empty]
|
|
other = "暂无待确认交易。"
|
|
|
|
[steam_trades_loading]
|
|
other = "正在加载交易……"
|
|
|
|
[steam_trades_session_missing]
|
|
other = "该 Steam 验证器没有可用的登录会话。请通过注册向导重新添加,才能管理交易确认。"
|
|
|
|
[steam_trades_error]
|
|
other = "加载交易失败:%s"
|
|
|
|
# --- 战网纸质恢复码 ---
|
|
|
|
[dialog_restore_battlenet_title]
|
|
other = "恢复战网身份验证器"
|
|
|
|
[battlenet_restore_intro]
|
|
other = "请输入您在初次注册验证器时记录的序列号与 10 字符恢复码。任何同时持有二者的人都能恢复完整账号控制权 —— 请妥善保管恢复码。"
|
|
|
|
[label_restore_code]
|
|
other = "恢复码"
|
|
|
|
[label_show_restore_code]
|
|
other = "显示恢复码"
|
|
|
|
[btn_restore]
|
|
other = "恢复"
|
|
|
|
[msg_empty_restore_code]
|
|
other = "请输入 10 字符恢复码。"
|
|
|
|
[msg_restoring]
|
|
other = "正在从战网服务器恢复……"
|
|
|
|
[msg_restore_failed]
|
|
other = "恢复失败:%s"
|
|
|
|
# --- 老 WinAuth XML 导入 ---
|
|
|
|
[menu_import_legacy]
|
|
other = "导入旧版 WinAuth XML..."
|
|
|
|
[dialog_import_legacy_title]
|
|
other = "导入旧版 WinAuth 配置"
|
|
|
|
[import_legacy_intro]
|
|
other = "请定位原 WinAuth 的 winauth.xml(通常位于 %APPDATA%\\WinAuth)。DPAPI 加密条目只能在加密时使用的 Windows 用户/电脑上解密。导入的条目会追加到当前列表后面。"
|
|
|
|
[label_import_path]
|
|
other = "winauth.xml 路径"
|
|
|
|
[btn_import]
|
|
other = "导入"
|
|
|
|
[msg_empty_import_path]
|
|
other = "请输入 winauth.xml 的路径。"
|
|
|
|
[msg_legacy_password_required]
|
|
other = "该文件包含密码加密的条目 —— 请输入原 WinAuth 的密码。"
|
|
|
|
[msg_legacy_password_wrong]
|
|
other = "旧版 WinAuth 文件密码错误。"
|
|
|
|
[msg_import_failed]
|
|
other = "导入失败:%s"
|
|
|
|
# --- 热键配置 ---
|
|
|
|
[btn_hotkey]
|
|
other = "热键..."
|
|
|
|
[btn_clear_hotkey]
|
|
other = "清除热键"
|
|
|
|
[dialog_hotkey_title]
|
|
other = "编辑热键"
|
|
|
|
[label_hotkey]
|
|
other = "热键"
|
|
|
|
[hotkey_intro]
|
|
other = "为该条目设置一个全局快捷键,例如 \"Ctrl+Alt+G\"。至少需要一个修饰键(Ctrl、Alt、Shift 或 Win)。在桌面任意位置按下该快捷键后,OTP 会被复制到剪贴板并直接输入到当前前台窗口。"
|
|
|
|
# --- 其他 UX ---
|
|
|
|
[btn_copy]
|
|
other = "复制"
|
|
|
|
[msg_copied]
|
|
other = "验证码已复制到剪贴板"
|
|
|
|
[msg_copy_failed]
|
|
other = "复制到剪贴板失败"
|
|
|
|
[msg_empty_list]
|
|
other = "还没有验证器,点击\"添加\"开始。"
|
|
|
|
# --- 二维码扫描 ---
|
|
|
|
[vendor_scan_qr]
|
|
other = "扫描二维码 (otpauth://)"
|
|
|
|
[dialog_scan_qr_title]
|
|
other = "扫描 otpauth 二维码"
|
|
|
|
[qr_intro]
|
|
other = "输入包含二维码的 PNG/JPG 文件路径后点击\"从文件\"。或者将二维码图片复制到剪贴板(Win+Shift+S 截图即可)后点击\"从剪贴板\"。"
|
|
|
|
[label_qr_path]
|
|
other = "图片文件路径"
|
|
|
|
[btn_qr_from_file]
|
|
other = "从文件"
|
|
|
|
[btn_qr_from_clipboard]
|
|
other = "从剪贴板"
|
|
|
|
[msg_empty_qr_path]
|
|
other = "请输入图片文件路径,或使用\"从剪贴板\"。"
|
|
|
|
[msg_qr_failed]
|
|
other = "二维码扫描失败:%s"
|
|
|
|
[msg_clipboard_no_image]
|
|
other = "剪贴板中没有图片"
|
|
|
|
# --- 偏好设置 ---
|
|
|
|
[menu_preferences]
|
|
other = "偏好设置..."
|
|
|
|
[dialog_preferences_title]
|
|
other = "偏好设置"
|
|
|
|
[label_theme]
|
|
other = "主题"
|
|
|
|
[theme_system]
|
|
other = "跟随系统"
|
|
|
|
[theme_light]
|
|
other = "浅色"
|
|
|
|
[theme_dark]
|
|
other = "深色"
|
|
|
|
[label_language]
|
|
other = "语言"
|
|
|
|
# --- 关于对话框 ---
|
|
|
|
[dialog_about_title]
|
|
other = "关于 WinAuth"
|
|
|
|
[about_app_name]
|
|
other = "WinAuth (Go 版) — TOTP/HOTP 验证器"
|
|
|
|
[about_version_label]
|
|
other = "版本"
|
|
|
|
[about_runtime_label]
|
|
other = "运行时"
|
|
|
|
[about_project_label]
|
|
other = "项目主页"
|
|
|
|
[about_project_url]
|
|
other = "https://git.wxccs.org/iceking2nd/winauth-go"
|
|
|
|
[about_license_label]
|
|
other = "许可证"
|
|
|
|
[about_license_value]
|
|
other = "MIT"
|
|
|
|
[about_credits]
|
|
other = "原版 WinAuth 由 Colin Mackie 创作。Go 移植由本项目作者维护。"
|
|
|
|
# --- 安全:修改密码 / 自动锁定 / HOTP 提示 ---
|
|
|
|
[menu_change_password]
|
|
other = "修改密码..."
|
|
|
|
[dialog_change_password_title]
|
|
other = "修改密码"
|
|
|
|
[label_password_current]
|
|
other = "当前密码"
|
|
|
|
[label_password_new]
|
|
other = "新密码"
|
|
|
|
[msg_password_changed]
|
|
other = "密码已更新。"
|
|
|
|
[msg_hotp_advanced]
|
|
other = "计数器推进到 %d"
|
|
|
|
[msg_locked]
|
|
other = "因长时间无操作已锁定,请输入密码解锁。"
|
|
|
|
[label_auto_lock_minutes]
|
|
other = "自动锁定(分钟)"
|
|
|
|
[hint_auto_lock_disabled]
|
|
other = "填 0 关闭。仅当配置已加密时生效。"
|
|
|
|
# --- 系统托盘 ---
|
|
|
|
[tray_show]
|
|
other = "显示 WinAuth"
|
|
|
|
[tray_hide]
|
|
other = "隐藏 WinAuth"
|
|
|
|
[tray_exit]
|
|
other = "退出"
|
|
|
|
[label_minimize_to_tray]
|
|
other = "关闭窗口时最小化到托盘"
|
|
|
|
[hint_minimize_to_tray]
|
|
other = "勾选后点击窗口关闭按钮将隐藏到系统托盘而非退出程序。"
|
|
|
|
# --- 条目操作(重命名 / 删除 / 重排序) ---
|
|
|
|
[btn_more]
|
|
other = "⋯"
|
|
|
|
[btn_delete]
|
|
other = "删除"
|
|
|
|
[dialog_row_actions_title]
|
|
other = "条目操作"
|
|
|
|
[action_rename]
|
|
other = "重命名..."
|
|
|
|
[action_delete]
|
|
other = "删除..."
|
|
|
|
[action_move_up]
|
|
other = "上移"
|
|
|
|
[action_move_down]
|
|
other = "下移"
|
|
|
|
[dialog_rename_title]
|
|
other = "重命名条目"
|
|
|
|
[label_entry_name]
|
|
other = "新名称"
|
|
|
|
[msg_empty_name]
|
|
other = "名称不能为空。"
|
|
|
|
[dialog_confirm_delete_title]
|
|
other = "确认删除"
|
|
|
|
[msg_confirm_delete]
|
|
other = "确定删除条目 \"%s\"?此操作不可撤销。"
|
|
|
|
[action_change_icon]
|
|
other = "更换图标..."
|
|
|
|
[dialog_icon_picker_title]
|
|
other = "选择图标"
|
|
|
|
# --- 首次启动欢迎 ---
|
|
|
|
[dialog_welcome_title]
|
|
other = "欢迎使用 WinAuth"
|
|
|
|
[msg_welcome_intro]
|
|
other = "选择是否对磁盘上存储的验证器列表进行加密。加密将使用你选择的密码保护文件。你可以在设置中随时更改。"
|
|
|
|
[btn_welcome_enable_password]
|
|
other = "启用密码保护"
|
|
|
|
[btn_welcome_skip]
|
|
other = "暂时跳过"
|
|
|
|
# --- 导出 / 备份 ---
|
|
|
|
[menu_export]
|
|
other = "导出..."
|
|
|
|
[menu_restore_backup]
|
|
other = "恢复备份..."
|
|
|
|
[dialog_export_title]
|
|
other = "导出验证器"
|
|
|
|
[export_tab_otpauth]
|
|
other = "otpauth:// URI"
|
|
|
|
[export_tab_backup]
|
|
other = "加密备份"
|
|
|
|
[export_otpauth_intro]
|
|
other = "以下是每个条目的标准 otpauth:// URI,可导入到其他验证器应用(Google Authenticator、Authy 等)。"
|
|
|
|
[export_partial_warning]
|
|
other = "部分导出 — 厂商专用字段已省略"
|
|
|
|
[export_backup_intro]
|
|
other = "将加密备份文件写入磁盘,可在任何机器上恢复。请选择强密码——此密码与当前 WinAuth 密码无关。"
|
|
|
|
[label_backup_path]
|
|
other = "备份文件路径"
|
|
|
|
[btn_export]
|
|
other = "导出"
|
|
|
|
[msg_empty_backup_path]
|
|
other = "请输入备份文件路径。"
|
|
|
|
[msg_export_done]
|
|
other = "备份导出成功。"
|
|
|
|
[msg_export_failed]
|
|
other = "导出失败:%s"
|
|
|
|
[dialog_restore_backup_title]
|
|
other = "从备份恢复"
|
|
|
|
[restore_backup_intro]
|
|
other = "选择加密备份文件(.winauth.bak)并输入创建时设置的密码。条目将追加到当前列表。"
|
|
|
|
[msg_restore_done]
|
|
other = "备份已恢复。"
|
|
|
|
|
|
[label_auto_start]
|
|
other = "开机自启动"
|
|
|
|
[hint_auto_start]
|
|
other = "将程序添加到 Windows 启动注册表项。"
|
|
|
|
[action_bnet_info]
|
|
other = "序列号与恢复码..."
|
|
|
|
[dialog_bnet_info_title]
|
|
other = "战网序列号与恢复码"
|
|
|
|
[bnet_info_intro]
|
|
other = "请妥善保管恢复码 —— 任何同时拥有序列号和恢复码的人都能恢复完整的账号访问权限。"
|
|
|
|
[hint_bnet_restore_code_secret]
|
|
other = "切勿泄露恢复码。它是恢复此验证器的唯一途径。"
|
|
|