diff --git a/packages/person-profile/i18next-scanner.config.js b/packages/person-profile/i18next-scanner.config.js index f0f86ce027f31d591de02dee8cd05089203735b5..d15acb029ba662a7bdb0d29dc46eb81dfe3c1f61 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 fd7f622fb8c1490912450bbff6cb2b8247ed7e3c..a43e1321158fc215ac86889315173856eed07636 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 80b4e4967ec13c2a0e1a189c3db841c8e5c9c72e..1fdc07e42115a1d2863a49e243b70ad476174e91 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" } }