chore(translations): replace reset__check_backup_title with recovery__title_dry_run
What changed, and why it matters
This commit is a routine cleanup of on-screen text labels. It replaces one internal label name (reset__check_backup_title) with another (recovery__title_dry_run) that already exists, and removes the old label from translation files. The actual user-facing text shown on the device does not change: both labels display 'Check backup' on the affected device layouts. There is no security-relevant code change.
No security action required. This is a non-functional terminology refactor.
Security signals we found
No strong security signals were identified.
Evidence from the diff
A string-key refactor across Rust UI code, Python layouts, translation metadata, English translations, and test assertions. The old translation key reset__check_backup_title is replaced by recovery__title_dry_run everywhere it is referenced. The English translation values for the two keys are identical for Caesar/Eckhart (‘Check backup’), so this is a no-op in terms of displayed strings. No executable logic, input handling, cryptography, or access control is modified.
Changed components
core/embed/rust/src/ui/layout_eckhart/firmware/device_menu_screen.rscore/src/trezor/ui/layouts/caesar/reset.pycore/translations/blank_translations_rules.jsoncore/translations/en.jsontests/click_tests/device_menu/common.pytests/click_tests/device_menu/test_check_backup.pyInspect captured patch +6 / −19
### core/embed/rust/src/ui/layout_eckhart/firmware/device_menu_screen.rs
@@ -609,7 +609,7 @@ impl DeviceMenuScreen {
if check_backup {
items.add(MenuItem::return_msg(
- TR::reset__check_backup_title.into(),
+ TR::recovery__title_dry_run.into(),
DeviceMenuMsg::CheckBackup,
));
}
### core/src/trezor/ui/layouts/caesar/reset.py
@@ -27,7 +27,7 @@ async def show_share_words(
if share_index is None:
title = TR.reset__share_words_title
- check_title = TR.reset__check_backup_title
+ check_title = TR.recovery__title_dry_run
elif group_index is None:
title = f"{TR.words__title_share} #{share_index + 1}"
check_title = (
### core/translations/blank_translations_rules.json
@@ -390,13 +390,6 @@
"allowedLayouts": [ "Caesar", "Delizia", "Eckhart" ],
"description": "These are specific to Caesar, Delizia, and Eckhart layouts"
},
- {
- "exact": [
- "reset__check_backup_title"
- ],
- "allowedLayouts": [ "Caesar", "Eckhart" ],
- "description": "These are specific to Caesar and Eckhart layouts"
- },
{
"exact": [
"brightness__changed_title",
### core/translations/en.json
@@ -2132,12 +2132,6 @@
"Delizia": "Let's do a quick check of your backup.",
"Eckhart": "Let's do a quick check of your backup."
},
- "reset__check_backup_title": {
- "Bolt": "",
- "Caesar": "Check backup",
- "Delizia": "",
- "Eckhart": "Check backup"
- },
"reset__check_group_share_title_template": {
"Bolt": "Share {1} of group {0}",
"Caesar": "",
### tests/click_tests/device_menu/common.py
@@ -180,7 +180,7 @@ def security_content():
content.append(TR.auto_lock__title)
content.append(TR.wipe_code__title)
if not needs_backup and not no_backup and not unfinished_backup:
- content.append(TR.reset__check_backup_title)
+ content.append(TR.recovery__title_dry_run)
return content
def pin_content():
### tests/click_tests/device_menu/test_check_backup.py
@@ -40,7 +40,7 @@
def prepare_check_backup(debug: "DebugLink", features: "Features") -> None:
- check_backup_title = TR.reset__check_backup_title
+ check_backup_title = TR.recovery__title_dry_run
security_content = Menu.SECURITY.content(features)
if security_content is None:
raise NoSecuritySettings
@@ -80,7 +80,7 @@ def test_backup_needed_fails(device_handler: "BackgroundDeviceHandler"):
assert features.backup_availability == messages.BackupAvailability.Required
# Device needs backup, check backup is not accessible in the security settings
- with pytest.raises(MenuItemNotFound, match=TR.reset__check_backup_title):
+ with pytest.raises(MenuItemNotFound, match=TR.recovery__title_dry_run):
prepare_check_backup(debug, features)
@@ -91,7 +91,7 @@ def test_no_backup_fails(device_handler: "BackgroundDeviceHandler"):
assert features.no_backup is True
# Device has no backup, check backup is not accessible in the security settings
- with pytest.raises(MenuItemNotFound, match=TR.reset__check_backup_title):
+ with pytest.raises(MenuItemNotFound, match=TR.recovery__title_dry_run):
prepare_check_backup(debug, features)
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.