Add bootstrap download dialog and fix 100 missing translation keys

- New BootstrapDownloadDialog accessible from Settings page
  - Stops daemon before download, prevents auto-restart during bootstrap
  - Confirm/Downloading/Done/Failed states with progress display
  - Mirror support (bootstrap2.dragonx.is)
- Add bootstrap_downloading_ flag to prevent tryConnect() auto-reconnect
- Right-align Download Bootstrap + Setup Wizard buttons in settings
- Add 100 missing i18n keys to all 8 language files (de/es/fr/ja/ko/pt/ru/zh)
  - Includes bootstrap, explorer, mining benchmark, transfer, delete blockchain,
    force quit, address label, and settings section translations
- Update add_missing_translations.py with new translation batch
This commit is contained in:
2026-04-12 18:19:01 -05:00
parent 88d30c1612
commit 40cec14ebf
22 changed files with 32135 additions and 25512 deletions

View File

@@ -43,6 +43,8 @@
"address_url": "地址 URL",
"addresses_appear_here": "连接后,您的接收地址将显示在此处。",
"advanced": "高级",
"advanced_effects": "高级特效...",
"ago": "前",
"all_filter": "全部",
"allow_custom_fees": "允许自定义手续费",
"amount": "金额",
@@ -90,12 +92,30 @@
"block_timestamp": "时间戳:",
"block_transactions": "交易:",
"blockchain_syncing": "区块链同步中 (%.1f%%)... 余额可能不准确。",
"bootstrap_daemon_running": "守护进程运行中",
"bootstrap_daemon_stopped": "守护进程已停止",
"bootstrap_daemon_stopping": "正在停止守护进程...",
"bootstrap_desc": "下载区块链引导程序以大幅加速初始同步。这将下载区块链快照并将其提取到您的数据目录中。",
"bootstrap_downloading": "正在下载引导程序...",
"bootstrap_extracting": "正在提取区块链数据...",
"bootstrap_failed": "引导程序失败",
"bootstrap_mirror": "镜像",
"bootstrap_mirror_tooltip": "从镜像下载 (bootstrap2.dragonx.is)。\n如果主下载速度慢或失败请使用此选项。",
"bootstrap_restart_daemon": "重启守护进程",
"bootstrap_success": "引导程序完成",
"bootstrap_success_desc": "区块链数据已成功提取。启动守护进程以从引导点开始同步。",
"bootstrap_trust_warning": "仅使用 bootstrap.dragonx.is 或 bootstrap2.dragonx.is。使用不受信任来源的文件可能会危及您的节点。",
"bootstrap_verifying": "正在验证校验和...",
"bootstrap_wallet_protected": "(wallet.dat 已受保护)",
"bootstrap_warning": "现有区块数据blocks、chainstate、notarizations将被删除并替换。您的 wallet.dat 不会被修改或删除。",
"cancel": "取消",
"characters": "字符",
"choose_icon": "选择图标",
"clear": "清除",
"clear_all_bans": "解除所有封禁",
"clear_anyway": "仍然清除",
"clear_form_confirm": "清除所有表单字段?",
"clear_icon": "清除图标",
"clear_request": "清除请求",
"click_copy_address": "点击复制地址",
"click_copy_uri": "点击复制 URI",
@@ -106,8 +126,12 @@
"confirm_clear_ztx_title": "确认清除 Z-Tx 历史",
"confirm_clear_ztx_warning1": "清除 z-交易历史可能导致您的屏蔽余额显示为 0直到执行钱包重新扫描。",
"confirm_clear_ztx_warning2": "如果发生这种情况,您需要在启用重新扫描的情况下重新导入 z-地址私钥以恢复余额。",
"confirm_delete_blockchain_msg": "这将停止守护进程删除所有区块链数据blocks、chainstate、peers并从头开始重新同步。这可能需要几个小时。",
"confirm_delete_blockchain_safe": "您的 wallet.dat、配置和交易历史是安全的不会被删除。",
"confirm_delete_blockchain_title": "删除区块链数据",
"confirm_send": "确认发送",
"confirm_transaction": "确认交易",
"confirm_transfer": "确认转账",
"confirmations": "确认数",
"confirmations_display": "%d 次确认 | %s",
"confirmed": "已确认",
@@ -172,6 +196,7 @@
"console_welcome": "欢迎使用 ObsidianDragon 控制台",
"console_zoom_in": "放大",
"console_zoom_out": "缩小",
"copied": "已复制!",
"copy": "复制",
"copy_address": "复制完整地址",
"copy_error": "复制错误",
@@ -180,15 +205,21 @@
"copy_uri": "复制 URI",
"current_price": "当前价格",
"custom_fees": "自定义手续费",
"daemon_version": "守护进程",
"dark": "深色",
"date": "日期",
"date_label": "日期:",
"debug_logging": "调试日志",
"delete": "删除",
"delete_blockchain": "删除区块链",
"delete_blockchain_confirm": "删除并重新同步",
"deshielding_warning": "警告:这将把资金从隐私 (Z) 地址转移到透明 (T) 地址。",
"difficulty": "难度",
"disconnected": "已断开",
"dismiss": "关闭",
"display": "显示",
"download": "下载",
"download_bootstrap": "下载引导程序",
"dragonx_green": "DragonX绿色",
"edit": "编辑",
"error": "错误",
@@ -196,6 +227,22 @@
"est_time_to_block": "预计出块时间",
"exit": "退出",
"explorer": "浏览器",
"explorer_block_detail": "区块",
"explorer_block_hash": "哈希",
"explorer_block_height": "高度",
"explorer_block_merkle": "Merkle 根",
"explorer_block_size": "大小",
"explorer_block_time": "时间",
"explorer_block_txs": "交易",
"explorer_chain_stats": "链",
"explorer_invalid_query": "输入区块高度或64位哈希",
"explorer_mempool": "内存池",
"explorer_mempool_size": "大小",
"explorer_mempool_txs": "交易",
"explorer_recent_blocks": "最近区块",
"explorer_search": "搜索",
"explorer_tx_outputs": "输出",
"explorer_tx_size": "大小",
"export": "导出",
"export_csv": "导出 CSV",
"export_keys_btn": "导出密钥",
@@ -224,14 +271,22 @@
"fetch_prices": "获取价格",
"file": "文件",
"file_save_location": "文件将保存至:~/.config/ObsidianDragon/",
"filter": "筛选...",
"font_scale": "字体大小",
"force_quit": "强制退出",
"force_quit_confirm_msg": "这将立即终止守护进程而不进行正常关闭。\n这可能会损坏区块链索引并需要重新同步。",
"force_quit_confirm_title": "强制退出?",
"force_quit_warning": "这将立即终止守护进程而不进行正常关闭。可能需要重新同步区块链。",
"force_quit_yes": "强制退出",
"from": "从",
"from_upper": "从",
"full_details": "完整详情",
"general": "常规",
"generating": "正在生成",
"go_to_receive": "前往接收",
"height": "高度",
"help": "帮助",
"hidden_tag": " (已隐藏)",
"hide": "隐藏",
"hide_address": "隐藏地址",
"hide_zero_balances": "隐藏零余额",
@@ -253,6 +308,9 @@
"import_key_warning": "警告:切勿分享您的私钥!从不可信来源导入密钥可能会危及您的钱包安全。",
"import_key_z_format": "Z 地址花费密钥 (secret-extended-key-...)",
"import_private_key": "导入私钥...",
"incorrect_passphrase": "密码错误",
"incorrect_pin": "PIN 错误",
"insufficient_funds": "余额不足以支付此金额加手续费。",
"invalid_address": "无效的地址格式",
"ip_address": "IP 地址",
"keep": "保留",
@@ -266,6 +324,7 @@
"key_export_viewing_keys_zonly": "查看密钥仅适用于屏蔽 (z) 地址",
"key_export_viewing_warning": "此查看密钥允许他人查看您的入账交易和余额,但不能花费您的资金。仅与信任的人分享。",
"label": "标签:",
"label_placeholder": "例如 储蓄、挖矿...",
"language": "语言",
"light": "浅色",
"loading": "加载中...",
@@ -311,6 +370,13 @@
"mining_address_copied": "挖矿地址已复制",
"mining_all_time": "所有时间",
"mining_already_saved": "矿池 URL 已保存",
"mining_benchmark_cancel": "取消基准测试",
"mining_benchmark_cooling": "冷却中",
"mining_benchmark_dismiss": "关闭",
"mining_benchmark_result": "最佳",
"mining_benchmark_stabilizing": "稳定中",
"mining_benchmark_testing": "测试中",
"mining_benchmark_tooltip": "为此 CPU 找到最佳线程数",
"mining_block_copied": "区块哈希已复制",
"mining_chart_1m_ago": "1分钟前",
"mining_chart_5m_ago": "5分钟前",
@@ -330,8 +396,15 @@
"mining_filter_tip_all": "显示所有收益",
"mining_filter_tip_pool": "仅显示矿池收益",
"mining_filter_tip_solo": "仅显示单人收益",
"mining_generate_z_address_hint": "在接收标签页生成一个 Z 地址作为支付地址",
"mining_idle_gpu_off_tooltip": "无限制:开启\n仅键盘/鼠标输入决定空闲状态\n点击启用GPU感知检测",
"mining_idle_gpu_on_tooltip": "GPU感知开启\nGPU活动视频、游戏阻止空闲挖矿\n点击切换到无限制模式",
"mining_idle_off_tooltip": "启用空闲挖矿",
"mining_idle_on_tooltip": "禁用空闲挖矿",
"mining_idle_scale_off_tooltip": "启动/停止模式:开启\n点击切换到线程缩放模式",
"mining_idle_scale_on_tooltip": "线程缩放:开启\n点击切换到启动/停止模式",
"mining_idle_threads_active_tooltip": "用户活跃时的线程数",
"mining_idle_threads_idle_tooltip": "系统空闲时的线程数",
"mining_local_hashrate": "本地算力",
"mining_mine": "挖矿",
"mining_mining_addr": "挖矿地址",
@@ -388,6 +461,7 @@
"no_addresses_available": "无可用地址",
"no_addresses_match": "没有匹配过滤器的地址",
"no_addresses_with_balance": "没有有余额的地址",
"no_addresses_yet": "暂无地址",
"no_matching": "没有匹配的交易",
"no_recent_receives": "没有最近的接收",
"no_recent_sends": "没有最近的发送",
@@ -453,6 +527,7 @@
"peers_upper": "节点",
"peers_version": "版本",
"pending": "待处理",
"pin_not_set": "未设置 PIN。使用密码解锁。",
"ping": "延迟",
"price_chart": "价格图表",
"qr_code": "二维码",
@@ -473,7 +548,9 @@
"recent_received": "最近接收",
"recent_sends": "最近发送",
"recipient": "收款方",
"recipient_balance": "接收方: %.8f → %.8f DRGX",
"recv_type": "接收",
"reduce_motion": "减少动画",
"refresh": "刷新",
"refresh_now": "立即刷新",
"remove_favorite": "移除收藏",
@@ -493,7 +570,10 @@
"request_uri_copied": "付款 URI 已复制到剪贴板",
"rescan": "重新扫描",
"reset_to_defaults": "重置为默认值",
"restarting_after_encryption": "加密后重启守护进程...",
"restore_address": "恢复地址",
"result_preview": "结果预览",
"retry": "重试",
"review_send": "审核发送",
"rpc_host": "RPC 主机",
"rpc_pass": "密码",
@@ -553,12 +633,15 @@
"send_valid_transparent": "有效的透明地址",
"send_wallet_empty": "您的钱包是空的",
"send_yes_clear": "是,清除",
"sender_balance": "发送方: %.8f → %.8f DRGX",
"sending": "正在发送交易",
"sending_from": "发送来源",
"sends_full_balance_warning": "这将发送全部余额。发送地址将变为零余额。",
"sent": "已发送",
"sent_filter": "已发送",
"sent_type": "已发送",
"sent_upper": "已发送",
"set_label": "设置标签...",
"settings": "设置",
"settings_about_text": "DragonX (DRGX) 屏蔽加密货币钱包,使用 Dear ImGui 构建,提供轻量、便携的体验。",
"settings_acrylic_level": "亚克力级别:",
@@ -647,12 +730,15 @@
"shield_utxo_limit": "UTXO 限制:",
"shield_wildcard_hint": "使用 '*' 从所有透明地址屏蔽",
"shielded": "屏蔽",
"shielded_address": "隐蔽地址",
"shielded_to": "屏蔽至",
"shielded_type": "屏蔽",
"shielding_notice": "注意:这将把资金从透明 (T) 地址转移到隐私 (Z) 地址。",
"show": "显示",
"show_hidden": "显示已隐藏 (%d)",
"show_qr_code": "显示二维码",
"showing_transactions": "显示第 %d%d 笔,共 %d 笔交易(总计:%zu",
"showing_x_of_y": "显示 %d / %d 个地址",
"simple_background": "简单背景",
"slider_off": "关闭",
"start_mining": "开始挖矿",
@@ -663,10 +749,12 @@
"success": "成功",
"summary": "摘要",
"syncing": "同步中...",
"t_address": "T 地址",
"t_addresses": "T 地址",
"test_connection": "测试",
"theme": "主题",
"theme_effects": "主题效果",
"theme_language": "主题与语言",
"time_days_ago": "%d 天前",
"time_hours_ago": "%d 小时前",
"time_minutes_ago": "%d 分钟前",
@@ -680,6 +768,7 @@
"to": "至",
"to_upper": "至",
"tools": "工具",
"tools_actions": "工具与操作...",
"total": "合计",
"transaction_id": "交易 ID",
"transaction_sent": "交易发送成功",
@@ -687,7 +776,13 @@
"transaction_url": "交易 URL",
"transactions": "交易",
"transactions_upper": "交易",
"transfer_failed": "转账失败",
"transfer_funds": "转账",
"transfer_sent": "转账已发送",
"transfer_sent_desc": "您的转账已提交到网络。",
"transfer_to": "转账至:",
"transparent": "透明",
"transparent_address": "透明地址",
"tt_addr_url": "在区块浏览器中查看地址的基础 URL",
"tt_address_book": "管理已保存的地址以快速发送",
"tt_auto_lock": "在此不活动时间后锁定钱包",
@@ -702,6 +797,8 @@
"tt_custom_theme": "自定义主题已激活",
"tt_debug_collapse": "折叠调试日志选项",
"tt_debug_expand": "展开调试日志选项",
"tt_delete_blockchain": "删除所有区块链数据并重新同步。wallet.dat 和配置将被保留。",
"tt_download_bootstrap": "下载区块链引导程序以加速同步\n现有区块数据将被替换",
"tt_encrypt": "使用密码加密 wallet.dat",
"tt_export_all": "将所有私钥导出到文件",
"tt_export_csv": "将交易历史导出为 CSV 电子表格",
@@ -719,6 +816,7 @@
"tt_mine_idle": "系统空闲时自动开始挖矿\\n无键盘/鼠标输入)",
"tt_noise": "颗粒纹理强度0%% = 关闭100%% = 最大)",
"tt_open_dir": "点击在文件管理器中打开",
"tt_reduce_motion": "禁用动画过渡和余额渐变以提高无障碍性",
"tt_remove_encrypt": "移除加密并以未受保护状态存储钱包",
"tt_remove_pin": "移除 PIN 并要求密码解锁",
"tt_report_bug": "在项目跟踪器中报告问题",
@@ -796,7 +894,9 @@
"warning_upper": "警告!",
"website": "网站",
"window_opacity": "窗口透明度",
"wizard_daemon_start_failed": "启动守护进程失败 — 将自动重试",
"yes_clear": "是,清除",
"your_addresses": "您的地址",
"z_address": "Z 地址",
"z_addresses": "Z 地址"
}