Status: add translate service

This commit is contained in:
Pieter Vander Vennet 2025-03-31 01:38:15 +02:00
parent 8ec0b4f916
commit 32cd5c29fd

View file

@ -351,6 +351,16 @@
})
})
services.push({
name: "Translation service (Weblate)",
status: testDownload("https://translate.mapcomplete.org", true).mapD(r => {
if (r["success"]) {
return "online"
}
return "offline"
})
})
}
let all = new UIEventSource<"online" | "degraded" | "offline">("online")