fix a few more translations

This commit is contained in:
Frank Elsinga 2026-01-14 09:34:26 +01:00
parent 55206cf719
commit 4548d47edd
3 changed files with 6 additions and 6 deletions

View File

@ -239,7 +239,7 @@ export default {
} else if (monitor?.element?.validCert === false) {
return this.$t("noOrBadCertificate");
} else {
return this.$t("UnknownDays");
return this.$t("unknownDays");
}
},

View File

@ -85,12 +85,12 @@ export default {
title() {
if (this.type === "1y") {
return this.$t("years", 1, {n:1});
return this.$t("years", 1);
}
if (this.type === "720") {
return this.$t("days", 30, {n:30});
return this.$t("days", 30);
}
return this.$t("hours", 24, {n:24});
return this.$t("hours", 24);
},
},
};

View File

@ -194,7 +194,7 @@
class="col-12 col-sm col row d-flex align-items-center d-sm-block"
>
<h4 class="col-4 col-sm-12">{{ pingTitle(true) }}</h4>
<p class="col-4 col-sm-12 mb-0 mb-sm-2">({{ 24 }} {{ $t("hour", 24) }})</p>
<p class="col-4 col-sm-12 mb-0 mb-sm-2">({{ $t("hours", 24) }})</p>
<span class="col-4 col-sm-12 num">
<CountUp :value="avgPing" />
</span>
@ -203,7 +203,7 @@
<!-- Uptime (24-hour) -->
<div class="col-12 col-sm col row d-flex align-items-center d-sm-block">
<h4 class="col-4 col-sm-12">{{ $t("Uptime") }}</h4>
<p class="col-4 col-sm-12 mb-0 mb-sm-2">({{ 24 }} {{ $t("hour", 24) }})</p>
<p class="col-4 col-sm-12 mb-0 mb-sm-2">({{ $t("hours", 24) }})</p>
<span class="col-4 col-sm-12 num">
<Uptime :monitor="monitor" type="24" />
</span>