feat(ui): settings polish — button retune, daemon card, RPC 2-row, chat preview
Settings tabs brought closer to the approved mockup: - ActionButton/renderCardButton retune (settings-scoped): 7px radius, 9px padX, Primary → accent-outline chip, Secondary/card buttons more defined. - Daemon-binary card: compact status right-aligned on the DAEMON BINARY heading (Up to date / Version differs / Not installed), filled/rounded status box, neutral danger divider (was alarming red), roomier spacing. - RPC Connection: two-row column-aligned layout (Host | Port, then Username | Password) so the password no longer clips off the card edge. - Chat settings tab: live conversation preview below the Appearance / Messaging cards; "Focus input on open" checkbox reflowed onto the console color-toggle row. - Debug Options: "Current theme only" toggle restricts either screenshot sweep to the active theme instead of cycling every skin. - Tabs fill the full content width (content-max-width cap disabled) and the sidebar nav panel centers within the true visible area. - i18n: new keys for the above (untranslated keys fall back to English). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -460,15 +460,23 @@ void I18n::loadBuiltinEnglish()
|
||||
// Settings sections
|
||||
strings_["appearance"] = "APPEARANCE";
|
||||
strings_["theme_language"] = "THEME & LANGUAGE";
|
||||
strings_["scale_effects"] = "SCALE & EFFECTS";
|
||||
strings_["advanced_effects"] = "Advanced Effects...";
|
||||
strings_["tools_actions"] = "Tools & Actions...";
|
||||
strings_["tools_actions_hdr"] = "TOOLS & ACTIONS";
|
||||
strings_["wallet_options_hdr"] = "OPTIONS";
|
||||
strings_["wallet_diagnostics_hdr"] = "DIAGNOSTICS";
|
||||
strings_["wallet"] = "WALLET";
|
||||
strings_["node_security"] = "NODE & SECURITY";
|
||||
strings_["node"] = "NODE";
|
||||
strings_["security"] = "SECURITY";
|
||||
strings_["explorer_section"] = "EXPLORER";
|
||||
strings_["explorer_urls_hdr"] = "URLS";
|
||||
strings_["about"] = "About";
|
||||
strings_["backup_data"] = "BACKUP & DATA";
|
||||
strings_["backup_col_import"] = "IMPORT & RESTORE";
|
||||
strings_["backup_col_backup"] = "BACKUP";
|
||||
strings_["backup_col_export"] = "EXPORT";
|
||||
strings_["balance_layout"] = "Balance Layout";
|
||||
strings_["low_spec_mode"] = "Low-spec mode";
|
||||
strings_["simple_background"] = "Simple background";
|
||||
@@ -496,9 +504,11 @@ void I18n::loadBuiltinEnglish()
|
||||
strings_["screenshot_sweep"] = "Run screenshot sweep";
|
||||
strings_["screenshot_sweep_full"] = "Full UI sweep";
|
||||
strings_["screenshot_open_dir"] = "Open location";
|
||||
strings_["sweep_current_theme_only"] = "Current theme only";
|
||||
strings_["tt_sweep_current_theme_only"] = "Sweep only the active theme instead of cycling every theme";
|
||||
strings_["screenshot_sweep_desc"] = "Cycles every theme across every tab and saves a screenshot of each into per-tab subfolders under the config directory's screenshots folder (overwriting the previous sweep). Runs for a few seconds.";
|
||||
strings_["mine_when_idle"] = "Mine when idle";
|
||||
strings_["setup_wizard"] = "Run Setup Wizard...";
|
||||
strings_["setup_wizard"] = "Run Setup Wizard…";
|
||||
|
||||
// RPC / Explorer settings
|
||||
strings_["rpc_connection"] = "RPC Connection...";
|
||||
@@ -512,21 +522,21 @@ void I18n::loadBuiltinEnglish()
|
||||
strings_["fetch_prices"] = "Fetch price data from CoinGecko";
|
||||
strings_["block_explorer"] = "Block Explorer";
|
||||
strings_["test_connection"] = "Test Connection";
|
||||
strings_["rescan"] = "Rescan Blockchain";
|
||||
strings_["rescan"] = "Rescan";
|
||||
|
||||
// Settings: buttons
|
||||
strings_["settings_address_book"] = "Address Book...";
|
||||
strings_["settings_validate_address"] = "Validate Address...";
|
||||
strings_["settings_request_payment"] = "Request Payment...";
|
||||
strings_["settings_shield_mining"] = "Shield Mining...";
|
||||
strings_["settings_merge_to_address"] = "Merge to Address...";
|
||||
strings_["settings_address_book"] = "Address Book…";
|
||||
strings_["settings_validate_address"] = "Validate Address…";
|
||||
strings_["settings_request_payment"] = "Request Payment…";
|
||||
strings_["settings_shield_mining"] = "Shield Mining…";
|
||||
strings_["settings_merge_to_address"] = "Merge to Address…";
|
||||
strings_["settings_clear_ztx"] = "Clear Z-Tx History";
|
||||
strings_["settings_import_key"] = "Import Private Key...";
|
||||
strings_["settings_import_viewkey"] = "Import Viewing Key...";
|
||||
strings_["settings_export_key"] = "Export Key...";
|
||||
strings_["settings_export_all"] = "Export All...";
|
||||
strings_["settings_backup"] = "Backup...";
|
||||
strings_["settings_export_csv"] = "Export CSV...";
|
||||
strings_["settings_import_key"] = "Import Private Key…";
|
||||
strings_["settings_import_viewkey"] = "Import Viewing Key…";
|
||||
strings_["settings_export_key"] = "Export Key…";
|
||||
strings_["settings_export_all"] = "Export All…";
|
||||
strings_["settings_backup"] = "Backup…";
|
||||
strings_["settings_export_csv"] = "Export CSV…";
|
||||
strings_["settings_encrypt_wallet"] = "Encrypt Wallet";
|
||||
strings_["settings_change_passphrase"] = "Change Passphrase";
|
||||
strings_["settings_lock_now"] = "Lock Now";
|
||||
@@ -655,8 +665,8 @@ void I18n::loadBuiltinEnglish()
|
||||
strings_["wiz_pin_confirm"] = "Confirm PIN:";
|
||||
strings_["wiz_pin_invalid"] = "PIN must be 4-8 digits";
|
||||
strings_["wiz_pin_mismatch"] = "PINs do not match";
|
||||
strings_["settings_data_dir"] = "Data Dir:";
|
||||
strings_["settings_wallet_size_label"] = "Wallet Size:";
|
||||
strings_["settings_data_dir"] = "Data Dir";
|
||||
strings_["settings_wallet_size_label"] = "Wallet Size";
|
||||
strings_["settings_debug_changed"] = "Debug categories changed \xe2\x80\x94 restart daemon to apply";
|
||||
strings_["settings_auto_detected"] = "Auto-detected from DRAGONX.conf";
|
||||
strings_["settings_visual_effects"] = "Visual Effects";
|
||||
@@ -670,7 +680,7 @@ void I18n::loadBuiltinEnglish()
|
||||
strings_["settings_wallet_info"] = "Wallet Info";
|
||||
strings_["settings_block_explorer_urls"] = "Block Explorer URLs";
|
||||
strings_["settings_configure_explorer"] = "Configure external block explorer links";
|
||||
strings_["settings_auto_lock"] = "AUTO-LOCK";
|
||||
strings_["settings_auto_lock"] = "Auto-lock";
|
||||
strings_["timeout_off"] = "Off";
|
||||
strings_["timeout_1min"] = "1 min";
|
||||
strings_["timeout_5min"] = "5 min";
|
||||
@@ -700,9 +710,9 @@ void I18n::loadBuiltinEnglish()
|
||||
strings_["tt_scanline"] = "CRT scanline effect in console";
|
||||
strings_["tt_theme_effects"] = "Shimmer, glow, hue-cycling per theme";
|
||||
strings_["tt_animate_avatars"] = "Play animated (GIF / WebP) contact avatars; off shows the first frame only";
|
||||
strings_["tt_blur"] = "Blur amount (0%% = off, 100%% = maximum)";
|
||||
strings_["tt_noise"] = "Grain texture intensity (0%% = off, 100%% = maximum)";
|
||||
strings_["tt_ui_opacity"] = "Card and sidebar opacity (100%% = fully opaque, lower = more see-through)";
|
||||
strings_["tt_blur"] = "Blur amount (0% = off, 100% = maximum)";
|
||||
strings_["tt_noise"] = "Grain texture intensity (0% = off, 100% = maximum)";
|
||||
strings_["tt_ui_opacity"] = "Card and sidebar opacity (100% = fully opaque, lower = more see-through)";
|
||||
strings_["tt_window_opacity"] = "Background opacity (lower = desktop visible through window)";
|
||||
strings_["tt_font_scale"] = "Scale all text and UI (1.0x = default, up to 1.5x). Hotkey: Alt + Scroll Wheel";
|
||||
strings_["tt_custom_theme"] = "Custom theme active";
|
||||
@@ -805,12 +815,14 @@ void I18n::loadBuiltinEnglish()
|
||||
strings_["rescan_detecting"] = "Checking which blocks your node has on disk…";
|
||||
strings_["rescan_bootstrapped_msg"] = "Your node was bootstrapped, so blocks below the snapshot aren't on disk and a rescan from genesis would fail. Rescan from a height your snapshot includes to reconcile your wallet's spent balance. Your wallet.dat and chain data are not deleted.";
|
||||
strings_["rescan_from_height"] = "Rescan from block height:";
|
||||
strings_["repair_wallet"] = "Repair Wallet";
|
||||
strings_["repair_wallet"] = "Repair";
|
||||
strings_["tt_repair_wallet"] = "Wipe and rebuild the wallet's transaction records from the blockchain (fixes notes that fail to send after a rescan)";
|
||||
strings_["confirm_repair_wallet_title"] = "Repair Wallet";
|
||||
strings_["confirm_repair_wallet_msg"] = "This restarts the daemon with -zapwallettxes=2: it deletes all of the wallet's transaction and note records, then rebuilds them from the blockchain. Use this when transactions fail to build (\"Invalid sapling spend proof\" / \"shielded requirements not met\") even after a full rescan. It takes a long time and the wallet stays offline until it finishes.";
|
||||
strings_["confirm_repair_wallet_safe"] = "Your keys, addresses and balance are preserved — only the cached transaction records are rebuilt.";
|
||||
strings_["daemon_binary"] = "Daemon binary";
|
||||
strings_["daemon_updates_label"] = "UPDATES";
|
||||
strings_["daemon_maintenance_label"] = "MAINTENANCE";
|
||||
strings_["daemon_installed"] = "Installed";
|
||||
strings_["daemon_bundled"] = "Bundled";
|
||||
strings_["daemon_not_installed"] = "not installed";
|
||||
@@ -818,6 +830,10 @@ void I18n::loadBuiltinEnglish()
|
||||
strings_["daemon_status_match"] = "Installed binary matches the bundled version.";
|
||||
strings_["daemon_status_differ"] = "Installed binary differs from the bundled version.";
|
||||
strings_["daemon_status_missing"] = "No daemon installed — install the bundled version.";
|
||||
// Compact status shown right-aligned on the DAEMON BINARY heading row.
|
||||
strings_["daemon_status_ok"] = "Up to date";
|
||||
strings_["daemon_status_diff"] = "Version differs";
|
||||
strings_["daemon_status_none"] = "Not installed";
|
||||
strings_["daemon_install_bundled"] = "Install bundled";
|
||||
strings_["tt_daemon_install_bundled"] = "Stop the node, overwrite the installed dragonxd with the version bundled in this wallet build, then restart";
|
||||
strings_["confirm_reinstall_daemon_title"] = "Install Bundled Daemon";
|
||||
@@ -1500,6 +1516,7 @@ void I18n::loadBuiltinEnglish()
|
||||
strings_["about_chain"] = "Chain:";
|
||||
strings_["about_connections"] = "Connections:";
|
||||
strings_["about_credits"] = "Credits";
|
||||
strings_["about_source"] = "Source";
|
||||
strings_["about_daemon"] = "Daemon:";
|
||||
strings_["about_debug"] = "Debug";
|
||||
strings_["about_edition"] = "ImGui Edition";
|
||||
|
||||
Reference in New Issue
Block a user