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": "色: 深刻度 · アイコン: 出来事の種類",