feat(i18n,errors): route node-action toasts through i18n + friendlyRpcError
Finish the error-surfacing foundation across app_network.cpp (+ one in app_wizard.cpp): ~21 toasts that were hardcoded English — or raw daemon/RPC error text concatenated after an English prefix — now go through TR() keys, and every raw-error one maps the detail through util::friendlyRpcError() (warming up / locked / method-not-found / insufficient / unreachable → plain guidance, raw text as fallback). Covers mining start/stop, pool start, peer ban/unban/ clear, key export, rescan, wallet-switch guards, and the lite-unavailable notices. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ WizardUiState s_wizardUi;
|
||||
void App::restartWizard()
|
||||
{
|
||||
if (!supportsFullNodeLifecycleActions()) {
|
||||
ui::Notifications::instance().warning("Lite wallet lifecycle requests are available from Settings as dry-run readiness checks");
|
||||
ui::Notifications::instance().warning(TR("toast_wizard_lite_unavailable"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user