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>
<div>
<h4>{{ $t("CertificateInfo") }}</h4>
{{ $t("Certificate Chain") }}:
{{ $t("CertificateChain") }}:
<div
v-if="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 v-if="group.element.monitorList.length === 0" class="text-center no-monitor-msg">
{{ $t("No Monitors") }}
{{ $t("NoMonitors") }}
</div>
<!-- Monitor List -->

View file

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

View file

@ -59,7 +59,7 @@ export default {
IUnderstandPleaseDisable: "I understand, please disable",
RememberMe: "Remember me",
NoMonitorsPlease: "No Monitors, please",
AddOne: "add one",
AddOne: "Add one",
NotificationType: "Notification Type",
CertificateInfo: "Certificate Info",
ResolverServer: "Resolver Server",
@ -131,4 +131,11 @@ export default {
PoweredBy: "Powered by",
SwitchToLightTheme: "Switch to Light 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">
<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" />
<span class="fs-4 title">{{ $t("Uptime Kuma") }}</span>
<span class="fs-4 title">{{ $t("UptimeKuma") }}</span>
</router-link>
<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">
<li class="nav-item me-2">
<a href="/status" class="nav-link status-page">
<font-awesome-icon icon="stream" /> {{ $t("Status Page") }}
<font-awesome-icon icon="stream" /> {{ $t("StatusPage") }}
</a>
</li>
<li v-if="$root.loggedIn" class="nav-item me-2">

View file

@ -208,7 +208,7 @@ export default {
showPingChartBox: true,
paginationConfig: {
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"),
last: this.$t("Last"),
nextPage: ">",

View file

@ -46,7 +46,7 @@
<!-- Push URL -->
<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" />
<div class="form-text">
You should call this url every {{ monitor.interval }} seconds.<br />

View file

@ -96,7 +96,7 @@
<div class="form-check">
<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">
{{ $t("Status Page") }}
{{ $t("StatusPage") }}
</label>
</div>
</div>

View file

@ -52,7 +52,7 @@
<button class="btn btn-primary btn-add-group me-2" @click="createIncident">
<font-awesome-icon icon="bullhorn" />
{{ $t("Create Incident") }}
{{ $t("CreateIncident") }}
</button>
<!--
@ -182,7 +182,7 @@
</select>
</div>
<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>