chore(translations): add menu__turn_off string
What changed, and why it matters
This commit is a routine translation/UI cleanup. It adds a new text label 'menu__turn_off' so that the Spanish translation can use different wording for the device power-off menu item versus the wording used for disabling features. There is no security-relevant change to device behavior, cryptography, or access controls.
No security action needed; treat as normal localization maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change introduces a new translation key menu__turn_off in en.json and the blank-translations rules, then updates the Eckhart device menu screen to use that key instead of the existing buttons__turn_off. The old key remains available for other contexts. The diff is purely string-resource refactoring with no functional code changes.
Changed components
core/embed/rust/src/ui/layout_eckhart/firmware/device_menu_screen.rscore/translations/blank_translations_rules.jsoncore/translations/en.jsonInspect captured patch +10 / −3
### core/embed/rust/src/ui/layout_eckhart/firmware/device_menu_screen.rs
@@ -494,7 +494,7 @@ impl DeviceMenuScreen {
fn register_power_menu(&mut self) {
let mut items: Vec<MenuItem, MEDIUM_MENU_ITEMS> = Vec::new();
items.add(MenuItem::return_msg(
- TR::buttons__turn_off.into(),
+ TR::menu__turn_off.into(),
DeviceMenuMsg::TurnOff,
));
items.add(MenuItem::return_msg(
### core/translations/blank_translations_rules.json
@@ -4,14 +4,14 @@
"allowedLayouts": [ "Eckhart" ],
"description": "BLE related strings only in Eckhart"
},
- {
+ {
"prefix": "thp__nfc_",
"allowedLayouts": [ "Eckhart" ],
"description": "THP NFC related strings only in Eckhart"
},
{
"prefix": "thp__",
- "allowedLayouts": [ "Delizia","Eckhart" ],
+ "allowedLayouts": [ "Delizia", "Eckhart" ],
"description": "THP related strings only in Delizia and Eckhart"
},
{
@@ -106,6 +106,7 @@
"buttons__disconnect",
"buttons__forget",
"buttons__review",
+ "menu__turn_off",
"regulatory__title",
"wipe_code__change",
"wipe_code__remove",
### core/translations/en.json
@@ -1316,6 +1316,12 @@
"Delizia": "",
"Eckhart": "Unlock"
},
+ "menu__turn_off": {
+ "Bolt": "",
+ "Caesar": "",
+ "Delizia": "",
+ "Eckhart": "Turn off"
+ },
"misc__decrypt_value": "Decrypt value",
"misc__enable_labeling": "Enable labeling?",
"misc__encrypt_value": "Encrypt value",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.