feat: add interactive daily forecast details

This commit is contained in:
zv
2026-06-02 15:31:36 +02:00
parent 352287bc38
commit d089a71bef
9 changed files with 368 additions and 15 deletions

View File

@@ -85,6 +85,22 @@ const translations = {
"forecast.hourly": "Najbliższe 24 godziny",
"forecast.daily": "Prognoza 7-dniowa",
"forecast.today": "Dzisiaj",
"forecast.openDayDetails": "Otwórz szczegółową prognozę dla: {day}",
"forecast.dayDetails": "Prognoza szczegółowa",
"forecast.closeDetails": "Zamknij prognozę szczegółową",
"forecast.hourlyForDay": "Przebieg godzinowy",
"forecast.temperatureChart": "Temperatura w ciągu dnia",
"forecast.temperatureChartDescription": "Temperatura powietrza i temperatura odczuwalna według modelu.",
"forecast.rainfallChart": "Opad w ciągu dnia",
"forecast.rainfallChartDescription": "Przewidywana suma opadu oraz prawdopodobieństwo opadu.",
"forecast.temperature": "Temperatura",
"forecast.apparentTemperature": "Odczuwalna",
"forecast.precipitation": "Opad",
"forecast.precipitationProbability": "Prawdopodobieństwo",
"forecast.sunrise": "Wschód słońca",
"forecast.sunset": "Zachód słońca",
"forecast.maxWind": "Maks. wiatr",
"forecast.pastHour": "Miniona godzina",
"forecast.source": "Źródło prognozy:",
"forecast.error": "Nie udało się pobrać prognozy Open-Meteo.",
"forecast.emptyTitle": "Brak prognozy",
@@ -227,6 +243,22 @@ const translations = {
"forecast.hourly": "Next 24 hours",
"forecast.daily": "7-day forecast",
"forecast.today": "Today",
"forecast.openDayDetails": "Open detailed forecast for: {day}",
"forecast.dayDetails": "Detailed forecast",
"forecast.closeDetails": "Close detailed forecast",
"forecast.hourlyForDay": "Hourly conditions",
"forecast.temperatureChart": "Temperature throughout the day",
"forecast.temperatureChartDescription": "Air temperature and apparent temperature according to the model.",
"forecast.rainfallChart": "Rainfall throughout the day",
"forecast.rainfallChartDescription": "Forecast rainfall total and precipitation probability.",
"forecast.temperature": "Temperature",
"forecast.apparentTemperature": "Feels like",
"forecast.precipitation": "Rainfall",
"forecast.precipitationProbability": "Probability",
"forecast.sunrise": "Sunrise",
"forecast.sunset": "Sunset",
"forecast.maxWind": "Max. wind",
"forecast.pastHour": "Past hour",
"forecast.source": "Forecast source:",
"forecast.error": "Unable to load the Open-Meteo forecast.",
"forecast.emptyTitle": "Forecast unavailable",