From 7dba8d85b683ac4dde3f125c6706fc815b68c80b Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Thu, 7 Apr 2022 15:56:29 +0200
Subject: [PATCH] person-profile: refresh translations

---
 packages/person-profile/i18next-scanner.config.js    | 2 ++
 packages/person-profile/src/i18n/de/translation.json | 8 ++++----
 packages/person-profile/src/i18n/en/translation.json | 8 ++++----
 3 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/packages/person-profile/i18next-scanner.config.js b/packages/person-profile/i18next-scanner.config.js
index f0f86ce0..d15acb02 100644
--- a/packages/person-profile/i18next-scanner.config.js
+++ b/packages/person-profile/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/person-profile/src/i18n/de/translation.json b/packages/person-profile/src/i18n/de/translation.json
index fd7f622f..a43e1321 100644
--- a/packages/person-profile/src/i18n/de/translation.json
+++ b/packages/person-profile/src/i18n/de/translation.json
@@ -1,9 +1,9 @@
 {
     "person-profile": {
-        "profile-caption": "Profil von",
-        "given-name": "Vorname",
-        "family-name": "Nachname",
         "email": "Email",
-        "none-selected": "Keine Person ausgewählt"
+        "family-name": "Nachname",
+        "given-name": "Vorname",
+        "none-selected": "Keine Person ausgewählt",
+        "profile-caption": "Profil von"
     }
 }
diff --git a/packages/person-profile/src/i18n/en/translation.json b/packages/person-profile/src/i18n/en/translation.json
index 80b4e496..1fdc07e4 100644
--- a/packages/person-profile/src/i18n/en/translation.json
+++ b/packages/person-profile/src/i18n/en/translation.json
@@ -1,9 +1,9 @@
 {
     "person-profile": {
-        "profile-caption": "Profile for",
-        "given-name": "Given name",
-        "family-name": "Family name",
         "email": "Email",
-        "none-selected": "No person selected"
+        "family-name": "Family name",
+        "given-name": "Given name",
+        "none-selected": "No person selected",
+        "profile-caption": "Profile for"
     }
 }
-- 
GitLab