From 6e55c447732cd17827bfbdb8ead5bb04715893d5 Mon Sep 17 00:00:00 2001
From: zsxeee
Date: Wed, 22 Sep 2021 16:13:23 +0800
Subject: [PATCH] Chore
---
src/components/NotificationDialog.vue | 3 +--
src/components/notifications/Apprise.vue | 2 +-
src/components/notifications/Signal.vue | 2 +-
src/languages/en.js | 4 ++--
4 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/components/NotificationDialog.vue b/src/components/NotificationDialog.vue
index 2cf5eed2d..fb8ff2e0a 100644
--- a/src/components/NotificationDialog.vue
+++ b/src/components/NotificationDialog.vue
@@ -108,7 +108,6 @@ export default {
watch: {
"notification.type"(to, from) {
let oldName;
- console.log(this.$root.notificationList)
if (from) {
oldName = this.getUniqueDefaultName(from);
} else {
@@ -193,7 +192,7 @@ export default {
})
},
/**
- * @param {string} notificationKey
+ * @param {keyof NotificationFormList} notificationKey
* @return {string}
*/
getUniqueDefaultName(notificationKey) {
diff --git a/src/components/notifications/Apprise.vue b/src/components/notifications/Apprise.vue
index 567b1eae7..e0f116f03 100644
--- a/src/components/notifications/Apprise.vue
+++ b/src/components/notifications/Apprise.vue
@@ -11,7 +11,7 @@
- {{ $t("Apprise is installed") }}
+ {{ $t("Apprise is installed. ") }}
{{ $t("Apprise is not installed. ") }}{{ $t("Read more") }}
diff --git a/src/components/notifications/Signal.vue b/src/components/notifications/Signal.vue
index 212aba6a3..e3c9e7aaf 100644
--- a/src/components/notifications/Signal.vue
+++ b/src/components/notifications/Signal.vue
@@ -19,7 +19,7 @@
- {{ $t("canCheckLike") }}
+ {{ $t("wayToCheckSignalURL") }}
diff --git a/src/languages/en.js b/src/languages/en.js
index c4525aef8..c97754034 100644
--- a/src/languages/en.js
+++ b/src/languages/en.js
@@ -212,7 +212,7 @@ export default {
"Number": "Number",
"Recipients": "Recipients",
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!",
"gotify": "Gotify",
@@ -259,7 +259,7 @@ export default {
"Read more:": "Read more: {0}",
"Status:": "Status: {0}",
"Read more": "Read more",
- "Apprise is installed": "Apprise is installed",
+ "Apprise is installed. ": "Apprise is installed. ",
"Apprise is not installed. ": "Apprise is not installed. ",
"pushbullet": "Pushbullet",