From a774a0bf988d4dc5abe576a0642c390a67afc993 Mon Sep 17 00:00:00 2001 From: grdddj Date: Tue, 2 Jan 2024 14:58:19 +0100 Subject: [PATCH] WIP - bump translations version to 2.6.5 --- core/embed/rust/src/ui/translations/cs.json | 2 +- core/embed/rust/src/ui/translations/en.json | 2 +- core/embed/rust/src/ui/translations/fr.json | 2 +- core/src/apps/management/change_language.py | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core/embed/rust/src/ui/translations/cs.json b/core/embed/rust/src/ui/translations/cs.json index 33d9e1496..0876dd78c 100644 --- a/core/embed/rust/src/ui/translations/cs.json +++ b/core/embed/rust/src/ui/translations/cs.json @@ -19,7 +19,7 @@ "change_language_prompt": "Zmenit jazyk na cestinu?", "change_language_title": "ZMENA JAZYKA", "language": "cs", - "version": "2.6.4" + "version": "2.6.5" }, "translations": { "addr_mismatch": { diff --git a/core/embed/rust/src/ui/translations/en.json b/core/embed/rust/src/ui/translations/en.json index d29f997c5..01fc0ac38 100644 --- a/core/embed/rust/src/ui/translations/en.json +++ b/core/embed/rust/src/ui/translations/en.json @@ -1,7 +1,7 @@ { "header": { "language": "en", - "version": "2.6.4" + "version": "2.6.5" }, "translations": { "addr_mismatch": { diff --git a/core/embed/rust/src/ui/translations/fr.json b/core/embed/rust/src/ui/translations/fr.json index 757f44872..47a42eee0 100644 --- a/core/embed/rust/src/ui/translations/fr.json +++ b/core/embed/rust/src/ui/translations/fr.json @@ -19,7 +19,7 @@ "change_language_prompt": "Changer de langue en francais?", "change_language_title": "CHANGER LA LANGUE", "language": "fr", - "version": "2.6.4" + "version": "2.6.5" }, "translations": { "addr_mismatch": { diff --git a/core/src/apps/management/change_language.py b/core/src/apps/management/change_language.py index 19511969a..76817b68c 100644 --- a/core/src/apps/management/change_language.py +++ b/core/src/apps/management/change_language.py @@ -183,6 +183,7 @@ async def change_language(msg: ChangeLanguage) -> Success: raise DataError("Invalid header data length") # TODO: how to handle the version updates - numbers have to be bumped in cs.json and others # (or have this logic in a separate blob-creating tool) + # (have some static check in make gen_check?) if header.version_tuple() != ( utils.VERSION_MAJOR, utils.VERSION_MINOR,