forked from MapComplete/MapComplete
Status: add translate service
This commit is contained in:
parent
8ec0b4f916
commit
32cd5c29fd
1 changed files with 10 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue