fix(console): localize the lite console + drop full-node-only wording

The lite console tab lagged the full-node one on i18n: its toolbar status,
status lines, help, and error/warning strings were hard-coded English or
worded for a full node (a "daemon" the lite wallet doesn't have).

- toolbarStatus()/statusLines(): route through TR() (reusing the existing
  lite_net_* keys where they already map)
- printHelp(): enumerate the 25 pass-through backend verbs for discoverability,
  since the C++ tab intercepts `help` before the backend's own HelpCommand runs
- gate the destructive 'stop' confirmation to the full node (hasRpcReference);
  lite has no node, so it lets 'stop' fall through to the backend instead of
  showing a phantom "shut down the node" warning behind a dead gate
- word the not-connected error per variant (daemon vs "no wallet open")
- TR() the "(no output)" command-result fallback

Adds 7 i18n keys across all 8 languages (additive); rebuilds the CJK subset
for the one new glyph (U+C5D4 for the Korean "backend"). Build + ctest +
source-hygiene green; changes adversarially verified (no logic/i18n defects).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-18 20:10:17 -05:00
parent 0dcc09fc5f
commit 567732206e
12 changed files with 88 additions and 14 deletions

View File

@@ -271,6 +271,7 @@
"console_app": "앱",
"console_auto_scroll": "자동 스크롤",
"console_available_commands": "사용 가능한 명령어:",
"console_backend_unavailable": "백엔드 없음",
"console_capturing_output": "데몬 출력 캡처 중...",
"console_cat_blockchain": "블록체인",
"console_cat_control": "제어",
@@ -310,11 +311,14 @@
"console_help_help": " help - 도움말 표시",
"console_help_setgenerate": " setgenerate - 채굴 제어",
"console_help_stop": " stop - 데몬 중지",
"console_last_error": "마지막 오류:",
"console_line_count": "%zu줄",
"console_matches": "일치",
"console_new_lines": "%d 새 줄",
"console_no_daemon": "데몬 없음",
"console_no_output": "(출력 없음)",
"console_not_connected": "오류: 데몬에 연결되지 않았습니다",
"console_not_connected_lite": "오류: 열린 지갑 없음",
"console_quit_note": "여기서는 'quit'/'exit'가 필요 없습니다 — 그냥 창을 닫으세요.",
"console_ref_builds": "생성",
"console_ref_cancel": "취소",
@@ -348,6 +352,7 @@
"console_status_stopped": "중지됨",
"console_status_stopping": "중지 중",
"console_status_unknown": "알 수 없음",
"console_stop_confirm_node": "'stop'은 노드를 종료하고 지갑 연결을 끊습니다. 확인하려면 'stop'을 다시 입력하세요.",
"console_tab_completion": "Tab으로 자동 완성",
"console_text_colors": "텍스트 색상",
"console_toggle_accents": "줄 색상 강조 전환",
@@ -626,6 +631,7 @@
"lite_birthday_backup": "생성 블록: %llu (이 값도 백업하세요)",
"lite_birthday_hint": "스캔을 시작할 블록 높이입니다. 모르면 0으로 두세요(전체 스캔이 느려짐).",
"lite_birthday_label": "생일 블록",
"lite_console_backend_commands": "백엔드 명령:",
"lite_console_help_passthrough": "그 외 입력은 라이트 지갑 콘솔 명령으로 실행됩니다.",
"lite_copy": "복사",
"lite_could_not_write": "쓸 수 없습니다: ",
@@ -643,6 +649,7 @@
"lite_net_add_url_hint": "https://your-lite-server",
"lite_net_checking": "확인 중…",
"lite_net_connected": "연결됨",
"lite_net_connecting": "연결 중…",
"lite_net_custom": "사용자 지정",
"lite_net_disconnected": "연결되지 않음",
"lite_net_hidden_section": "숨겨진 서버",