feat(settings): rename to "Import Private Key" + add scan height to it
Follow-up to the key/viewing-key button split:
- Rename the "Import Key…" button to "Import Private Key…" (settings_import_key
value in en + all 8 langs, reusing the existing import_key_title wording) so it
reads as the natural counterpart to "Import Viewing Key…". The dialog title was
already "Import Private Key". The viewing-key wrong-type redirect hint now names
the renamed button.
- Show the "scan from block height" field in the private-key (spending) dialog too,
not just the viewing-key one. z_importkey accepts a start height, so a shielded
spend import of a recent key needn't rescan the whole chain. Transparent WIF
(importprivkey) has no such param, so once a transparent key is recognized the
field is disabled, its buffer cleared, and a "Transparent keys always rescan
fully" note replaces the hint. importPrivateKey already gates the start-height
append on (viewing || shielded), so transparent imports never receive it.
- i18n: shared scan keys renamed import_viewkey_scan_{label,hint} ->
import_scan_{label,hint}; added import_scan_transparent (en + 8 langs).
Reviewed via an adversarial multi-agent pass (rpc-routing / i18n / ui-logic /
consistency); only two nits surfaced (stale disabled-field value + a stale
comment), both fixed here.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -444,12 +444,13 @@
|
||||
"import_key_wrong_type": "Isto parece uma chave de visualização. Use \"Importar chave de visualização\".",
|
||||
"import_key_z_format": "Chaves de gasto de z-endereço (secret-extended-key-...)",
|
||||
"import_private_key": "Importar Chave Privada...",
|
||||
"import_scan_hint": "0 = reescanear desde o início",
|
||||
"import_scan_label": "Escanear a partir da altura do bloco (opcional)",
|
||||
"import_scan_transparent": "Chaves transparentes sempre reescaneiam totalmente",
|
||||
"import_viewkey_field": "Chave de visualização",
|
||||
"import_viewkey_note": "Somente leitura: uma chave de visualização revela o saldo e as transações de um endereço, mas não pode gastar seus fundos.",
|
||||
"import_viewkey_scan_hint": "0 = reescanear desde o início",
|
||||
"import_viewkey_scan_label": "Escanear a partir da altura do bloco (opcional)",
|
||||
"import_viewkey_title": "Importar chave de visualização",
|
||||
"import_viewkey_wrong_type": "Isto parece uma chave de gasto. Use \"Importar chave\".",
|
||||
"import_viewkey_wrong_type": "Isto parece uma chave de gasto. Use \"Importar Chave Privada\".",
|
||||
"incorrect_passphrase": "Senha incorreta",
|
||||
"incorrect_pin": "PIN incorreto",
|
||||
"insufficient_funds": "Fundos insuficientes para este valor mais taxa.",
|
||||
@@ -1111,7 +1112,7 @@
|
||||
"settings_gradient_bg": "Fundo gradiente",
|
||||
"settings_gradient_desc": "Substituir fundos texturizados por gradientes suaves",
|
||||
"settings_idle_after": "após",
|
||||
"settings_import_key": "Importar chave...",
|
||||
"settings_import_key": "Importar Chave Privada...",
|
||||
"settings_import_viewkey": "Importar chave de visualização...",
|
||||
"settings_language_note": "Nota: Alguns textos requerem reinício para atualizar",
|
||||
"settings_lock_now": "Bloquear agora",
|
||||
|
||||
Reference in New Issue
Block a user