From 1c47b3d565dcf16ddcaeb947ce25c68d30a0a9f9 Mon Sep 17 00:00:00 2001 From: Christoph Reiter <reiter.christoph@gmail.com> Date: Thu, 7 Apr 2022 15:55:44 +0200 Subject: [PATCH] organization-select: refresh translations --- packages/organization-select/i18next-scanner.config.js | 2 ++ packages/organization-select/src/i18n/de/translation.json | 4 ++-- packages/organization-select/src/i18n/en/translation.json | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/organization-select/i18next-scanner.config.js b/packages/organization-select/i18next-scanner.config.js index f0f86ce0..d15acb02 100644 --- a/packages/organization-select/i18next-scanner.config.js +++ b/packages/organization-select/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/organization-select/src/i18n/de/translation.json b/packages/organization-select/src/i18n/de/translation.json index d62a3521..5d0ff195 100644 --- a/packages/organization-select/src/i18n/de/translation.json +++ b/packages/organization-select/src/i18n/de/translation.json @@ -1,6 +1,6 @@ { "select-organization": { - "placeholder": "Bitte wählen Sie ein Institut aus", - "loading": "Wird geladen..." + "loading": "Wird geladen...", + "placeholder": "Bitte wählen Sie ein Institut aus" } } diff --git a/packages/organization-select/src/i18n/en/translation.json b/packages/organization-select/src/i18n/en/translation.json index bbbf8f54..307519d0 100644 --- a/packages/organization-select/src/i18n/en/translation.json +++ b/packages/organization-select/src/i18n/en/translation.json @@ -1,6 +1,6 @@ { "select-organization": { - "placeholder": "Please select an organization", - "loading": "Loading..." + "loading": "Loading...", + "placeholder": "Please select an organization" } } -- GitLab