refactor(core): merge passphrase__access_hidden_wallet into passphrase__access_wallet
What changed, and why it matters
This commit is a simple user-interface cleanup. It removes one duplicate translation label ('Access hidden wallet') and makes the device use a single, consistent label ('Access wallet') when asking the user to confirm opening a passphrase-protected wallet. There is no change to security logic, cryptography, or how passphrases are handled.
No action needed; treat as a routine refactoring review.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change merges two translation keys, passphrase__access_hidden_wallet and passphrase__access_wallet, into one key. The Eckhart layout now uses passphrase__access_wallet as the button verb in confirm_hidden_passphrase_from_host(). The removed key is deleted from the English translation file and from the blank-translations rules. No code behavior, validation, or flow changes.
Changed components
core/src/trezor/ui/layouts/eckhart/__init__.pycore/translations/en.jsoncore/translations/blank_translations_rules.jsonInspect captured patch +2 / −10
### core/src/trezor/ui/layouts/eckhart/__init__.py
@@ -226,7 +226,7 @@ async def confirm_hidden_passphrase_from_host() -> None:
"passphrase_host1_hidden",
TR.passphrase__wallet,
description=TR.passphrase__from_host_not_shown,
- verb=TR.passphrase__access_hidden_wallet,
+ verb=TR.passphrase__access_wallet,
)
### core/translations/blank_translations_rules.json
@@ -132,7 +132,6 @@
"exact": [
"ethereum__approve_revoke",
"fido__title_reset",
- "passphrase__access_wallet",
"pin__enabled",
"progress__locking_device",
"recovery__enter_different_share",
@@ -350,7 +349,6 @@
"instructions__menu_to_continue",
"instructions__shares_start_with_x_template",
"lockscreen__unlock",
- "passphrase__access_hidden_wallet",
"pin__setup_completed",
"recovery__share_does_not_match",
"recovery__share_from_group_entered_template",
### core/translations/en.json
@@ -1776,17 +1776,11 @@
"Eckhart": ""
},
"nostr__event_kind_template": "Event kind: {0}",
- "passphrase__access_hidden_wallet": {
- "Bolt": "",
- "Caesar": "",
- "Delizia": "",
- "Eckhart": "Access Passphrase wallet"
- },
"passphrase__access_wallet": {
"Bolt": "Access Passphrase wallet?",
"Caesar": "Access Passphrase wallet?",
"Delizia": "Access Passphrase wallet?",
- "Eckhart": ""
+ "Eckhart": "Access Passphrase wallet"
},
"passphrase__always_on_device": "Always enter your passphrase on Trezor?",
"passphrase__continue_with_empty_passphrase": "Continue with empty passphrase?",Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.