diff --git a/packages/app-shell/i18next-scanner.config.js b/packages/app-shell/i18next-scanner.config.js index f0f86ce027f31d591de02dee8cd05089203735b5..d15acb029ba662a7bdb0d29dc46eb81dfe3c1f61 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 4d0604ac07fc954917037c9936f693fc1063243f..5e483636423ec832e25d70023c62f38ba7a1feea 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 cc7544bd2093e44e397d71db63c5e919a87797b5..9ee06e1925386db6c124b0a20506dfb3e32fe299 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" + } }