diff --git a/docs/configs/settings.md b/docs/configs/settings.md index 1e313724..06b6b40a 100644 --- a/docs/configs/settings.md +++ b/docs/configs/settings.md @@ -384,14 +384,11 @@ If you have both set the per-service settings take precedence. You can choose from the following styles for docker or k8s status and ping: `dot` or `basic` -The default is no value, and displays the ping response time in ms. `dot` shows a green dot for a successful ping or healthy status, and `basic` shows either ONLINE or OFFLINE to match the status style of Docker containers. For example: +- The default is no value, and displays the ping response time in ms and the docker / k8s container status +- `dot` shows a green dot for a successful ping or healthy status. +- `basic` shows either UP or DOWN for ping -```yaml - - Sonarr: - ... - ping: http://sonarr.host/ - statusStyle: dot -``` +For example: ```yaml statusStyle: 'dot' diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 813c8e2a..d9402701 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -76,11 +76,15 @@ "unhealthy": "Unhealthy", "not_found": "Not Found", "exited": "Exited", - "partial": "Partial" + "partial": "Partial", + "up": "Up", + "down": "Down" }, "ping": { "error": "Error", - "ping": "Ping" + "ping": "Ping", + "down": "Down", + "up": "Up" }, "emby": { "playing": "Playing", diff --git a/src/components/services/ping.jsx b/src/components/services/ping.jsx index 5c131516..12690d67 100644 --- a/src/components/services/ping.jsx +++ b/src/components/services/ping.jsx @@ -25,7 +25,7 @@ export default function Ping({ group, service, style }) { statusTitle += ` ${data.status}` if (style === "basic") { - statusText = t("docker.offline") + statusText = t("ping.down") } else { statusText = data.status } @@ -35,7 +35,7 @@ export default function Ping({ group, service, style }) { colorClass = "text-emerald-500/80" if (style === "basic") { - statusText = t("docker.running") + statusText = t("ping.up") } else { statusText = ping }