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
@@ -67,17 +67,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": "顏色:嚴重程度 · 圖示:事件類型",