diff --git a/packages/translation/src/lang/en.json b/packages/translation/src/lang/en.json index aed89193d..a9dfff623 100644 --- a/packages/translation/src/lang/en.json +++ b/packages/translation/src/lang/en.json @@ -4963,7 +4963,7 @@ "empty": "No alerts configured", "history": "History", "resolved": "Resolved", - "description": { + "alertDescription": { "statusDuration": "Down for {minutes} min", "threshold": "Exceeds {value} over {minutes} min" }, diff --git a/packages/widgets/src/beszel-alerts/component.tsx b/packages/widgets/src/beszel-alerts/component.tsx index 9069cc8f8..94e32c52a 100644 --- a/packages/widgets/src/beszel-alerts/component.tsx +++ b/packages/widgets/src/beszel-alerts/component.tsx @@ -256,9 +256,9 @@ function AlertRow({ name, value, min, systemName, integrationName, triggered, is const t = useI18n("widget.beszelAlerts"); const Icon = alertIconMap[name] ?? Server; const suffix = unitSuffixMap[name] ?? ""; - let description = t("description.threshold", { value: `${value}${suffix}`, minutes: min }); + let description = t("alertDescription.threshold", { value: `${value}${suffix}`, minutes: min }); if (name === "Status") { - description = t("description.statusDuration", { minutes: min }); + description = t("alertDescription.statusDuration", { minutes: min }); } const accentColor = triggered ? "red" : "green"; const borderColor = triggered ? "red" : "gray";