From 791314bef2ed1bcab18c953f10056f94cedaa319 Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Mon, 8 Dec 2025 14:42:17 +0100 Subject: [PATCH] Enhance notification display and localization in MessagesDialog component - Updated the MessagesDialog component to display notifications with titles and descriptions, improving clarity and user experience. - Enhanced the formatBody method to support new notification structures, including extraction and formatting of parameters for better message presentation. - Added a new formatParams method to handle various parameter types, ensuring accurate representation of values in notifications. - Updated localization files in both German and English to include structured titles and descriptions for random events, enriching the user experience with detailed information. --- .../components/falukant/MessagesDialog.vue | 153 +++++++++++++++++- frontend/src/i18n/locales/de/falukant.json | 55 +++++-- frontend/src/i18n/locales/en/falukant.json | 55 +++++-- 3 files changed, 238 insertions(+), 25 deletions(-) diff --git a/frontend/src/components/falukant/MessagesDialog.vue b/frontend/src/components/falukant/MessagesDialog.vue index 44de7bf..859aa84 100644 --- a/frontend/src/components/falukant/MessagesDialog.vue +++ b/frontend/src/components/falukant/MessagesDialog.vue @@ -11,7 +11,10 @@ >