From d569798b1b0403bec346797f1f3201b4487714e0 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Thu, 7 Apr 2022 15:45:12 +0200
Subject: [PATCH] app-shell: refresh translations

---
 packages/app-shell/i18next-scanner.config.js  |  2 ++
 .../app-shell/src/i18n/de/translation.json    | 23 +++++++++----------
 .../app-shell/src/i18n/en/translation.json    | 23 +++++++++----------
 3 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/packages/app-shell/i18next-scanner.config.js b/packages/app-shell/i18next-scanner.config.js
index f0f86ce0..d15acb02 100644
--- a/packages/app-shell/i18next-scanner.config.js
+++ b/packages/app-shell/i18next-scanner.config.js
@@ -3,12 +3,14 @@ module.exports = {
     output: './',
     options: {
         debug: false,
+        sort: true,
         removeUnusedKeys: true,
         func: {list: ['i18n.t', '_i18n.t']},
         lngs: ['en', 'de'],
         resource: {
             loadPath: 'src/i18n/{{lng}}/{{ns}}.json',
             savePath: 'src/i18n/{{lng}}/{{ns}}.json',
+            jsonIndent: 4,
         },
     },
 };
diff --git a/packages/app-shell/src/i18n/de/translation.json b/packages/app-shell/src/i18n/de/translation.json
index 4d0604ac..5e483636 100644
--- a/packages/app-shell/src/i18n/de/translation.json
+++ b/packages/app-shell/src/i18n/de/translation.json
@@ -1,22 +1,21 @@
 {
+    "activity-example": {
+        "hello-world": "Hallo Welt"
+    },
+    "choose-from-menu": "Bitte wählen Sie eine Aktivität aus dem Menu.",
+    "contact": "Kontakt",
+    "imprint": "Impressum",
+    "login": "Anmelden",
     "logo": {
         "word1": "Wissen",
         "word2": "Technik",
         "word3": "Leidenschaft"
     },
-    "privacy-policy": "Datenschutz",
-    "imprint": "Impressum",
-    "contact": "Kontakt",
+    "logout": "Abmelden",
+    "page-not-found": "Die gewünschte Seite wurde nicht gefunden",
     "page-updated-needs-reload": "Die Applikation wurde aktualisiert. Bitte laden Sie die Seite neu.",
-    "activity-example": {
-        "hello-world": "Hallo Welt"
-    },
+    "privacy-policy": "Datenschutz",
     "welcome": {
         "headline": "Willkommen bei der Applikation '{{appname}}'."
-    },
-    "login": "Anmelden",
-    "logout": "Abmelden",
-    "page-not-found": "Die gewünschte Seite wurde nicht gefunden",
-    "choose-from-menu": "Bitte wählen Sie eine Aktivität aus dem Menu.",
-    "color-mode": "Farbmodus ändern"
+    }
 }
diff --git a/packages/app-shell/src/i18n/en/translation.json b/packages/app-shell/src/i18n/en/translation.json
index cc7544bd..9ee06e19 100644
--- a/packages/app-shell/src/i18n/en/translation.json
+++ b/packages/app-shell/src/i18n/en/translation.json
@@ -1,22 +1,21 @@
 {
+    "activity-example": {
+        "hello-world": "Hello World"
+    },
+    "choose-from-menu": "Please choose an activity from the menu.",
+    "contact": "Contact",
+    "imprint": "Legal Notice",
+    "login": "Login",
     "logo": {
         "word1": "Science",
         "word2": "Passion",
         "word3": "Technology"
     },
-    "privacy-policy": "Privacy Policy",
-    "imprint": "Legal Notice",
-    "contact": "Contact",
+    "logout": "Logout",
+    "page-not-found": "Requested Page Not Found",
     "page-updated-needs-reload": "The application has been updated. Please reload the page.",
-    "activity-example": {
-        "hello-world": "Hello World"
-    },
+    "privacy-policy": "Privacy Policy",
     "welcome": {
         "headline": "Welcome to the '{{appname}}' application."
-    },
-    "login": "Login",
-    "logout": "Logout",
-    "page-not-found": "Requested Page Not Found",
-    "choose-from-menu": "Please choose an activity from the menu.",
-    "color-mode": "Change color mode"
+    }
 }
-- 
GitLab