From 32cd5c29fd6f3b7fe1825c3b5b52bdf493a045bb Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Mon, 31 Mar 2025 01:38:15 +0200 Subject: [PATCH] Status: add translate service --- src/UI/Status/StatusGUI.svelte | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/UI/Status/StatusGUI.svelte b/src/UI/Status/StatusGUI.svelte index 3dd8ad4dd..9bf90cb92 100644 --- a/src/UI/Status/StatusGUI.svelte +++ b/src/UI/Status/StatusGUI.svelte @@ -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")