From b3ef5a9e85c8ba1e44813862d904dc8308dded8a Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Tue, 6 Jan 2026 00:05:02 +0100 Subject: [PATCH] remove useless translations --- src/components/notifications/ClickSendSMS.vue | 2 +- src/components/notifications/Octopush.vue | 2 +- src/components/notifications/Slack.vue | 2 +- src/lang/en.json | 6 +----- src/pages/EditMonitor.vue | 11 ----------- 5 files changed, 4 insertions(+), 19 deletions(-) diff --git a/src/components/notifications/ClickSendSMS.vue b/src/components/notifications/ClickSendSMS.vue index dbaca0452..b0aec48eb 100644 --- a/src/components/notifications/ClickSendSMS.vue +++ b/src/components/notifications/ClickSendSMS.vue @@ -10,7 +10,7 @@
- {{ $t("checkPrice", [$t("clicksendsms")]) }} + {{ $t("checkPrice", ["clicksendsms"]) }} https://clicksend.com/us/pricing
diff --git a/src/components/notifications/Octopush.vue b/src/components/notifications/Octopush.vue index 15cebe8b3..e3c8c0f04 100644 --- a/src/components/notifications/Octopush.vue +++ b/src/components/notifications/Octopush.vue @@ -2,7 +2,7 @@
diff --git a/src/components/notifications/Slack.vue b/src/components/notifications/Slack.vue index 9fa9f34be..9d781ef56 100644 --- a/src/components/notifications/Slack.vue +++ b/src/components/notifications/Slack.vue @@ -24,7 +24,7 @@ https://api.slack.com/messaging/webhooks

- {{ $t("aboutChannelName", [$t("slack")]) }} + {{ $t("aboutChannelName", ["slack"]) }}

{{ $t("aboutKumaURL") }} diff --git a/src/lang/en.json b/src/lang/en.json index 86dd9653c..f31009431 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -1268,11 +1268,10 @@ "Message Format": "Message Format", "smscTranslit": "smscTranslit", "promosms": "promosms", - "clicksendsms": "clicksendsms", "Region": "Region", "PushDeer Server URL": "PushDeer Server URL", "To Number": "To Number", - "GrafanaOncallURL": "GrafanaOncallURL", + "GrafanaOncallURL": "Grafana Oncall URL", "Never": "Never", "Json Query": "Json Query", "System Service": "System Service", @@ -1283,11 +1282,8 @@ "GRPC Options": "GRPC Options", "Metadata": "Metadata", "pingTimeoutLabel": "pingTimeoutLabel", - "pingTimeoutDescription": "pingTimeoutDescription", "End": "End", "Show this Maintenance Message on which Status Pages": "Show this Maintenance Message on which Status Pages", "Endpoint": "Endpoint", - "octopush": "octopush", - "slack": "slack", "Details": "Details" } diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index 716990db8..eab4e306c 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -1455,17 +1455,6 @@ export default { return this.monitor.type === "ping" ? 60 : undefined; }, - timeoutLabel() { - return this.monitor.type === "ping" ? this.$t("pingTimeoutLabel") : this.$t("Request Timeout"); - }, - - timeoutDescription() { - if (this.monitor.type === "ping") { - return this.$t("pingTimeoutDescription"); - } - return ""; - }, - defaultFriendlyName() { if (this.monitor.hostname) { return this.monitor.hostname;