From f7fdd8ab0821e3d18cc9079805cbb1ddcc9911c7 Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Mon, 1 Dec 2025 11:51:37 +0100 Subject: [PATCH] Refactor localization structure for production notifications in English and German - Updated the localization files to nest the "overproduction" notification under a "production" key for better organization and clarity. - Ensured consistency in translation structure across both English and German localization files. --- frontend/src/i18n/locales/de/falukant.json | 4 +++- frontend/src/i18n/locales/en/falukant.json | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/i18n/locales/de/falukant.json b/frontend/src/i18n/locales/de/falukant.json index 2bf348f..6bd6097 100644 --- a/frontend/src/i18n/locales/de/falukant.json +++ b/frontend/src/i18n/locales/de/falukant.json @@ -16,7 +16,9 @@ }, "notifications": { "notify_election_created": "Es wurde eine neue Wahl ausgeschrieben.", - "production.overproduction": "Überproduktion: Deine Produktion liegt {value}% über dem Bedarf." + "production": { + "overproduction": "Überproduktion: Deine Produktion liegt {value}% über dem Bedarf." + } }, "health": { "amazing": "Super", diff --git a/frontend/src/i18n/locales/en/falukant.json b/frontend/src/i18n/locales/en/falukant.json index 62b952b..9412286 100644 --- a/frontend/src/i18n/locales/en/falukant.json +++ b/frontend/src/i18n/locales/en/falukant.json @@ -7,7 +7,9 @@ }, "notifications": { "notify_election_created": "A new election has been scheduled.", - "production.overproduction": "Overproduction: your production is {value}% above demand." + "production": { + "overproduction": "Overproduction: your production is {value}% above demand." + } }, "statusbar": { "age": "Age",