feat(wallet): richer detail in the wallet-switch progress modal
The switch modal now shows more than a bare phase line:
- The title carries the target wallet ("Switching wallet — savings") and a
"from <previous>" caption for context (names prettified: wallet.dat → "Default
wallet", wallet-<name>.dat → "<name>", in-place links → "External wallet").
- During the Reconnecting phase — the ~30-60s where the node loads the block
index, verifies, and rescans — it surfaces the node's LIVE init stage
(state_.warmup_status/description via the existing translateWarmup mapping:
"Loading blockchain data…", "Verifying blockchain…", "Scanning for
transactions…") instead of a static "Reconnecting…".
- An elapsed timer (m:ss) so the wait visibly progresses.
i18n: from/elapsed/default-wallet/external-wallet labels (EN + 8 languages,
additive; no new CJK glyphs). No switch-flow logic change.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1295,7 +1295,11 @@
|
||||
"sweep_toggle": "In meine Wallet fegen (Schlüssel nicht behalten)",
|
||||
"sweep_tx": "Transaktion:",
|
||||
"switch_progress_background": "Im Hintergrund fortsetzen",
|
||||
"switch_progress_default_wallet": "Standard-Wallet",
|
||||
"switch_progress_elapsed": "Vergangen",
|
||||
"switch_progress_external_wallet": "Externe Wallet",
|
||||
"switch_progress_failed_title": "Wallet-Wechsel fehlgeschlagen",
|
||||
"switch_progress_from_label": "von",
|
||||
"switch_progress_hint": "Ein sauberes Herunterfahren kann bis zu einer Minute dauern.",
|
||||
"switch_progress_reconnecting": "Neu verbinden",
|
||||
"switch_progress_starting": "Knoten wird mit der neuen Wallet gestartet",
|
||||
|
||||
@@ -1295,7 +1295,11 @@
|
||||
"sweep_toggle": "Barrer a mi monedero (no conservar la clave)",
|
||||
"sweep_tx": "Transacción:",
|
||||
"switch_progress_background": "Continuar en segundo plano",
|
||||
"switch_progress_default_wallet": "Cartera predeterminada",
|
||||
"switch_progress_elapsed": "Transcurrido",
|
||||
"switch_progress_external_wallet": "Cartera externa",
|
||||
"switch_progress_failed_title": "Error al cambiar de cartera",
|
||||
"switch_progress_from_label": "desde",
|
||||
"switch_progress_hint": "Un apagado ordenado puede tardar hasta un minuto.",
|
||||
"switch_progress_reconnecting": "Reconectando",
|
||||
"switch_progress_starting": "Iniciando el nodo con la nueva cartera",
|
||||
|
||||
@@ -1295,7 +1295,11 @@
|
||||
"sweep_toggle": "Balayer vers mon portefeuille (ne pas conserver la clé)",
|
||||
"sweep_tx": "Transaction :",
|
||||
"switch_progress_background": "Continuer en arrière-plan",
|
||||
"switch_progress_default_wallet": "Portefeuille par défaut",
|
||||
"switch_progress_elapsed": "Écoulé",
|
||||
"switch_progress_external_wallet": "Portefeuille externe",
|
||||
"switch_progress_failed_title": "Échec du changement de portefeuille",
|
||||
"switch_progress_from_label": "depuis",
|
||||
"switch_progress_hint": "Un arrêt propre peut prendre jusqu'à une minute.",
|
||||
"switch_progress_reconnecting": "Reconnexion",
|
||||
"switch_progress_starting": "Démarrage du nœud sur le nouveau portefeuille",
|
||||
|
||||
@@ -1295,7 +1295,11 @@
|
||||
"sweep_toggle": "ウォレットに集約(鍵は保持しない)",
|
||||
"sweep_tx": "取引:",
|
||||
"switch_progress_background": "バックグラウンドで続行",
|
||||
"switch_progress_default_wallet": "既定のウォレット",
|
||||
"switch_progress_elapsed": "経過",
|
||||
"switch_progress_external_wallet": "外部ウォレット",
|
||||
"switch_progress_failed_title": "ウォレットの切り替えに失敗しました",
|
||||
"switch_progress_from_label": "元:",
|
||||
"switch_progress_hint": "正常なシャットダウンには最大1分かかることがあります。",
|
||||
"switch_progress_reconnecting": "再接続しています",
|
||||
"switch_progress_starting": "新しいウォレットでノードを起動しています",
|
||||
|
||||
@@ -1295,7 +1295,11 @@
|
||||
"sweep_toggle": "내 지갑으로 쓸어담기 (키 보관 안 함)",
|
||||
"sweep_tx": "거래:",
|
||||
"switch_progress_background": "백그라운드에서 계속",
|
||||
"switch_progress_default_wallet": "기본 지갑",
|
||||
"switch_progress_elapsed": "경과",
|
||||
"switch_progress_external_wallet": "외부 지갑",
|
||||
"switch_progress_failed_title": "지갑 전환 실패",
|
||||
"switch_progress_from_label": "이전:",
|
||||
"switch_progress_hint": "정상 종료에는 최대 1분이 걸릴 수 있습니다.",
|
||||
"switch_progress_reconnecting": "다시 연결하는 중",
|
||||
"switch_progress_starting": "새 지갑으로 노드를 시작하는 중",
|
||||
|
||||
@@ -1295,7 +1295,11 @@
|
||||
"sweep_toggle": "Varrer para minha carteira (não manter a chave)",
|
||||
"sweep_tx": "Transação:",
|
||||
"switch_progress_background": "Continuar em segundo plano",
|
||||
"switch_progress_default_wallet": "Carteira padrão",
|
||||
"switch_progress_elapsed": "Decorrido",
|
||||
"switch_progress_external_wallet": "Carteira externa",
|
||||
"switch_progress_failed_title": "Falha ao trocar de carteira",
|
||||
"switch_progress_from_label": "de",
|
||||
"switch_progress_hint": "Um desligamento normal pode levar até um minuto.",
|
||||
"switch_progress_reconnecting": "Reconectando",
|
||||
"switch_progress_starting": "Iniciando o nó com a nova carteira",
|
||||
|
||||
@@ -1295,7 +1295,11 @@
|
||||
"sweep_toggle": "Перевести в мой кошелёк (не сохранять ключ)",
|
||||
"sweep_tx": "Транзакция:",
|
||||
"switch_progress_background": "Продолжить в фоне",
|
||||
"switch_progress_default_wallet": "Кошелёк по умолчанию",
|
||||
"switch_progress_elapsed": "Прошло",
|
||||
"switch_progress_external_wallet": "Внешний кошелёк",
|
||||
"switch_progress_failed_title": "Не удалось переключить кошелёк",
|
||||
"switch_progress_from_label": "из",
|
||||
"switch_progress_hint": "Корректное завершение работы может занять до минуты.",
|
||||
"switch_progress_reconnecting": "Переподключение",
|
||||
"switch_progress_starting": "Запуск узла с новым кошельком",
|
||||
|
||||
@@ -1295,7 +1295,11 @@
|
||||
"sweep_toggle": "归集到我的钱包(不保留密钥)",
|
||||
"sweep_tx": "交易:",
|
||||
"switch_progress_background": "在后台继续",
|
||||
"switch_progress_default_wallet": "默认钱包",
|
||||
"switch_progress_elapsed": "已用时",
|
||||
"switch_progress_external_wallet": "外部钱包",
|
||||
"switch_progress_failed_title": "切换钱包失败",
|
||||
"switch_progress_from_label": "来自",
|
||||
"switch_progress_hint": "正常关闭最多可能需要一分钟。",
|
||||
"switch_progress_reconnecting": "正在重新连接",
|
||||
"switch_progress_starting": "正在以新钱包启动节点",
|
||||
|
||||
Reference in New Issue
Block a user