fix(translations): add more missing translations

This commit is contained in:
Bert Verhelst 2021-10-05 20:06:55 +02:00
parent 49c8dbad8f
commit d38d86a8be
9 changed files with 18 additions and 11 deletions

View file

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<h4>{{ $t("CertificateInfo") }}</h4> <h4>{{ $t("CertificateInfo") }}</h4>
{{ $t("Certificate Chain") }}: {{ $t("CertificateChain") }}:
<div <div
v-if="valid" v-if="valid"
class="rounded d-inline-flex ms-2 text-white tag-valid" class="rounded d-inline-flex ms-2 text-white tag-valid"

View file

@ -17,7 +17,7 @@
<div class="shadow-box monitor-list mt-4 position-relative"> <div class="shadow-box monitor-list mt-4 position-relative">
<div v-if="group.element.monitorList.length === 0" class="text-center no-monitor-msg"> <div v-if="group.element.monitorList.length === 0" class="text-center no-monitor-msg">
{{ $t("No Monitors") }} {{ $t("NoMonitors") }}
</div> </div>
<!-- Monitor List --> <!-- Monitor List -->

View file

@ -96,7 +96,7 @@
<div class="mb-2"> <div class="mb-2">
<input v-model="newDraftTag.value" class="form-control" <input v-model="newDraftTag.value" class="form-control"
:class="{'is-invalid': validateDraftTag.valueInvalid}" :class="{'is-invalid': validateDraftTag.valueInvalid}"
:placeholder="$t('value (optional)')" :placeholder="$t('valueOptional')"
@keydown.enter.prevent="onEnter" @keydown.enter.prevent="onEnter"
/> />
<div class="invalid-feedback"> <div class="invalid-feedback">

View file

@ -59,7 +59,7 @@ export default {
IUnderstandPleaseDisable: "I understand, please disable", IUnderstandPleaseDisable: "I understand, please disable",
RememberMe: "Remember me", RememberMe: "Remember me",
NoMonitorsPlease: "No Monitors, please", NoMonitorsPlease: "No Monitors, please",
AddOne: "add one", AddOne: "Add one",
NotificationType: "Notification Type", NotificationType: "Notification Type",
CertificateInfo: "Certificate Info", CertificateInfo: "Certificate Info",
ResolverServer: "Resolver Server", ResolverServer: "Resolver Server",
@ -131,4 +131,11 @@ export default {
PoweredBy: "Powered by", PoweredBy: "Powered by",
SwitchToLightTheme: "Switch to Light Theme", SwitchToLightTheme: "Switch to Light Theme",
SwitchToDarkTheme: "Switch to Dark Theme", SwitchToDarkTheme: "Switch to Dark Theme",
CertificateChain: "Certificate Chain",
PushUrl: "Push URL",
UptimeKuma: "Uptime Kuma",
NoMonitors: "No Monitors",
StatusPage: "Status Page",
CreateIncident: "Create Incident",
NoMonitorsAvailable: "No monitors available.",
}; };

View file

@ -10,7 +10,7 @@
<header v-if="! $root.isMobile" class="d-flex flex-wrap justify-content-center py-3 mb-3 border-bottom"> <header v-if="! $root.isMobile" class="d-flex flex-wrap justify-content-center py-3 mb-3 border-bottom">
<router-link to="/dashboard" class="d-flex align-items-center mb-3 mb-md-0 me-md-auto text-dark text-decoration-none"> <router-link to="/dashboard" class="d-flex align-items-center mb-3 mb-md-0 me-md-auto text-dark text-decoration-none">
<object class="bi me-2 ms-4" width="40" height="40" data="/icon.svg" /> <object class="bi me-2 ms-4" width="40" height="40" data="/icon.svg" />
<span class="fs-4 title">{{ $t("Uptime Kuma") }}</span> <span class="fs-4 title">{{ $t("UptimeKuma") }}</span>
</router-link> </router-link>
<a v-if="hasNewVersion" target="_blank" href="https://github.com/louislam/uptime-kuma/releases" class="btn btn-info me-3"> <a v-if="hasNewVersion" target="_blank" href="https://github.com/louislam/uptime-kuma/releases" class="btn btn-info me-3">
@ -20,7 +20,7 @@
<ul class="nav nav-pills"> <ul class="nav nav-pills">
<li class="nav-item me-2"> <li class="nav-item me-2">
<a href="/status" class="nav-link status-page"> <a href="/status" class="nav-link status-page">
<font-awesome-icon icon="stream" /> {{ $t("Status Page") }} <font-awesome-icon icon="stream" /> {{ $t("StatusPage") }}
</a> </a>
</li> </li>
<li v-if="$root.loggedIn" class="nav-item me-2"> <li v-if="$root.loggedIn" class="nav-item me-2">

View file

@ -208,7 +208,7 @@ export default {
showPingChartBox: true, showPingChartBox: true,
paginationConfig: { paginationConfig: {
texts: { texts: {
count: `${this.$t("Showing {from} to {to} of {count} records")}|{count} ${this.$t("records")}|${this.$t("One record")}`, count: `${this.$t("ShowingFromToOfCountRecords")}|{count} ${this.$t("Records")}|${this.$t("OneRecord")}`,
first: this.$t("First"), first: this.$t("First"),
last: this.$t("Last"), last: this.$t("Last"),
nextPage: ">", nextPage: ">",

View file

@ -46,7 +46,7 @@
<!-- Push URL --> <!-- Push URL -->
<div v-if="monitor.type === 'push' " class="my-3"> <div v-if="monitor.type === 'push' " class="my-3">
<label for="push-url" class="form-label">{{ $t("Push URL") }}</label> <label for="push-url" class="form-label">{{ $t("PushUrl") }}</label>
<CopyableInput id="push-url" v-model="pushURL" type="url" disabled="disabled" /> <CopyableInput id="push-url" v-model="pushURL" type="url" disabled="disabled" />
<div class="form-text"> <div class="form-text">
You should call this url every {{ monitor.interval }} seconds.<br /> You should call this url every {{ monitor.interval }} seconds.<br />

View file

@ -96,7 +96,7 @@
<div class="form-check"> <div class="form-check">
<input id="entryPageNo" v-model="settings.entryPage" class="form-check-input" type="radio" name="statusPage" value="statusPage" required> <input id="entryPageNo" v-model="settings.entryPage" class="form-check-input" type="radio" name="statusPage" value="statusPage" required>
<label class="form-check-label" for="entryPageNo"> <label class="form-check-label" for="entryPageNo">
{{ $t("Status Page") }} {{ $t("StatusPage") }}
</label> </label>
</div> </div>
</div> </div>

View file

@ -52,7 +52,7 @@
<button class="btn btn-primary btn-add-group me-2" @click="createIncident"> <button class="btn btn-primary btn-add-group me-2" @click="createIncident">
<font-awesome-icon icon="bullhorn" /> <font-awesome-icon icon="bullhorn" />
{{ $t("Create Incident") }} {{ $t("CreateIncident") }}
</button> </button>
<!-- <!--
@ -182,7 +182,7 @@
</select> </select>
</div> </div>
<div v-else class="text-center"> <div v-else class="text-center">
{{ $t("No monitors available.") }} <router-link to="/add">{{ $t("Add one") }}</router-link> {{ $t("NoMonitorsAvailable.") }} <router-link to="/add">{{ $t("AddOne") }}</router-link>
</div> </div>
</div> </div>
</div> </div>