1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-20 05:18:08 +00:00

chore(core): add missing template to the variable name

[no changelog]
This commit is contained in:
grdddj 2024-02-12 14:30:32 +01:00 committed by Jiří Musil
parent 8d1e002dfb
commit 1ab2d843ab
10 changed files with 12 additions and 12 deletions

View File

@ -443,7 +443,7 @@ static void _librust_qstrs(void) {
MP_QSTR_joint__you_are_contributing; MP_QSTR_joint__you_are_contributing;
MP_QSTR_label; MP_QSTR_label;
MP_QSTR_language; MP_QSTR_language;
MP_QSTR_language__change_to; MP_QSTR_language__change_to_template;
MP_QSTR_language__changed; MP_QSTR_language__changed;
MP_QSTR_language__progress; MP_QSTR_language__progress;
MP_QSTR_language__title; MP_QSTR_language__title;

View File

@ -351,7 +351,7 @@ pub enum TranslatedString {
joint__title = 338, joint__title = 338,
joint__to_the_total_amount = 339, joint__to_the_total_amount = 339,
joint__you_are_contributing = 340, joint__you_are_contributing = 340,
language__change_to = 341, language__change_to_template = 341,
language__changed = 342, language__changed = 342,
language__progress = 343, language__progress = 343,
language__title = 344, language__title = 344,
@ -1190,7 +1190,7 @@ impl TranslatedString {
Self::joint__title => "JOINT TRANSACTION", Self::joint__title => "JOINT TRANSACTION",
Self::joint__to_the_total_amount => "To the total amount:", Self::joint__to_the_total_amount => "To the total amount:",
Self::joint__you_are_contributing => "You are contributing:", Self::joint__you_are_contributing => "You are contributing:",
Self::language__change_to => "Change language to {}?", Self::language__change_to_template => "Change language to {}?",
Self::language__changed => "Language changed successfully", Self::language__changed => "Language changed successfully",
Self::language__progress => "Changing language", Self::language__progress => "Changing language",
Self::language__title => "LANGUAGE SETTINGS", Self::language__title => "LANGUAGE SETTINGS",
@ -2030,7 +2030,7 @@ impl TranslatedString {
Qstr::MP_QSTR_joint__title => Some(Self::joint__title), Qstr::MP_QSTR_joint__title => Some(Self::joint__title),
Qstr::MP_QSTR_joint__to_the_total_amount => Some(Self::joint__to_the_total_amount), Qstr::MP_QSTR_joint__to_the_total_amount => Some(Self::joint__to_the_total_amount),
Qstr::MP_QSTR_joint__you_are_contributing => Some(Self::joint__you_are_contributing), Qstr::MP_QSTR_joint__you_are_contributing => Some(Self::joint__you_are_contributing),
Qstr::MP_QSTR_language__change_to => Some(Self::language__change_to), Qstr::MP_QSTR_language__change_to_template => Some(Self::language__change_to_template),
Qstr::MP_QSTR_language__changed => Some(Self::language__changed), Qstr::MP_QSTR_language__changed => Some(Self::language__changed),
Qstr::MP_QSTR_language__progress => Some(Self::language__progress), Qstr::MP_QSTR_language__progress => Some(Self::language__progress),
Qstr::MP_QSTR_language__title => Some(Self::language__title), Qstr::MP_QSTR_language__title => Some(Self::language__title),

View File

@ -344,7 +344,7 @@ class TR:
joint__title: str = "JOINT TRANSACTION" joint__title: str = "JOINT TRANSACTION"
joint__to_the_total_amount: str = "To the total amount:" joint__to_the_total_amount: str = "To the total amount:"
joint__you_are_contributing: str = "You are contributing:" joint__you_are_contributing: str = "You are contributing:"
language__change_to: str = "Change language to {}?" language__change_to_template: str = "Change language to {}?"
language__changed: str = "Language changed successfully" language__changed: str = "Language changed successfully"
language__progress: str = "Changing language" language__progress: str = "Changing language"
language__title: str = "LANGUAGE SETTINGS" language__title: str = "LANGUAGE SETTINGS"

View File

@ -166,7 +166,7 @@ async def _require_confirm_change_language(
await confirm_action( await confirm_action(
"set_language", "set_language",
TR.language__title, TR.language__title,
description=TR.language__change_to.format(lang), description=TR.language__change_to_template.format(lang),
verb="OK", # going for an international word, so it does not need translations verb="OK", # going for an international word, so it does not need translations
br_code=ButtonRequestType.ProtectCall, br_code=ButtonRequestType.ProtectCall,
) )

View File

@ -362,7 +362,7 @@
"joint__title": "SPOLEČNÁ TRANSAKCE", "joint__title": "SPOLEČNÁ TRANSAKCE",
"joint__to_the_total_amount": "Celkové částce:", "joint__to_the_total_amount": "Celkové částce:",
"joint__you_are_contributing": "Přispíváte:", "joint__you_are_contributing": "Přispíváte:",
"language__change_to": "Změnit jazyk na {}?", "language__change_to_template": "Změnit jazyk na {}?",
"language__changed": "Jazyk byl úspěšně změněn", "language__changed": "Jazyk byl úspěšně změněn",
"language__progress": "Probíhá změna jazyka", "language__progress": "Probíhá změna jazyka",
"language__title": "NASTAVENÍ JAZYKA", "language__title": "NASTAVENÍ JAZYKA",

View File

@ -362,7 +362,7 @@
"joint__title": "GEMEINSAME TRANSAKTION", "joint__title": "GEMEINSAME TRANSAKTION",
"joint__to_the_total_amount": "Gesamtbetrag:", "joint__to_the_total_amount": "Gesamtbetrag:",
"joint__you_are_contributing": "Dein Anteil:", "joint__you_are_contributing": "Dein Anteil:",
"language__change_to": "Sprache auf {} ändern?", "language__change_to_template": "Sprache auf {} ändern?",
"language__changed": "Sprache erfolgreich geändert", "language__changed": "Sprache erfolgreich geändert",
"language__progress": "Sprache wird geändert", "language__progress": "Sprache wird geändert",
"language__title": "SPRACHEINSTELLUNGEN", "language__title": "SPRACHEINSTELLUNGEN",

View File

@ -349,7 +349,7 @@
"joint__title": "JOINT TRANSACTION", "joint__title": "JOINT TRANSACTION",
"joint__to_the_total_amount": "To the total amount:", "joint__to_the_total_amount": "To the total amount:",
"joint__you_are_contributing": "You are contributing:", "joint__you_are_contributing": "You are contributing:",
"language__change_to": "Change language to {}?", "language__change_to_template": "Change language to {}?",
"language__changed": "Language changed successfully", "language__changed": "Language changed successfully",
"language__progress": "Changing language", "language__progress": "Changing language",
"language__title": "LANGUAGE SETTINGS", "language__title": "LANGUAGE SETTINGS",

View File

@ -362,7 +362,7 @@
"joint__title": "TRANSACCIÓN CONJUNTA", "joint__title": "TRANSACCIÓN CONJUNTA",
"joint__to_the_total_amount": "Al importe total:", "joint__to_the_total_amount": "Al importe total:",
"joint__you_are_contributing": "Estás aportando:", "joint__you_are_contributing": "Estás aportando:",
"language__change_to": "¿Cambiar el idioma a {}?", "language__change_to_template": "¿Cambiar el idioma a {}?",
"language__changed": "Idioma cambiado exitosamente", "language__changed": "Idioma cambiado exitosamente",
"language__progress": "Cambiando el idioma", "language__progress": "Cambiando el idioma",
"language__title": "CONFIGURACIÓN DEL IDIOMA", "language__title": "CONFIGURACIÓN DEL IDIOMA",

View File

@ -362,7 +362,7 @@
"joint__title": "TRANSACTION COMMUNE", "joint__title": "TRANSACTION COMMUNE",
"joint__to_the_total_amount": "Au montant total:", "joint__to_the_total_amount": "Au montant total:",
"joint__you_are_contributing": "Votre contribution:", "joint__you_are_contributing": "Votre contribution:",
"language__change_to": "Changer de langue en {} ?", "language__change_to_template": "Changer de langue en {} ?",
"language__changed": "Langue changée avec succès", "language__changed": "Langue changée avec succès",
"language__progress": "Changement de langue en cours", "language__progress": "Changement de langue en cours",
"language__title": "PARAMÈTRES DE LANGUE", "language__title": "PARAMÈTRES DE LANGUE",

View File

@ -340,7 +340,7 @@
"338": "joint__title", "338": "joint__title",
"339": "joint__to_the_total_amount", "339": "joint__to_the_total_amount",
"340": "joint__you_are_contributing", "340": "joint__you_are_contributing",
"341": "language__change_to", "341": "language__change_to_template",
"342": "language__changed", "342": "language__changed",
"343": "language__progress", "343": "language__progress",
"344": "language__title", "344": "language__title",