From eceafe05f6424687ace55a129837150f473a3474 Mon Sep 17 00:00:00 2001 From: Lukas Bielesch Date: Wed, 26 Feb 2025 11:51:49 +0100 Subject: [PATCH] chore(eckhart): update backup completed success function --- .../rust/src/translations/generated/translated_string.rs | 9 ++++++++- core/src/trezor/ui/layouts/eckhart/reset.py | 2 ++ core/translations/en.json | 7 ++++++- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/core/embed/rust/src/translations/generated/translated_string.rs b/core/embed/rust/src/translations/generated/translated_string.rs index 456a644b64..d26ec9c150 100644 --- a/core/embed/rust/src/translations/generated/translated_string.rs +++ b/core/embed/rust/src/translations/generated/translated_string.rs @@ -1273,7 +1273,7 @@ pub enum TranslatedString { auto_lock__turned_on = 879, // "Auto-lock turned on" backup__info_multi_share_backup = 880, // "Your wallet backup contains multiple lists of words in a specific order (shares)." backup__info_single_share_backup = 881, // "Your wallet backup contains {0} words in a specific order." - backup__title_backup_completed = 882, // "Wallet backup completed" + backup__title_backup_completed = 882, // {"Bolt": "Wallet backup completed", "Caesar": "Wallet backup completed", "Delizia": "Wallet backup completed", "Eckhart": "Wallet backup completed."} backup__title_create_wallet_backup = 883, // "Create wallet backup" haptic_feedback__disable = 884, // "Disable haptic feedback?" haptic_feedback__enable = 885, // "Enable haptic feedback?" @@ -2709,7 +2709,14 @@ impl TranslatedString { Self::auto_lock__turned_on => "Auto-lock turned on", Self::backup__info_multi_share_backup => "Your wallet backup contains multiple lists of words in a specific order (shares).", Self::backup__info_single_share_backup => "Your wallet backup contains {0} words in a specific order.", + #[cfg(feature = "layout_bolt")] Self::backup__title_backup_completed => "Wallet backup completed", + #[cfg(feature = "layout_caesar")] + Self::backup__title_backup_completed => "Wallet backup completed", + #[cfg(feature = "layout_delizia")] + Self::backup__title_backup_completed => "Wallet backup completed", + #[cfg(feature = "layout_eckhart")] + Self::backup__title_backup_completed => "Wallet backup completed.", Self::backup__title_create_wallet_backup => "Create wallet backup", Self::haptic_feedback__disable => "Disable haptic feedback?", Self::haptic_feedback__enable => "Enable haptic feedback?", diff --git a/core/src/trezor/ui/layouts/eckhart/reset.py b/core/src/trezor/ui/layouts/eckhart/reset.py index 459a44ec14..1713757bef 100644 --- a/core/src/trezor/ui/layouts/eckhart/reset.py +++ b/core/src/trezor/ui/layouts/eckhart/reset.py @@ -307,6 +307,8 @@ def show_success_backup() -> Awaitable[None]: return show_success( "success_backup", TR.backup__title_backup_completed, + TR.words__title_done, + TR.buttons__continue, ) diff --git a/core/translations/en.json b/core/translations/en.json index 2380bd1403..e6f4f3a45c 100644 --- a/core/translations/en.json +++ b/core/translations/en.json @@ -49,7 +49,12 @@ "backup__new_wallet_created": "Wallet created.\n", "backup__new_wallet_successfully_created": "Wallet created successfully.", "backup__recover_anytime": "You can use your backup to recover your wallet at any time.", - "backup__title_backup_completed": "Wallet backup completed", + "backup__title_backup_completed": { + "Bolt": "Wallet backup completed", + "Caesar": "Wallet backup completed", + "Delizia": "Wallet backup completed", + "Eckhart": "Wallet backup completed." + }, "backup__title_backup_wallet": "Back up wallet", "backup__title_create_wallet_backup": "Create wallet backup", "backup__title_skip": "Skip backup",