mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 20:11:00 +00:00
chore(core/ui): use different copy on TS3 and TT
[no changelog]
This commit is contained in:
parent
9c918aaeb8
commit
04c89555cd
@ -1021,6 +1021,7 @@ static void _librust_qstrs(void) {
|
||||
MP_QSTR_ethereum__token_contract;
|
||||
MP_QSTR_ethereum__units_template;
|
||||
MP_QSTR_ethereum__unknown_contract_address;
|
||||
MP_QSTR_ethereum__unknown_contract_address_short;
|
||||
MP_QSTR_ethereum__unknown_token;
|
||||
MP_QSTR_ethereum__valid_signature;
|
||||
MP_QSTR_fido__already_registered;
|
||||
|
@ -1380,6 +1380,8 @@ pub enum TranslatedString {
|
||||
#[cfg(feature = "universal_fw")]
|
||||
ethereum__interaction_contract = 972, // "Interaction contract"
|
||||
misc__enable_labeling = 973, // "Enable labeling?"
|
||||
#[cfg(feature = "universal_fw")]
|
||||
ethereum__unknown_contract_address_short = 974, // "Unknown contract address."
|
||||
}
|
||||
|
||||
impl TranslatedString {
|
||||
@ -2754,6 +2756,8 @@ impl TranslatedString {
|
||||
#[cfg(feature = "universal_fw")]
|
||||
Self::ethereum__interaction_contract => "Interaction contract",
|
||||
Self::misc__enable_labeling => "Enable labeling?",
|
||||
#[cfg(feature = "universal_fw")]
|
||||
Self::ethereum__unknown_contract_address_short => "Unknown contract address.",
|
||||
}
|
||||
}
|
||||
|
||||
@ -4129,6 +4133,8 @@ impl TranslatedString {
|
||||
#[cfg(feature = "universal_fw")]
|
||||
Qstr::MP_QSTR_ethereum__interaction_contract => Some(Self::ethereum__interaction_contract),
|
||||
Qstr::MP_QSTR_misc__enable_labeling => Some(Self::misc__enable_labeling),
|
||||
#[cfg(feature = "universal_fw")]
|
||||
Qstr::MP_QSTR_ethereum__unknown_contract_address_short => Some(Self::ethereum__unknown_contract_address_short),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
@ -327,6 +327,7 @@ class TR:
|
||||
ethereum__token_contract: str = "Token contract"
|
||||
ethereum__units_template: str = "{0} units"
|
||||
ethereum__unknown_contract_address: str = "Unknown contract address. Continue only if you know what you are doing."
|
||||
ethereum__unknown_contract_address_short: str = "Unknown contract address."
|
||||
ethereum__unknown_token: str = "Unknown token"
|
||||
ethereum__valid_signature: str = "The signature is valid."
|
||||
experimental_mode__enable: str = "Enable experimental features?"
|
||||
|
@ -806,7 +806,9 @@ if not utils.BITCOIN_ONLY:
|
||||
def confirm_ethereum_unknown_contract_warning() -> Awaitable[ui.UiResult]:
|
||||
return show_warning(
|
||||
"unknown_contract_warning",
|
||||
TR.ethereum__unknown_contract_address,
|
||||
TR.words__warning,
|
||||
TR.ethereum__unknown_contract_address_short,
|
||||
TR.words__continue_anyway,
|
||||
)
|
||||
|
||||
async def confirm_ethereum_staking_tx(
|
||||
|
@ -773,8 +773,8 @@ if not utils.BITCOIN_ONLY:
|
||||
def confirm_ethereum_unknown_contract_warning() -> Awaitable[None]:
|
||||
return show_warning(
|
||||
"unknown_contract_warning",
|
||||
TR.ethereum__unknown_contract_address,
|
||||
TR.words__warning,
|
||||
TR.ethereum__unknown_contract_address_short,
|
||||
TR.words__continue_anyway_question,
|
||||
)
|
||||
|
||||
async def confirm_ethereum_tx(
|
||||
|
@ -371,6 +371,7 @@
|
||||
"ethereum__token_contract": "Kontrakt tokenu",
|
||||
"ethereum__units_template": "Jednotky: {0}",
|
||||
"ethereum__unknown_contract_address": "Neznámá adresa kontraktu. Pokračujte pouze, pokud víte, co děláte.",
|
||||
"ethereum__unknown_contract_address_short": "Neznámá adresa kontraktu.",
|
||||
"ethereum__unknown_token": "Neznámý token",
|
||||
"ethereum__valid_signature": "Podpis je platný.",
|
||||
"experimental_mode__enable": "Povolit experimentální funkce?",
|
||||
|
@ -371,6 +371,7 @@
|
||||
"ethereum__token_contract": "Tokenvertrag",
|
||||
"ethereum__units_template": "{0} Einheiten",
|
||||
"ethereum__unknown_contract_address": "Unbekannte Vertragsadresse. Weiter, nur wenn Sie wissen, was Sie tun.",
|
||||
"ethereum__unknown_contract_address_short": "Unbekannte Vertragsadresse.",
|
||||
"ethereum__unknown_token": "Ungültiger Token",
|
||||
"ethereum__valid_signature": "Die Signatur ist gültig.",
|
||||
"experimental_mode__enable": "Experimentelle Funktionen aktivieren?",
|
||||
|
@ -329,6 +329,7 @@
|
||||
"ethereum__token_contract": "Token contract",
|
||||
"ethereum__units_template": "{0} units",
|
||||
"ethereum__unknown_contract_address": "Unknown contract address. Continue only if you know what you are doing.",
|
||||
"ethereum__unknown_contract_address_short": "Unknown contract address.",
|
||||
"ethereum__unknown_token": "Unknown token",
|
||||
"ethereum__valid_signature": "The signature is valid.",
|
||||
"experimental_mode__enable": "Enable experimental features?",
|
||||
|
@ -371,6 +371,7 @@
|
||||
"ethereum__token_contract": "Contrato de token",
|
||||
"ethereum__units_template": "{0} unidades",
|
||||
"ethereum__unknown_contract_address": "Dirección de contrato desconocida. Continúa solo si sabes lo que estás haciendo.",
|
||||
"ethereum__unknown_contract_address_short": "Dirección de contrato desconocida.",
|
||||
"ethereum__unknown_token": "Token desconocido",
|
||||
"ethereum__valid_signature": "La firma es válida.",
|
||||
"experimental_mode__enable": "¿Activar funciones experimentales?",
|
||||
|
@ -371,6 +371,7 @@
|
||||
"ethereum__token_contract": "Contrat de jeton",
|
||||
"ethereum__units_template": "{0} unités",
|
||||
"ethereum__unknown_contract_address": "Adresse de contrat inconnue. Continuez seulement si vous savez ce que vous faites.",
|
||||
"ethereum__unknown_contract_address_short": "Adresse de contrat inconnue.",
|
||||
"ethereum__unknown_token": "Jeton inconnu",
|
||||
"ethereum__valid_signature": "Signature valide.",
|
||||
"experimental_mode__enable": "Activer les fonct. expérimentales ?",
|
||||
|
@ -371,6 +371,7 @@
|
||||
"ethereum__token_contract": "Contratto token",
|
||||
"ethereum__units_template": "{0} unità",
|
||||
"ethereum__unknown_contract_address": "Indirizzo del contratto sconosciuto. Continua solo se sai cosa stai facendo.",
|
||||
"ethereum__unknown_contract_address_short": "Indirizzo del contratto sconosciuto.",
|
||||
"ethereum__unknown_token": "Token sconosciuto",
|
||||
"ethereum__valid_signature": "La firma è valida.",
|
||||
"experimental_mode__enable": "Abilitare funzion. sperimentali?",
|
||||
|
@ -972,5 +972,6 @@
|
||||
"970": "buttons__view_all_data",
|
||||
"971": "instructions__view_all_data",
|
||||
"972": "ethereum__interaction_contract",
|
||||
"973": "misc__enable_labeling"
|
||||
"973": "misc__enable_labeling",
|
||||
"974": "ethereum__unknown_contract_address_short"
|
||||
}
|
||||
|
@ -371,6 +371,7 @@
|
||||
"ethereum__token_contract": "Contrato Token",
|
||||
"ethereum__units_template": "{0} unidades",
|
||||
"ethereum__unknown_contract_address": "Endereço de contrato desconhecido. Continue somente se você sabe o que está fazendo.",
|
||||
"ethereum__unknown_contract_address_short": "Endereço de contrato desconhecido.",
|
||||
"ethereum__unknown_token": "Token desconhecido",
|
||||
"ethereum__valid_signature": "A assinatura é válida.",
|
||||
"experimental_mode__enable": "Ativar recursos experimentais?",
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"current": {
|
||||
"merkle_root": "4510dc3f9ac7b2479b8c90b75baf5ae0d2d518624fa88ccfca29902c35f40546",
|
||||
"datetime": "2024-11-14T11:52:30.932999",
|
||||
"commit": "b39fc5808ba66d800f844fe216e9358f3dd85d7f"
|
||||
"merkle_root": "468d0a76a8d7a1319bb68955a02621c903ce948abb823774fef394659498adbe",
|
||||
"datetime": "2024-11-26T15:37:54.894299",
|
||||
"commit": "c8d296a8659b4168af09eaf5b6d2cdcd45da914c"
|
||||
},
|
||||
"history": [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user