Refactor error handling in FalukantService and enhance user feedback in HealthView

- Changed error throwing in FalukantService to use PreconditionError for better clarity.
- Added translations for "too close" error in both German and English locales.
- Improved user feedback in HealthView by displaying error messages in a dialog upon measure execution failure.
This commit is contained in:
Torsten Schulz (local)
2025-12-23 12:20:37 +01:00
parent 820b5e8570
commit 5623f3af09
4 changed files with 20 additions and 2 deletions

View File

@@ -918,6 +918,9 @@
"success": "Erfolg",
"selectMeasure": "Maßnahme",
"perform": "Durchführen",
"errors": {
"tooClose": "Aktionen zu dicht hintereinander (maximal 1× pro 24 Stunden)."
},
"measures": {
"pill": "Tablette",
"doctor": "Arztbesuch",