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

chore(eckhart): update select word component

This commit is contained in:
Lukas Bielesch 2025-02-25 19:25:13 +01:00
parent 0ca0a9e9b7
commit 753a59bb5f
3 changed files with 4 additions and 7 deletions

View File

@ -851,7 +851,7 @@ pub enum TranslatedString {
reset__recovery_share_title_template = 567, // "Recovery share #{0}"
reset__required_number_of_groups = 568, // "The required number of groups for recovery."
reset__select_correct_word = 569, // "Select the correct word for each position."
reset__select_word_template = 570, // {"Bolt": "Select {0} word", "Caesar": "Select {0} word", "Delizia": "Select {0} word", "Eckhart": "Select word #{0} from your wallet backup"}
reset__select_word_template = 570, // {"Bolt": "Select {0} word", "Caesar": "Select {0} word", "Delizia": "Select {0} word", "Eckhart": "Select word no. {0} from your wallet backup"}
reset__select_word_x_of_y_template = 571, // "Select word {0} of {1}:"
reset__set_it_to_count_template = 572, // "Set it to {0} and you will need "
reset__share_checked_successfully_template = 573, // "Share #{0} checked successfully."
@ -2273,7 +2273,7 @@ impl TranslatedString {
#[cfg(feature = "layout_delizia")]
Self::reset__select_word_template => "Select {0} word",
#[cfg(feature = "layout_eckhart")]
Self::reset__select_word_template => "Select word #{0} from your wallet backup",
Self::reset__select_word_template => "Select word no. {0} from your wallet backup",
Self::reset__select_word_x_of_y_template => "Select word {0} of {1}:",
Self::reset__set_it_to_count_template => "Set it to {0} and you will need ",
Self::reset__share_checked_successfully_template => "Share #{0} checked successfully.",

View File

@ -421,10 +421,7 @@ impl FirmwareUI for UIEckhart {
description: TString<'static>,
words: [TString<'static>; MAX_WORD_QUIZ_ITEMS],
) -> Result<impl LayoutMaybeTrace, Error> {
let component = SelectWordScreen::new(words, description).with_header(
Header::new(title)
.with_right_button(Button::with_icon(theme::ICON_MENU), HeaderMsg::Cancelled),
);
let component = SelectWordScreen::new(words, description).with_header(Header::new(title));
let layout = RootComponent::new(component);

View File

@ -686,7 +686,7 @@
"Bolt": "Select {0} word",
"Caesar": "Select {0} word",
"Delizia": "Select {0} word",
"Eckhart": "Select word #{0} from your wallet backup"
"Eckhart": "Select word no. {0} from your wallet backup"
},
"reset__select_word_x_of_y_template": "Select word {0} of {1}:",
"reset__set_it_to_count_template": "Set it to {0} and you will need ",