Files
winauth-go/internal/i18n/locales/en.toml
T
iceking2nd 089efa088d feat(ui): Battle.Net 序列号/恢复码展示 + 热键复制确认
- 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 三语翻译
2026-06-12 11:22:26 +08:00

598 lines
12 KiB
TOML

# English locale file for winauth-go.
# Use {{.Name}} placeholders for go-i18n templating, or %s/%d style for
# direct fmt-based substitution via T(id, args...).
[app_title]
other = "WinAuth"
[menu_file]
other = "File"
[menu_help]
other = "Help"
[menu_add_authenticator]
other = "Add authenticator"
[menu_choose_vendor]
other = "Choose authenticator type"
[btn_ok]
other = "OK"
[btn_cancel]
other = "Cancel"
[btn_add]
other = "Add"
[btn_remove]
other = "Remove"
[btn_close]
other = "Close"
[btn_enroll]
other = "Enroll"
[vendor_google]
other = "Google"
[vendor_microsoft]
other = "Microsoft"
[vendor_okta]
other = "Okta Verify"
[vendor_hotp]
other = "HOTP (counter-based)"
[vendor_battlenet]
other = "Battle.Net"
[vendor_steam]
other = "Steam"
[vendor_battlenet_restore]
other = "Battle.Net (restore from paper code)"
[dialog_add_google_title]
other = "Add Google Authenticator"
[dialog_add_microsoft_title]
other = "Add Microsoft Authenticator"
[dialog_add_okta_title]
other = "Add Okta Verify"
[dialog_add_hotp_title]
other = "Add HOTP Authenticator"
[dialog_add_battlenet_title]
other = "Add Battle.Net Authenticator"
[dialog_add_steam_title]
other = "Add Steam Authenticator"
[label_secret_key]
other = "Secret key"
[label_name]
other = "Name"
[label_counter]
other = "Counter"
[label_serial]
other = "Serial number"
[label_device_id]
other = "Device ID"
[label_steam_data]
other = "Steam data (JSON, optional)"
[label_region]
other = "Region"
[label_show_secret]
other = "Show secret"
[region_auto]
other = "Auto detect"
[msg_empty_secret]
other = "Please enter a secret key."
[msg_invalid_secret]
other = "The secret key is not valid Base32."
[msg_empty_serial]
other = "Please enter the serial number."
[msg_invalid_counter]
other = "Counter must be a non-negative integer."
[msg_enrolling]
other = "Contacting server..."
[msg_enroll_failed]
other = "Enrollment failed: %s"
[menu_settings]
other = "Settings"
[menu_set_password]
other = "Set password..."
[menu_about]
other = "About"
[dialog_password_title]
other = "Enter password"
[dialog_set_password_title]
other = "Set password"
[label_password]
other = "Password"
[label_password_confirm]
other = "Confirm password"
[hint_password_empty_disables]
other = "Leave both fields empty to disable encryption."
[msg_password_required]
other = "The configuration is encrypted. Please enter the password."
[msg_password_wrong]
other = "Wrong password."
[msg_password_mismatch]
other = "The two passwords do not match."
[msg_save_failed]
other = "Saving the configuration failed: %s"
[msg_load_failed]
other = "Loading the configuration failed: %s"
# --- Steam enrollment wizard ---
[steam_step_credentials]
other = "Enter your Steam account credentials. The password is sent encrypted with Steam's public RSA key and is never stored locally."
[steam_step_captcha]
other = "Steam asked for a captcha. Open the image below and type the characters."
[steam_step_email]
other = "Steam sent a verification code to %s. Enter it below."
[steam_step_activation]
other = "Steam sent an SMS code to your phone. Enter it below to finish enrolling the authenticator."
[steam_step_done]
other = "Enrollment complete. Write the revocation code down NOW — without it you cannot remove this authenticator from your Steam account."
[label_username]
other = "Username"
[label_captcha_text]
other = "Captcha"
[label_email_code]
other = "Email code"
[label_activation_code]
other = "Activation code (SMS)"
[label_revocation_code]
other = "Revocation code"
[hint_captcha_loading]
other = "Loading captcha image..."
[hint_captcha_failed]
other = "Could not load captcha image: %s"
[btn_login]
other = "Sign in"
[btn_continue]
other = "Continue"
[btn_activate]
other = "Activate"
[btn_finish]
other = "Finish"
[btn_trades]
other = "Trades"
[btn_refresh]
other = "Refresh"
[btn_accept]
other = "Accept"
[btn_reject]
other = "Reject"
[msg_empty_username]
other = "Please enter a username."
[msg_empty_password]
other = "Please enter a password."
[msg_empty_captcha]
other = "Please enter the captcha text."
[msg_empty_email_code]
other = "Please enter the code from your email."
[msg_empty_activation_code]
other = "Please enter the activation code from the SMS."
[msg_busy]
other = "Working — please wait..."
# --- Steam trade confirmations window ---
[dialog_steam_trades_title]
other = "Steam confirmations"
[steam_trades_empty]
other = "No pending confirmations."
[steam_trades_loading]
other = "Loading confirmations..."
[steam_trades_session_missing]
other = "This Steam authenticator has no saved login session. Re-add it through the enrollment wizard before you can manage trade confirmations."
[steam_trades_error]
other = "Failed to load confirmations: %s"
# --- Battle.Net paper-code restore ---
[dialog_restore_battlenet_title]
other = "Restore Battle.Net Authenticator"
[battlenet_restore_intro]
other = "Enter the serial number and the 10-character restore code you wrote down when first enrolling the authenticator. Anyone holding both can recover full account access — keep the code secret."
[label_restore_code]
other = "Restore code"
[label_show_restore_code]
other = "Show restore code"
[btn_restore]
other = "Restore"
[msg_empty_restore_code]
other = "Please enter the 10-character restore code."
[msg_restoring]
other = "Restoring from Battle.Net..."
[msg_restore_failed]
other = "Restore failed: %s"
# --- Legacy WinAuth XML import ---
[menu_import_legacy]
other = "Import legacy WinAuth XML..."
[dialog_import_legacy_title]
other = "Import legacy WinAuth config"
[import_legacy_intro]
other = "Locate the winauth.xml from the original WinAuth (usually under %APPDATA%\\WinAuth). DPAPI-encrypted entries can only be decrypted on the same Windows account / machine that produced them. Imported entries are appended to your current list."
[label_import_path]
other = "Path to winauth.xml"
[btn_import]
other = "Import"
[msg_empty_import_path]
other = "Please enter the path to winauth.xml."
[msg_legacy_password_required]
other = "This file contains password-encrypted entries — enter the original WinAuth password."
[msg_legacy_password_wrong]
other = "Wrong password for the legacy WinAuth file."
[msg_import_failed]
other = "Import failed: %s"
# --- Hotkey configuration ---
[btn_hotkey]
other = "Hotkey..."
[btn_clear_hotkey]
other = "Clear hotkey"
[dialog_hotkey_title]
other = "Edit hotkey"
[label_hotkey]
other = "Hotkey"
[hotkey_intro]
other = "Type a global keyboard shortcut for this entry, e.g. \"Ctrl+Alt+G\". Requires at least one modifier (Ctrl, Alt, Shift or Win). Pressing the shortcut anywhere on the desktop copies the OTP to the clipboard and types it into the foreground window."
# --- Misc UX ---
[btn_copy]
other = "Copy"
[msg_copied]
other = "Code copied to clipboard"
[msg_copy_failed]
other = "Could not copy to clipboard"
[msg_empty_list]
other = "No authenticators yet. Click \"Add\" to enroll one."
# --- QR scan dialog ---
[vendor_scan_qr]
other = "Scan QR code (otpauth://)"
[dialog_scan_qr_title]
other = "Scan otpauth QR code"
[qr_intro]
other = "Either enter the path to a PNG/JPG containing the QR code, then click \"From file\". Or copy the QR image to the clipboard (Win+Shift+S works) and click \"From clipboard\"."
[label_qr_path]
other = "Path to image file"
[btn_qr_from_file]
other = "From file"
[btn_qr_from_clipboard]
other = "From clipboard"
[msg_empty_qr_path]
other = "Please enter a path to an image file, or use \"From clipboard\"."
[msg_qr_failed]
other = "QR scan failed: %s"
[msg_clipboard_no_image]
other = "Clipboard does not contain an image"
# --- Preferences ---
[menu_preferences]
other = "Preferences..."
[dialog_preferences_title]
other = "Preferences"
[label_theme]
other = "Theme"
[theme_system]
other = "System"
[theme_light]
other = "Light"
[theme_dark]
other = "Dark"
[label_language]
other = "Language"
# --- About dialog ---
[dialog_about_title]
other = "About WinAuth"
[about_app_name]
other = "WinAuth (Go port) — TOTP/HOTP authenticator"
[about_version_label]
other = "Version"
[about_runtime_label]
other = "Runtime"
[about_project_label]
other = "Project"
[about_project_url]
other = "https://git.wxccs.org/iceking2nd/winauth-go"
[about_license_label]
other = "License"
[about_license_value]
other = "MIT"
[about_credits]
other = "Original WinAuth by Colin Mackie. Go port maintained by the project authors."
# --- Security: change password / auto-lock / HOTP toast ---
[menu_change_password]
other = "Change password..."
[dialog_change_password_title]
other = "Change password"
[label_password_current]
other = "Current password"
[label_password_new]
other = "New password"
[msg_password_changed]
other = "Password changed."
[msg_hotp_advanced]
other = "Counter advanced to %d"
[msg_locked]
other = "Locked due to inactivity. Enter the password to unlock."
[label_auto_lock_minutes]
other = "Auto-lock after (minutes)"
[hint_auto_lock_disabled]
other = "Set to 0 to disable. Only takes effect when the configuration is encrypted."
# --- System tray ---
[tray_show]
other = "Show WinAuth"
[tray_hide]
other = "Hide WinAuth"
[tray_exit]
other = "Exit"
[label_minimize_to_tray]
other = "Minimize to tray when closing the window"
[hint_minimize_to_tray]
other = "Closing the window hides it to the system tray instead of exiting."
# --- Entry actions (rename / delete / reorder) ---
[btn_more]
other = "⋯"
[btn_delete]
other = "Delete"
[dialog_row_actions_title]
other = "Entry actions"
[action_rename]
other = "Rename..."
[action_delete]
other = "Delete..."
[action_move_up]
other = "Move up"
[action_move_down]
other = "Move down"
[dialog_rename_title]
other = "Rename entry"
[label_entry_name]
other = "New name"
[msg_empty_name]
other = "Name cannot be empty."
[dialog_confirm_delete_title]
other = "Confirm delete"
[msg_confirm_delete]
other = "Delete the entry \"%s\"? This cannot be undone."
[action_change_icon]
other = "Change icon..."
[dialog_icon_picker_title]
other = "Choose icon"
# --- First-run welcome dialog ---
[dialog_welcome_title]
other = "Welcome to WinAuth"
[msg_welcome_intro]
other = "Choose whether to encrypt the list of authenticators stored on disk. Encryption protects the file with a password of your choice. You can change this later in Settings."
[btn_welcome_enable_password]
other = "Enable password protection"
[btn_welcome_skip]
other = "Skip for now"
# --- Export / backup ---
[menu_export]
other = "Export..."
[menu_restore_backup]
other = "Restore backup..."
[dialog_export_title]
other = "Export authenticators"
[export_tab_otpauth]
other = "otpauth:// URIs"
[export_tab_backup]
other = "Encrypted backup"
[export_otpauth_intro]
other = "Below are standard otpauth:// URIs for each entry. You can import them into other authenticator apps (Google Authenticator, Authy, etc.)."
[export_partial_warning]
other = "partial export — vendor-specific fields omitted"
[export_backup_intro]
other = "Write an encrypted backup file that can be restored on any machine. Choose a strong password — it is NOT linked to your current WinAuth password."
[label_backup_path]
other = "Backup file path"
[btn_export]
other = "Export"
[msg_empty_backup_path]
other = "Please enter a backup file path."
[msg_export_done]
other = "Backup exported successfully."
[msg_export_failed]
other = "Export failed: %s"
[dialog_restore_backup_title]
other = "Restore from backup"
[restore_backup_intro]
other = "Select an encrypted backup file (.winauth.bak) and enter the password that was set when it was created. Entries will be appended to your current list."
[msg_restore_done]
other = "Backup restored."
[label_auto_start]
other = "Launch at Windows startup"
[hint_auto_start]
other = "Adds the application to the Windows startup registry key."
[action_bnet_info]
other = "Serial & restore code..."
[dialog_bnet_info_title]
other = "Battle.Net serial & restore code"
[bnet_info_intro]
other = "Keep the restore code secret — anyone who has both the serial and the restore code can recover full account access."
[hint_bnet_restore_code_secret]
other = "Never share the restore code. It is the only way to recover this authenticator."