From 527d40be2dbd58aeab79e5e73dd6d5df38e3c0e6 Mon Sep 17 00:00:00 2001 From: Ryo Hanafusa Date: Mon, 28 Oct 2024 00:55:20 +0000 Subject: [PATCH] Move helptext to under the username field and simplified the message --- src/components/notifications/Slack.vue | 8 +++++--- src/lang/en.json | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/notifications/Slack.vue b/src/components/notifications/Slack.vue index a7c24251a..074cdc415 100644 --- a/src/components/notifications/Slack.vue +++ b/src/components/notifications/Slack.vue @@ -4,6 +4,11 @@ +
+

+ {{ $t("aboutSlackUsername") }} +

+
@@ -20,9 +25,6 @@ https://api.slack.com/messaging/webhooks -

- {{ $t("aboutUsername", [$t("slack"), $t("Username"), $t("Friendly Name")]) }} -

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

diff --git a/src/lang/en.json b/src/lang/en.json index 57b9e329a..cc905df65 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -731,7 +731,7 @@ "Icon Emoji": "Icon Emoji", "signalImportant": "IMPORTANT: You cannot mix groups and numbers in recipients!", "aboutWebhooks": "More info about Webhooks on: {0}", - "aboutUsername": "The {0} {1} can change the display name of the message sender. This is not for mentions. If you want to mention someone, include it in the {2}.", + "aboutSlackUsername": "Changes the display name of the message sender. If you want to mention someone, include it in the friendly name instead.", "aboutChannelName": "Enter the channel name on {0} Channel Name field if you want to bypass the Webhook channel. Ex: #other-channel", "aboutKumaURL": "If you leave the Uptime Kuma URL field blank, it will default to the Project GitHub page.", "smtpDkimSettings": "DKIM Settings",