Changes 'Mention Channel' -> 'Notify Channel'

- Updates variable names
- Updates any Slack mention references
pull/3080/head
duane 2 years ago
parent 376d84c742
commit 9a8bea5761

@ -28,7 +28,7 @@ class Slack extends NotificationProvider {
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
let okMsg = "Sent Successfully."; let okMsg = "Sent Successfully.";
if (notification.slackchannelmention) { if (notification.slackchannelnotify) {
msg += " <!channel>"; msg += " <!channel>";
} }

@ -26,8 +26,8 @@
</div> </div>
<div class="form-check form-switch"> <div class="form-check form-switch">
<input id="slack-channel-mention" v-model="$parent.notification.slackchannelmention" type="checkbox" class="form-check-input"> <input id="slack-channel-notify" v-model="$parent.notification.slackchannelnotify" type="checkbox" class="form-check-input">
<label for="slack-channel-mention" class="form-label">{{ $t("Mention Channel") }}</label> <label for="slack-channel-notify" class="form-label">{{ $t("Notify Channel") }}</label>
</div> </div>
</div> </div>
</template> </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.", "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}", "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", "Channel Name": "Channel Name",
"Mention Channel": "Mention Channel", "Notify Channel": "Notify Channel",
"Uptime Kuma URL": "Uptime Kuma URL", "Uptime Kuma URL": "Uptime Kuma URL",
"Icon Emoji": "Icon Emoji", "Icon Emoji": "Icon Emoji",
"signalImportant": "IMPORTANT: You cannot mix groups and numbers in recipients!", "signalImportant": "IMPORTANT: You cannot mix groups and numbers in recipients!",

Loading…
Cancel
Save