From 4c8c1a6d2f523a399ea1fd90a7f45033752e5563 Mon Sep 17 00:00:00 2001 From: Diego Pereyra Date: Sat, 15 Jan 2022 16:09:58 -0300 Subject: [PATCH 1/2] Option to keep or not the textual translations --- apps/locale/locale.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/locale/locale.html b/apps/locale/locale.html index 90a2e8d40..fa857d9f8 100644 --- a/apps/locale/locale.html +++ b/apps/locale/locale.html @@ -10,6 +10,9 @@ +
+ +

Then click

@@ -106,12 +109,18 @@ exports = { name : "en_GB", currencySym:"£", const lang = languageSelector.options[languageSelector.selectedIndex].value; console.log(`Language ${lang}`); + const translations = document.getElementById('translations').checked; + console.log(`Translations: ${translations}`); + const locale = locales[lang]; if (!locale) { alert(`Language ${lang} not found!`); return; } + if (!translations) + locale.trans = null; + const codePageName = "ISO8859-1"; if (locale.codePage) codePageName = locale.codePage; From 58a9b19aa1e6ea3e7f5c49ef4427c07697669d42 Mon Sep 17 00:00:00 2001 From: Diego Pereyra Date: Sat, 15 Jan 2022 16:23:48 -0300 Subject: [PATCH 2/2] typo --- apps/locale/locale.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/locale/locale.html b/apps/locale/locale.html index fa857d9f8..d02dab3ac 100644 --- a/apps/locale/locale.html +++ b/apps/locale/locale.html @@ -11,7 +11,7 @@
- +

Then click