Update daemon socket URL and enhance message rendering in frontend
- Changed the default value for `VITE_DAEMON_SOCKET` in `deploy-frontend.sh` and `update-frontend.sh` to use the `/ws/` path. - Updated the message rendering logic in `MessagesDialog.vue` to utilize a new `formatBody` method for improved translation handling. - Added a new translation for "overproduction" in both English and German localization files.
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
"empty": "Keine Nachrichten vorhanden."
|
||||
},
|
||||
"notifications": {
|
||||
"notify_election_created": "Es wurde eine neue Wahl ausgeschrieben."
|
||||
"notify_election_created": "Es wurde eine neue Wahl ausgeschrieben.",
|
||||
"production.overproduction": "Überproduktion: Deine Produktion liegt {value}% über dem Bedarf."
|
||||
},
|
||||
"health": {
|
||||
"amazing": "Super",
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
"empty": "No messages."
|
||||
},
|
||||
"notifications": {
|
||||
"notify_election_created": "A new election has been scheduled."
|
||||
"notify_election_created": "A new election has been scheduled.",
|
||||
"production.overproduction": "Overproduction: your production is {value}% above demand."
|
||||
},
|
||||
"statusbar": {
|
||||
"age": "Age",
|
||||
|
||||
Reference in New Issue
Block a user