Show news from the window the server serves

A host may serve fewer hours than the day. The hotspots answer may name its window
(`windowHours`, a whole number from 1 to 24); the layer keeps reports, the
feed, In view and the chosen event inside it, and the panel says
"Last 12 h" or "Last 24 h" accordingly. Without a window named, or with one
out of range, the layer keeps the full day as before.
This commit is contained in:
Denis Groshev committed 2026-11-06 00:45:27 +01:00
1 parent f3e206bf37
commit 60fad38c3f
18 files changed
+178 -73

No files matched your search

+4 -4
View File
@@ -73,17 +73,17 @@
"{severity} only": "Solo {severity}",
"All categories": "Todas las categorías",
"Reading the news…": "Leyendo las noticias…",
"News, last 24 hours": "Noticias de las últimas 24 horas",
"Last 24 h": "Últimas 24 h",
"News, last {hours} hours": "Noticias de las últimas {hours} horas",
"Last {hours} h": "Últimas {hours} h",
"Hotspots": "Focos",
"Severity": "Gravedad",
"Category": "Categoría",
"Include minor news": "Incluir noticias menores",
"Show event cards": "Mostrar tarjetas de sucesos",
"In view": "A la vista",
"Nothing reported near here in the last 24 h": "Nada informado cerca de aquí en las últimas 24 h",
"Nothing reported near here in the last {hours} h": "Nada informado cerca de aquí en las últimas {hours} h",
"Latest news": "Últimas noticias",
"No news matches these filters in the last 24 h": "Ninguna noticia de las últimas 24 h coincide con estos filtros",
"No news matches these filters in the last {hours} h": "Ninguna noticia de las últimas {hours} h coincide con estos filtros",
"Load older news": "Cargar noticias anteriores",
"How to read the map": "Cómo leer el mapa",
"Colour: severity · icon: type of event": "Color: gravedad · icono: tipo de suceso",