From bfeb2fdc427c75ea3467e7716d359fd05e50df4b Mon Sep 17 00:00:00 2001 From: Ryo Hanafusa Date: Sun, 27 Oct 2024 09:43:03 +0000 Subject: [PATCH] Add slack username usage --- src/components/notifications/Slack.vue | 3 +++ src/lang/en.json | 1 + 2 files changed, 4 insertions(+) diff --git a/src/components/notifications/Slack.vue b/src/components/notifications/Slack.vue index dc07bf373..34c4c9e6f 100644 --- a/src/components/notifications/Slack.vue +++ b/src/components/notifications/Slack.vue @@ -20,6 +20,9 @@ https://api.slack.com/messaging/webhooks +

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

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

diff --git a/src/lang/en.json b/src/lang/en.json index 07d3a3d24..79e5e7c92 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -731,6 +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} can change the display name of the message sender. This is not for mentions. If you want to mention someone, include it in the {1}.", "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",