mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
fix(core/ui): use correct labels at a few places
[no changelog]
This commit is contained in:
parent
3475354a1a
commit
faa209b5d9
@ -111,9 +111,7 @@ fn new_confirm_reset_obj(_args: &[Obj], kwargs: &Map) -> Result<Obj, error::Erro
|
||||
(
|
||||
TR::reset__title_create_wallet.into(),
|
||||
ButtonRequestCode::ResetDevice.with_name("setup_device"),
|
||||
// FIXME: TR::reset__cancel_create_wallet should be used but Button text on
|
||||
// multiple lines not supported yet
|
||||
TR::buttons__cancel.into(),
|
||||
TR::reset__cancel_create_wallet.into(),
|
||||
)
|
||||
};
|
||||
|
||||
|
@ -71,8 +71,8 @@ impl WarningHiPrio {
|
||||
let description: TString = kwargs.get(Qstr::MP_QSTR_description)?.try_into()?;
|
||||
let value: TString = kwargs.get_or(Qstr::MP_QSTR_value, "".into())?;
|
||||
let cancel: TString = TR::words__cancel_and_exit.into();
|
||||
let confirm: TString = "Continue anyway".into(); // FIXME: en.json has punctuation
|
||||
let done_title: TString = "Operation cancelled".into();
|
||||
let confirm: TString = TR::buttons__continue.into();
|
||||
let done_title: TString = TR::words__operation_cancelled.into();
|
||||
|
||||
// Message
|
||||
let paragraphs = [
|
||||
@ -94,7 +94,7 @@ impl WarningHiPrio {
|
||||
let content_menu = Frame::left_aligned(
|
||||
"".into(),
|
||||
VerticalMenu::empty()
|
||||
.item(theme::ICON_CANCEL, "Cancel".into()) // TODO: button__cancel after it's lowercase
|
||||
.item(theme::ICON_CANCEL, TR::buttons__cancel.into())
|
||||
.danger(theme::ICON_CHEVRON_RIGHT, confirm),
|
||||
)
|
||||
.with_cancel_button()
|
||||
|
Loading…
Reference in New Issue
Block a user