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": "Esto parece una clave de visualización. Usa \"Importar clave de visualización\" en su lugar.",
|
||||
"import_key_z_format": "Claves de gasto de direcciones Z (secret-extended-key-...)",
|
||||
"import_private_key": "Importar Clave Privada...",
|
||||
"import_scan_hint": "0 = volver a escanear desde el inicio",
|
||||
"import_scan_label": "Escanear desde la altura de bloque (opcional)",
|
||||
"import_scan_transparent": "Las claves transparentes siempre se reescanean por completo",
|
||||
"import_viewkey_field": "Clave de visualización",
|
||||
"import_viewkey_note": "Solo lectura: una clave de visualización revela el saldo y las transacciones de una dirección, pero no puede gastar sus fondos.",
|
||||
"import_viewkey_scan_hint": "0 = volver a escanear desde el inicio",
|
||||
"import_viewkey_scan_label": "Escanear desde la altura de bloque (opcional)",
|
||||
"import_viewkey_title": "Importar clave de visualización",
|
||||
"import_viewkey_wrong_type": "Esto parece una clave de gasto. Usa \"Importar clave\" en su lugar.",
|
||||
"import_viewkey_wrong_type": "Esto parece una clave de gasto. Usa \"Importar Clave Privada\" en su lugar.",
|
||||
"incorrect_passphrase": "Contraseña incorrecta",
|
||||
"incorrect_pin": "PIN incorrecto",
|
||||
"insufficient_funds": "Fondos insuficientes para este monto más la comisión.",
|
||||
@@ -1111,7 +1112,7 @@
|
||||
"settings_gradient_bg": "Fondo degradado",
|
||||
"settings_gradient_desc": "Reemplazar fondos con texturas por degradados suaves",
|
||||
"settings_idle_after": "después de",
|
||||
"settings_import_key": "Importar clave...",
|
||||
"settings_import_key": "Importar Clave Privada...",
|
||||
"settings_import_viewkey": "Importar clave de visualización...",
|
||||
"settings_language_note": "Nota: Parte del texto requiere reinicio para actualizarse",
|
||||
"settings_lock_now": "Bloquear ahora",
|
||||
|
||||
Reference in New Issue
Block a user