mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 01:04:05 +00:00
Apprise status translation key
This commit is contained in:
parent
6e9d12638c
commit
624f632a7a
3 changed files with 7 additions and 5 deletions
|
@ -200,7 +200,7 @@ export default {
|
||||||
let name = ""
|
let name = ""
|
||||||
do {
|
do {
|
||||||
name = this.$t("defaultNotificationName", [
|
name = this.$t("defaultNotificationName", [
|
||||||
this.$t(notificationKey).replace(/\(.+\)/, ""),
|
this.$t(notificationKey).replace(/\(.+\)/, "").trim(),
|
||||||
index++
|
index++
|
||||||
]);
|
]);
|
||||||
} while (this.$root.notificationList.find(it => it.name === name))
|
} while (this.$root.notificationList.find(it => it.name === name))
|
||||||
|
|
|
@ -11,8 +11,10 @@
|
||||||
</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("appriseInstalled") }}</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 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>
|
</i18n-t>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -259,8 +259,8 @@ 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. ",
|
appriseInstalled: "Apprise is installed.",
|
||||||
"Apprise is not installed.": "Apprise is not installed. ",
|
appriseNotInstalled: "Apprise is not installed. {0}",
|
||||||
|
|
||||||
"pushbullet": "Pushbullet",
|
"pushbullet": "Pushbullet",
|
||||||
"Access Token": "Access Token",
|
"Access Token": "Access Token",
|
||||||
|
|
Loading…
Reference in a new issue