feat(ux): wizard handoff note, daemon restart reminder, settings polish (code)
The code changes intended with the settings_window removal in a90aa29 (a bad
git-add pathspec aborted staging them there, leaving that commit with only the
file deletions and CMakeLists still referencing them):
- First-run handoff info toast at the completion point.
- Daemon-updater "restart pending" reminder (Settings → Daemon Binary) + the
Done screen's warning-level "restart required" headline.
- Debug restart-note raised to a readable color with the restart prompt beneath
it; DEBUG OPTIONS header shows a lock + explanatory caption (auth gate
unchanged); a few hardcoded literals → material tokens / dpiScale.
- Drop the legacy settings_window from the build (CMakeLists + the dev-only
references) to match the file deletions.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -315,6 +315,10 @@ void I18n::loadBuiltinEnglish()
|
||||
strings_["contacts_message_needs_z"] = "Chat needs a shielded (z) address — this contact only has a transparent one";
|
||||
strings_["chat_copy_address_tip"] = "Click to copy address";
|
||||
strings_["chat_verify_key"] = "Identity key \xE2\x80\x94 compare to verify";
|
||||
strings_["chat_verify_tip"] = "End-to-end encrypted to this contact's identity key. Click to view the key fingerprint and compare it with your contact over a separate channel (call or in person) to be sure no one is impersonating them.";
|
||||
strings_["chat_verify_title"] = "Verify contact key";
|
||||
strings_["chat_verify_body"] = "Messages in this chat are encrypted to the identity key below, which was learned from this contact's first message. Ask your contact to read you their key fingerprint over a separate channel (a call or in person). If it matches exactly, you are talking to the right person; if not, do not trust this conversation.";
|
||||
strings_["chat_verify_copy"] = "Copy key";
|
||||
strings_["chat_awaiting_key"] = "Waiting for reply";
|
||||
strings_["chat_rename"] = "Rename contact";
|
||||
strings_["chat_rename_hint"] = "Contact name";
|
||||
@@ -773,6 +777,8 @@ void I18n::loadBuiltinEnglish()
|
||||
strings_["wiz_pass_spaces"] = "Passphrase has leading/trailing spaces \xe2\x80\x94 remove them";
|
||||
strings_["wiz_encrypt_continue"] = "Encrypt & Continue";
|
||||
strings_["wiz_encrypt_bg"] = "Encryption will complete in the background";
|
||||
strings_["wiz_handoff_starting"] = "Setting up your wallet. The node is starting and will keep syncing in the background. You can start exploring now, but balances may take a while to appear.";
|
||||
strings_["wiz_handoff_encrypting"] = "Setting up your wallet. The node is starting, and encryption will finish in the background once it connects. Balances may take a while to appear.";
|
||||
strings_["wiz_skip_confirm"] = "Continue WITHOUT encryption? Keys will be stored unencrypted \xe2\x80\x94 click Skip again to confirm.";
|
||||
strings_["wiz_pin_optional"] = "Quick-Unlock PIN (optional)";
|
||||
strings_["wiz_pin_label"] = "PIN (4-8 digits):";
|
||||
@@ -1058,6 +1064,9 @@ void I18n::loadBuiltinEnglish()
|
||||
strings_["tt_reset_settings"] = "Revert this page to the last saved settings (undo unsaved changes)";
|
||||
strings_["tt_debug_collapse"] = "Collapse debug logging options";
|
||||
strings_["tt_debug_expand"] = "Expand debug logging options";
|
||||
strings_["debug_options_caption_gated"] = "Diagnostics and node tuning for troubleshooting. Locked: opening requires confirmation (and your PIN or passphrase if set).";
|
||||
strings_["debug_options_caption_unlocked"] = "Diagnostics and node tuning for troubleshooting. Unlocked for this session.";
|
||||
strings_["tt_debug_expand_gated"] = "Locked: confirm (and enter your PIN or passphrase if set) to show debug options";
|
||||
strings_["tt_restart_daemon"] = "Restart the daemon to apply debug logging changes";
|
||||
|
||||
// Settings: additional tooltips (keys/data row)
|
||||
@@ -1991,6 +2000,9 @@ void I18n::loadBuiltinEnglish()
|
||||
strings_["toast_stop_mining_failed"] = "Couldn't stop mining: ";
|
||||
strings_["toast_pool_start_failed"] = "Couldn't start the pool miner: ";
|
||||
strings_["toast_ban_failed"] = "Couldn't ban the peer: ";
|
||||
strings_["toast_peer_banned"] = "Peer banned.";
|
||||
strings_["toast_peer_unbanned"] = "Peer unbanned.";
|
||||
strings_["toast_bans_cleared"] = "All bans cleared.";
|
||||
strings_["toast_unban_failed"] = "Couldn't unban the peer: ";
|
||||
strings_["toast_clear_bans_failed"] = "Couldn't clear bans: ";
|
||||
strings_["toast_key_export_failed"] = "Key export failed: ";
|
||||
@@ -2482,6 +2494,10 @@ void I18n::loadBuiltinEnglish()
|
||||
strings_["daemon_update_installed_ok"] = "Node installed";
|
||||
strings_["daemon_update_restart_note"] = "Restart the daemon to start running the new version.";
|
||||
strings_["daemon_update_restart_now"] = "Restart daemon now";
|
||||
strings_["daemon_update_restart_needed"] = "Restart required to use the new version";
|
||||
strings_["daemon_update_later_hint"] = "A reminder stays in Settings until you restart the daemon.";
|
||||
strings_["daemon_restart_pending"] = "A new daemon version is installed but not running yet. Restart the daemon to use it.";
|
||||
strings_["tt_daemon_restart_pending"] = "Restarts the embedded daemon so the newly installed version takes effect.";
|
||||
strings_["daemon_update_later"] = "Later";
|
||||
strings_["daemon_update_failed"] = "Update failed";
|
||||
strings_["daemon_update_unknown_error"] = "Unknown error.";
|
||||
@@ -2538,6 +2554,8 @@ void I18n::loadBuiltinEnglish()
|
||||
strings_["peers_blocks"] = "Blocks";
|
||||
strings_["peers_blocks_left"] = "%d blocks left";
|
||||
strings_["peers_clear_all_bans"] = "Clear All Bans";
|
||||
strings_["peers_clear_bans_confirm"] = "Clear all %d bans?";
|
||||
strings_["peers_clear_bans_confirm_yes"] = "Clear all";
|
||||
strings_["peers_click_copy"] = "Click to copy";
|
||||
strings_["peers_connected"] = "Connected";
|
||||
strings_["peers_connected_count"] = "Connected: %d";
|
||||
|
||||
Reference in New Issue
Block a user