This commit is contained in:
zsxeee 2021-09-22 16:13:23 +08:00
parent 601204ae77
commit 6e55c44773
No known key found for this signature in database
GPG key ID: 895CFFFD8313B3B8
4 changed files with 5 additions and 6 deletions

View file

@ -108,7 +108,6 @@ export default {
watch: { watch: {
"notification.type"(to, from) { "notification.type"(to, from) {
let oldName; let oldName;
console.log(this.$root.notificationList)
if (from) { if (from) {
oldName = this.getUniqueDefaultName(from); oldName = this.getUniqueDefaultName(from);
} else { } else {
@ -193,7 +192,7 @@ export default {
}) })
}, },
/** /**
* @param {string} notificationKey * @param {keyof NotificationFormList} notificationKey
* @return {string} * @return {string}
*/ */
getUniqueDefaultName(notificationKey) { getUniqueDefaultName(notificationKey) {

View file

@ -11,7 +11,7 @@
</div> </div>
<div class="mb-3"> <div class="mb-3">
<i18n-t keypath="Status:" tag="p"> <i18n-t keypath="Status:" tag="p">
<span v-if="appriseInstalled" class="text-primary">{{ $t("Apprise is installed") }}</span> <span v-if="appriseInstalled" class="text-primary">{{ $t("Apprise is installed. ") }}</span>
<span v-else class="text-danger">{{ $t("Apprise is not installed. ") }}<a href="https://github.com/caronc/apprise" target="_blank">{{ $t("Read more") }}</a></span> <span v-else class="text-danger">{{ $t("Apprise is not installed. ") }}<a href="https://github.com/caronc/apprise" target="_blank">{{ $t("Read more") }}</a></span>
</i18n-t> </i18n-t>
</div> </div>

View file

@ -19,7 +19,7 @@
</p> </p>
<p style="margin-top: 8px;"> <p style="margin-top: 8px;">
{{ $t("canCheckLike") }} {{ $t("wayToCheckSignalURL") }}
</p> </p>
<p style="margin-top: 8px;"> <p style="margin-top: 8px;">

View file

@ -212,7 +212,7 @@ export default {
"Number": "Number", "Number": "Number",
"Recipients": "Recipients", "Recipients": "Recipients",
needSignalAPI: "You need to have a signal client with REST API.", needSignalAPI: "You need to have a signal client with REST API.",
canCheckLike: "You can check this url to view how to setup one:", wayToCheckSignalURL: "You can check this url to view how to setup one:",
signalImportant: "IMPORTANT: You cannot mix groups and numbers in recipients!", signalImportant: "IMPORTANT: You cannot mix groups and numbers in recipients!",
"gotify": "Gotify", "gotify": "Gotify",
@ -259,7 +259,7 @@ export default {
"Read more:": "Read more: {0}", "Read more:": "Read more: {0}",
"Status:": "Status: {0}", "Status:": "Status: {0}",
"Read more": "Read more", "Read more": "Read more",
"Apprise is installed": "Apprise is installed", "Apprise is installed. ": "Apprise is installed. ",
"Apprise is not installed. ": "Apprise is not installed. ", "Apprise is not installed. ": "Apprise is not installed. ",
"pushbullet": "Pushbullet", "pushbullet": "Pushbullet",