1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-28 15:22:14 +00:00

chore(eckhart): update share confirmation failure

This commit is contained in:
Lukas Bielesch 2025-02-25 19:04:07 +01:00
parent c8085ff75c
commit 92aef5fee3
3 changed files with 30 additions and 6 deletions

View File

@ -1297,7 +1297,7 @@ pub enum TranslatedString {
recovery__info_about_disconnect = 904, // "It's safe to disconnect your Trezor while recovering your wallet and continue later." recovery__info_about_disconnect = 904, // "It's safe to disconnect your Trezor while recovering your wallet and continue later."
recovery__share_does_not_match = 905, // "Share doesn't match" recovery__share_does_not_match = 905, // "Share doesn't match"
reset__cancel_create_wallet = 906, // "Cancel create wallet" reset__cancel_create_wallet = 906, // "Cancel create wallet"
reset__incorrect_word_selected = 907, // "Incorrect word selected" reset__incorrect_word_selected = 907, // {"Bolt": "Incorrect word selected", "Caesar": "Incorrect word selected", "Delizia": "Incorrect word selected", "Eckhart": "Incorrect word selected."}
reset__more_at = 908, // "More at" reset__more_at = 908, // "More at"
reset__num_of_shares_how_many = 909, // "How many wallet backup shares do you want to create?" reset__num_of_shares_how_many = 909, // "How many wallet backup shares do you want to create?"
reset__num_of_shares_long_info_template = 910, // "Each backup share is a sequence of {0} words. Store each wordlist in a separate, safe location or share with trusted individuals. Collect as needed to recover your wallet." reset__num_of_shares_long_info_template = 910, // "Each backup share is a sequence of {0} words. Store each wordlist in a separate, safe location or share with trusted individuals. Collect as needed to recover your wallet."
@ -1316,7 +1316,7 @@ pub enum TranslatedString {
words__good_to_know = 927, // "Good to know" words__good_to_know = 927, // "Good to know"
words__operation_cancelled = 928, // "Operation cancelled" words__operation_cancelled = 928, // "Operation cancelled"
words__settings = 929, // "Settings" words__settings = 929, // "Settings"
words__try_again = 930, // "Try again." words__try_again = 930, // {"Bolt": "Try again.", "Caesar": "Try again.", "Delizia": "Try again.", "Eckhart": "Try again"}
reset__slip39_checklist_num_groups_x_template = 931, // "Number of groups: {0}" reset__slip39_checklist_num_groups_x_template = 931, // "Number of groups: {0}"
brightness__title = 932, // "Display brightness" brightness__title = 932, // "Display brightness"
recovery__title_unlock_repeated_backup = 933, // "Multi-share backup" recovery__title_unlock_repeated_backup = 933, // "Multi-share backup"
@ -2747,7 +2747,14 @@ impl TranslatedString {
Self::recovery__info_about_disconnect => "It's safe to disconnect your Trezor while recovering your wallet and continue later.", Self::recovery__info_about_disconnect => "It's safe to disconnect your Trezor while recovering your wallet and continue later.",
Self::recovery__share_does_not_match => "Share doesn't match", Self::recovery__share_does_not_match => "Share doesn't match",
Self::reset__cancel_create_wallet => "Cancel create wallet", Self::reset__cancel_create_wallet => "Cancel create wallet",
#[cfg(feature = "layout_bolt")]
Self::reset__incorrect_word_selected => "Incorrect word selected", Self::reset__incorrect_word_selected => "Incorrect word selected",
#[cfg(feature = "layout_caesar")]
Self::reset__incorrect_word_selected => "Incorrect word selected",
#[cfg(feature = "layout_delizia")]
Self::reset__incorrect_word_selected => "Incorrect word selected",
#[cfg(feature = "layout_eckhart")]
Self::reset__incorrect_word_selected => "Incorrect word selected.",
Self::reset__more_at => "More at", Self::reset__more_at => "More at",
Self::reset__num_of_shares_how_many => "How many wallet backup shares do you want to create?", Self::reset__num_of_shares_how_many => "How many wallet backup shares do you want to create?",
Self::reset__num_of_shares_long_info_template => "Each backup share is a sequence of {0} words. Store each wordlist in a separate, safe location or share with trusted individuals. Collect as needed to recover your wallet.", Self::reset__num_of_shares_long_info_template => "Each backup share is a sequence of {0} words. Store each wordlist in a separate, safe location or share with trusted individuals. Collect as needed to recover your wallet.",
@ -2766,7 +2773,14 @@ impl TranslatedString {
Self::words__good_to_know => "Good to know", Self::words__good_to_know => "Good to know",
Self::words__operation_cancelled => "Operation cancelled", Self::words__operation_cancelled => "Operation cancelled",
Self::words__settings => "Settings", Self::words__settings => "Settings",
#[cfg(feature = "layout_bolt")]
Self::words__try_again => "Try again.", Self::words__try_again => "Try again.",
#[cfg(feature = "layout_caesar")]
Self::words__try_again => "Try again.",
#[cfg(feature = "layout_delizia")]
Self::words__try_again => "Try again.",
#[cfg(feature = "layout_eckhart")]
Self::words__try_again => "Try again",
Self::reset__slip39_checklist_num_groups_x_template => "Number of groups: {0}", Self::reset__slip39_checklist_num_groups_x_template => "Number of groups: {0}",
Self::brightness__title => "Display brightness", Self::brightness__title => "Display brightness",
Self::recovery__title_unlock_repeated_backup => "Multi-share backup", Self::recovery__title_unlock_repeated_backup => "Multi-share backup",

View File

@ -375,8 +375,8 @@ async def show_share_confirmation_success(
def show_share_confirmation_failure() -> Awaitable[None]: def show_share_confirmation_failure() -> Awaitable[None]:
return show_reset_warning( return show_reset_warning(
"warning_backup_check", "warning_backup_check",
TR.words__try_again,
TR.reset__incorrect_word_selected, TR.reset__incorrect_word_selected,
"", TR.words__pay_attention,
TR.words__try_again,
ButtonRequestType.ResetDevice, ButtonRequestType.ResetDevice,
) )

View File

@ -659,7 +659,12 @@
"reset__group_info": "Each group has a set number of shares and its own threshold. In the next steps you will set the numbers of shares and the thresholds.", "reset__group_info": "Each group has a set number of shares and its own threshold. In the next steps you will set the numbers of shares and the thresholds.",
"reset__group_share_checked_successfully_template": "Group {0} - Share {1} checked successfully.", "reset__group_share_checked_successfully_template": "Group {0} - Share {1} checked successfully.",
"reset__group_share_title_template": "Group {0} - share {1}", "reset__group_share_title_template": "Group {0} - share {1}",
"reset__incorrect_word_selected": "Incorrect word selected", "reset__incorrect_word_selected": {
"Bolt": "Incorrect word selected",
"Caesar": "Incorrect word selected",
"Delizia": "Incorrect word selected",
"Eckhart": "Incorrect word selected."
},
"reset__more_at": "More at", "reset__more_at": "More at",
"reset__more_info_at": "More info at", "reset__more_info_at": "More info at",
"reset__need_all_share_template": "For recovery you need all {0} of the shares.", "reset__need_all_share_template": "For recovery you need all {0} of the shares.",
@ -1018,7 +1023,12 @@
"words__title_success": "Success", "words__title_success": "Success",
"words__title_summary": "Summary", "words__title_summary": "Summary",
"words__title_threshold": "Threshold", "words__title_threshold": "Threshold",
"words__try_again": "Try again.", "words__try_again": {
"Bolt": "Try again.",
"Caesar": "Try again.",
"Delizia": "Try again.",
"Eckhart": "Try again"
},
"words__unknown": "Unknown", "words__unknown": "Unknown",
"words__warning": "Warning", "words__warning": "Warning",
"words__writable": "Writable", "words__writable": "Writable",