mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 17:58:50 +08:00
Apprise status translation key
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user