From af82ea742cbe1559b0fbc8d4cf80f7d850d5ae30 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Fri, 24 Feb 2023 17:21:53 +0800 Subject: [PATCH] Merge manually --- src/components/notifications/Telegram.vue | 27 ++--------------------- src/lang/en.json | 2 ++ 2 files changed, 4 insertions(+), 25 deletions(-) diff --git a/src/components/notifications/Telegram.vue b/src/components/notifications/Telegram.vue index 46824538f..a7e46fded 100644 --- a/src/components/notifications/Telegram.vue +++ b/src/components/notifications/Telegram.vue @@ -43,37 +43,14 @@ -
- - -
- -
- -
- {{ $t("Thread ID Description") }} -
-
- -
-
- - -
- -
- {{ $t("Silent Notification Description") }} -
-
-
- +
- {{ $t("Protect Forwarding Description") }} + {{ $t("telegramProtectContentDescription") }}
diff --git a/src/lang/en.json b/src/lang/en.json index ef6cb688c..478ddddca 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -365,6 +365,8 @@ "telegramMessageThreadIDDescription": "Optional Unique identifier for the target message thread (topic) of the forum; for forum supergroups only", "telegramSendSilently": "Send Silently", "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.", "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:", "YOUR BOT TOKEN HERE": "YOUR BOT TOKEN HERE",