Refresh product docs and observation freshness

This commit is contained in:
2569718930@qq.com
2026-06-06 21:46:23 +08:00
parent 524ae7c8cf
commit 11fd482378
24 changed files with 997 additions and 592 deletions
@@ -36,6 +36,18 @@ export function runTests() {
assert(shenzhen.runwayHigh === "HKO Live", "Shenzhen high summary should translate 天文台实测");
assert(shenzhen.metarHigh === "HKO", "Shenzhen high summary should translate 天文台");
const shanghai = __buildTemperatureStatsLabelsForTest({
isEn: true,
isShenzhen: false,
runwayHeaderLabel: "跑道实测 (3分钟)",
metarHeaderLabel: "METAR 结算 (30分钟)",
runwayHighLabel: "跑道实测",
metarHighLabel: "METAR 官方",
});
assert(shanghai.primary === "Runway Live (3m)", "AMSC English primary label should match 跑道实测 (3分钟)");
assert(shanghai.runwayHigh === "Runway", "AMSC runway high label should remain Runway");
const zh = __buildTemperatureStatsLabelsForTest({
isEn: false,
isShenzhen: true,