From 9f53149c4eb3e49e43d04b30fa8a9f5dfd99c5f7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 14 Apr 2026 18:05:53 +0000 Subject: [PATCH] Replace duplicate UseTemplateDescription keys with shared useTemplateDescription Agent-Logs-Url: https://github.com/louislam/uptime-kuma/sessions/f955e8b3-63c7-4510-82f8-2102ac70652e Co-authored-by: CommanderStorm <26258709+CommanderStorm@users.noreply.github.com> --- src/components/notifications/Matrix.vue | 2 +- src/components/notifications/Max.vue | 2 +- src/components/notifications/Telegram.vue | 2 +- src/lang/en.json | 4 +--- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/components/notifications/Matrix.vue b/src/components/notifications/Matrix.vue index 9bb89ccec..6fe5538aa 100644 --- a/src/components/notifications/Matrix.vue +++ b/src/components/notifications/Matrix.vue @@ -55,7 +55,7 @@
- {{ $t("matrixUseTemplateDescription") }} + {{ $t("useTemplateDescription") }}
diff --git a/src/components/notifications/Max.vue b/src/components/notifications/Max.vue index a6abf5ae5..6cc60fec6 100644 --- a/src/components/notifications/Max.vue +++ b/src/components/notifications/Max.vue @@ -34,7 +34,7 @@
- {{ $t("maxUseTemplateDescription") }} + {{ $t("useTemplateDescription") }}
diff --git a/src/components/notifications/Telegram.vue b/src/components/notifications/Telegram.vue index cc0797b90..8524796d0 100644 --- a/src/components/notifications/Telegram.vue +++ b/src/components/notifications/Telegram.vue @@ -75,7 +75,7 @@
- {{ $t("telegramUseTemplateDescription") }} + {{ $t("useTemplateDescription") }}
diff --git a/src/lang/en.json b/src/lang/en.json index 976a3f76c..b0ff13f66 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -496,17 +496,15 @@ "telegramSendSilentlyDescription": "Sends the message silently. Users will receive a notification with no sound.", "telegramProtectContent": "Protect Forwarding/Saving", "telegramProtectContentDescription": "If enabled, the bot messages in Telegram will be protected from forwarding and saving.", + "useTemplateDescription": "If enabled, the message will be sent using a custom template.", "telegramUseTemplate": "Use custom message template", - "telegramUseTemplateDescription": "If enabled, the message will be sent using a custom template.", "matrixUseTemplate": "Use custom message template", - "matrixUseTemplateDescription": "If enabled, the message will be sent using a custom template.", "telegramTemplateFormatDescription": "Telegram allows using different markup languages for messages, see Telegram {0} for specifc details.", "supportTelegramChatID": "Support Direct Chat / Group / Channel's Chat ID", "wayToGetTelegramChatID": "You can get your chat ID by sending a message to the bot and going to this URL to view the chat_id:", "maxApiUrlDescription": "Base API URL for MAX messenger. Default: https://platform-api.max.ru", "wayToGetMaxChatID": "Specify the chat identifier in MAX where messages should be delivered.", "maxUseTemplate": "Use custom message template", - "maxUseTemplateDescription": "If enabled, the message will be sent using a custom template.", "maxTemplateFormatDescription": "MAX messenger supports plain text, Markdown and HTML formatting.", "telegramServerUrl": "(Optional) Server Url", "telegramServerUrlDescription": "To lift Telegram's bot api limitations or gain access in blocked areas (China, Iran, etc). For more information click {0}. Default: {1}",