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
@@ -76,17 +76,17 @@
"{severity} only": "Только {severity}",
"All categories": "Все категории",
"Reading the news…": "Читаем новости…",
"News, last 24 hours": "Новости за последние 24 часа",
"Last 24 h": "За 24 ч",
"News, last {hours} hours": "Новости за последние {hours} ч",
"Last {hours} h": "За {hours} ч",
"Hotspots": "Горячие точки",
"Severity": "Тяжесть",
"Category": "Категория",
"Include minor news": "Показывать второстепенные новости",
"Show event cards": "Показывать карточки событий",
"In view": "В поле зрения",
"Nothing reported near here in the last 24 h": "За последние 24 ч поблизости ничего не сообщалось",
"Nothing reported near here in the last {hours} h": "За последние {hours} ч поблизости ничего не сообщалось",
"Latest news": "Последние новости",
"No news matches these filters in the last 24 h": "За последние 24 ч нет новостей по этим фильтрам",
"No news matches these filters in the last {hours} h": "За последние {hours} ч нет новостей по этим фильтрам",
"Load older news": "Загрузить более ранние новости",
"How to read the map": "Как читать карту",
"Colour: severity · icon: type of event": "Цвет: тяжесть · значок: тип события",