Enhance branch selection with weather information and localization updates

- Updated FalukantService to include weather data in branch retrieval, enhancing user context.
- Modified BranchSelection component to display current weather for selected branches, improving user experience.
- Added weather translations in both English and German localization files for better accessibility.
- Improved styling for weather information display in the frontend.
This commit is contained in:
Torsten Schulz (local)
2025-12-02 12:53:02 +01:00
parent ba1a12402d
commit 08e2c87de8
5 changed files with 96 additions and 12 deletions

View File

@@ -1,5 +1,15 @@
{
"falukant": {
"weather": {
"sunny": "Sonnig",
"cloudy": "Bewölkt",
"rainy": "Regnerisch",
"stormy": "Stürmisch",
"snowy": "Schnee",
"foggy": "Neblig",
"windy": "Windig",
"clear": "Klar"
},
"statusbar": {
"age": "Alter",
"wealth": "Vermögen",
@@ -119,7 +129,8 @@
"title": "Niederlassungsauswahl",
"selected": "Ausgewählte Niederlassung",
"placeholder": "Noch keine Niederlassung ausgewählt",
"selectedcity": "Ausgewählte Stadt"
"selectedcity": "Ausgewählte Stadt",
"weather": "Aktuelles Wetter"
},
"actions": {
"create": "Neue Niederlassung erstellen",

View File

@@ -1,5 +1,15 @@
{
"falukant": {
"weather": {
"sunny": "Sunny",
"cloudy": "Cloudy",
"rainy": "Rainy",
"stormy": "Stormy",
"snowy": "Snowy",
"foggy": "Foggy",
"windy": "Windy",
"clear": "Clear"
},
"messages": {
"title": "Messages",
"tooltip": "Messages",
@@ -79,6 +89,13 @@
"noProposals": "No director candidates available."
},
"branch": {
"selection": {
"title": "Branch Selection",
"selected": "Selected Branch",
"placeholder": "No branch selected yet",
"selectedcity": "Selected City",
"weather": "Current Weather"
},
"vehicles": {
"cargo_cart": "Cargo cart",
"ox_cart": "Ox cart",