Apprise status translation key

pull/451/head
zsxeee 3 years ago
parent 6e9d12638c
commit 624f632a7a
No known key found for this signature in database
GPG Key ID: 895CFFFD8313B3B8

@ -200,7 +200,7 @@ export default {
let name = ""
do {
name = this.$t("defaultNotificationName", [
this.$t(notificationKey).replace(/\(.+\)/, ""),
this.$t(notificationKey).replace(/\(.+\)/, "").trim(),
index++
]);
} while (this.$root.notificationList.find(it => it.name === name))

@ -11,8 +11,10 @@
</div>
<div class="mb-3">
<i18n-t keypath="Status:" tag="p">
<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-if="appriseInstalled" class="text-primary">{{ $t("appriseInstalled") }}</span>
<i18n-t v-else keypath="appriseNotInstalled" tag="span" class="text-danger">
<a href="https://github.com/caronc/apprise" target="_blank">{{ $t("Read more") }}</a>
</i18n-t>
</i18n-t>
</div>
</template>

@ -259,8 +259,8 @@ export default {
"Read more:": "Read more: {0}",
"Status:": "Status: {0}",
"Read more": "Read more",
"Apprise is installed.": "Apprise is installed. ",
"Apprise is not installed.": "Apprise is not installed. ",
appriseInstalled: "Apprise is installed.",
appriseNotInstalled: "Apprise is not installed. {0}",
"pushbullet": "Pushbullet",
"Access Token": "Access Token",

Loading…
Cancel
Save