mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-29 18:50:39 +00:00
Changes 'Mention Channel' -> 'Notify Channel'
- Updates variable names - Updates any Slack mention references
This commit is contained in:
parent
376d84c742
commit
9a8bea5761
3 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@ class Slack extends NotificationProvider {
|
|||
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
|
||||
let okMsg = "Sent Successfully.";
|
||||
|
||||
if (notification.slackchannelmention) {
|
||||
if (notification.slackchannelnotify) {
|
||||
msg += " <!channel>";
|
||||
}
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
</div>
|
||||
|
||||
<div class="form-check form-switch">
|
||||
<input id="slack-channel-mention" v-model="$parent.notification.slackchannelmention" type="checkbox" class="form-check-input">
|
||||
<label for="slack-channel-mention" class="form-label">{{ $t("Mention Channel") }}</label>
|
||||
<input id="slack-channel-notify" v-model="$parent.notification.slackchannelnotify" type="checkbox" class="form-check-input">
|
||||
<label for="slack-channel-notify" class="form-label">{{ $t("Notify Channel") }}</label>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -625,7 +625,7 @@
|
|||
"matrixDesc1": "You can find the internal room ID by looking in the advanced section of the room settings in your Matrix client. It should look like !QMdRCpUIfLwsfjxye6:home.server.",
|
||||
"matrixDesc2": "It is highly recommended you create a new user and do not use your own Matrix user's access token as it will allow full access to your account and all the rooms you joined. Instead, create a new user and only invite it to the room that you want to receive the notification in. You can get the access token by running {0}",
|
||||
"Channel Name": "Channel Name",
|
||||
"Mention Channel": "Mention Channel",
|
||||
"Notify Channel": "Notify Channel",
|
||||
"Uptime Kuma URL": "Uptime Kuma URL",
|
||||
"Icon Emoji": "Icon Emoji",
|
||||
"signalImportant": "IMPORTANT: You cannot mix groups and numbers in recipients!",
|
||||
|
|
Loading…
Reference in a new issue