Enhance MessagesDialog component and localization for overproduction notifications

- Updated MessagesDialog.vue to extract additional parameters (value, branch_id, region_id) for better handling of overproduction scenarios.
- Modified localization files (de/falukant.json and en/falukant.json) to reflect changes in the overproduction notification format, including branch information.
- Improved data formatting for clarity in notifications related to production levels.
This commit is contained in:
Torsten Schulz (local)
2026-01-12 16:48:10 +01:00
parent 9273066f61
commit b600f16ecd
6 changed files with 117 additions and 9 deletions

View File

@@ -33,7 +33,7 @@
"notifications": {
"notify_election_created": "Es wurde eine neue Wahl ausgeschrieben.",
"production": {
"overproduction": "Überproduktion: Deine Produktion liegt {value}% über dem Bedarf."
"overproduction": "Überproduktion: Deine Produktion liegt {value} Einheiten über dem Bedarf{branch_info}."
},
"transport": {
"waiting": "Transport wartet"

View File

@@ -19,7 +19,7 @@
"notifications": {
"notify_election_created": "A new election has been scheduled.",
"production": {
"overproduction": "Overproduction: your production is {value}% above demand."
"overproduction": "Overproduction: your production is {value} units above demand{branch_info}."
},
"transport": {
"waiting": "Transport waiting"