From 2b8c5e2e65d948d3f4f82e1e7d469476ca4ca358 Mon Sep 17 00:00:00 2001 From: Ponkhy Date: Thu, 26 Aug 2021 02:43:26 +0200 Subject: [PATCH] Added German Language --- src/components/NotificationDialog.vue | 4 +- src/languages/de-DE.js | 102 ++++++++++++++++++++++++++ src/languages/en.js | 4 + src/languages/zh-HK.js | 1 + src/main.js | 2 + src/pages/DashboardHome.vue | 2 +- src/pages/Details.vue | 8 +- src/pages/EditMonitor.vue | 2 +- src/pages/Settings.vue | 6 ++ 9 files changed, 123 insertions(+), 8 deletions(-) create mode 100644 src/languages/de-DE.js diff --git a/src/components/NotificationDialog.vue b/src/components/NotificationDialog.vue index 43b56b2f1..b5fe32edd 100644 --- a/src/components/NotificationDialog.vue +++ b/src/components/NotificationDialog.vue @@ -421,8 +421,8 @@ - - Are you sure want to delete this notification for all monitors? + + {{ $t("deleteNotificationMsg") }} diff --git a/src/languages/de-DE.js b/src/languages/de-DE.js new file mode 100644 index 000000000..b2bb6081d --- /dev/null +++ b/src/languages/de-DE.js @@ -0,0 +1,102 @@ +export default { + languageName: "German", + Settings: "Einstellungen", + Dashboard: "Dashboard", + "New Update": "Update Verfügbar", + Language: "Sprache", + Appearance: "Erscheinung", + Theme: "Thema", + General: "Allgemein", + Version: "Version", + "Check Update On GitHub": "Überprüfen von Updates auf Github", + List: "Liste", + Add: "Hinzufügen", + "Add New Monitor": "Neuer Monitor", + "Quick Stats": "Übersicht", + Up: "Aktiv", + Down: "Inaktiv", + Pending: "Ausstehend", + Unknown: "Unbekannt", + Pause: "Pausieren", + pauseDashboardHome: "Pausiert", + Name: "Name", + Status: "Status", + DateTime: "Datum / Uhrzeit", + Message: "Nachricht", + "No important events": "Keine wichtigen Ereignisse", + Resume: "Fortsetzen", + Edit: "Bearbeiten", + Delete: "Löschen", + Current: "Aktuell", + Uptime: "Verfügbarkeit", + "Cert Exp.": "Zertifikatsablauf", + days: "Tage", + day: "Tag", + "-day": "-Tage", + hour: "Stunde", + "-hour": "-Stunden", + checkEverySecond: "Überprüfe alle {0} Sekunden", + "Avg.": "Durchschn. ", + Response: " Antwortzeit", + Ping: "Ping", + "Monitor Type": "Monitor Typ", + Keyword: "Schlüsselwort", + "Friendly Name": "Anzeigename", + URL: "URL", + Hostname: "Hostname", + Port: "Port", + "Heartbeat Interval": "Taktintervall", + Retries: "Wiederholungen", + retriesDescription: "Maximale Anzahl von Wiederholungen, bevor der Dienst als inaktiv markiert und eine Benachrichtigung gesendet wird.", + Advanced: "Erweitert", + ignoreTLSError: "Ignoriere TLS/SSL Fehler von Webseiten", + "Upside Down Mode": "Umgedrehter Modus", + upsideDownModeDescription: "Drehe den Modus um, ist der Dienst erreichbar, wird er als Inaktiv angezeigt.", + "Max. Redirects": "Max. Weiterleitungen", + maxRedirectDescription: "Maximale Anzahl von Weiterleitungen, denen gefolgt werden soll. Setzte auf 0, um Weiterleitungen zu deaktivieren.", + "Accepted Status Codes": "Erlaubte HTTP-Statuscodes", + acceptedStatusCodesDescription: "Wähle die Statuscodes aus, welche trotzdem als erfolgreich gewertet werden sollen.", + Save: "Speichern", + Notifications: "Benachrichtigungen", + "Not available, please setup.": "Keine verfügbar, bitte einrichten.", + "Setup Notification": "Benachrichtigung einrichten", + Light: "Hell", + Dark: "Dunkel", + Auto: "Auto", + "Theme - Heartbeat Bar": "Thema - Taktleiste", + Normal: "Normal", + Bottom: "Unten", + None: "Keine", + Timezone: "Zeitzone", + "Search Engine Visibility": "Suchmaschinensichtbarkeit", + "Allow indexing": "Indizierung zulassen", + "Discourage search engines from indexing site": "Halte Suchmaschinen von der Indexierung der Site ab", + "Change Password": "Passwort ändern", + "Current Password": "Dezeitiges Passwort", + "New Password": "Neues Passwort", + "Repeat New Password": "Wiederhole neues Passwort", + passwordNotMatchMsg: "Passwörter stimmen nicht überein. ", + "Update Password": "Ändere Passwort", + "Disable Auth": "Authentifizierung deaktivieren", + "Enable Auth": "Authentifizierung aktivieren", + Logout: "Ausloggen", + notificationDescription: "Weise den Monitor(en) eine Benachrichtigung zu, damit diese Funktion greift.", + Leave: "Verlassen", + "I understand, please disable": "Ich verstehe, bitte deaktivieren", + Confirm: "Bestätige", + Yes: "Ja", + No: "Nein", + Username: "Benutzername", + Password: "Passwort", + "Remember me": "Passwort merken", + Login: "Einloggen", + "No Monitors, please": "Keine Monitore, bitte", + "add one": "hinzufügen", + "Notification Type": "Benachrichtigungs Dienst", + "Email": "E-Mail", + "Test": "Test", + "Certificate Info": "Zertifikatsinfo", + keywordDescription: "Suche nach einen Schlüsselwort in einer schlichten HTML oder JSON Ausgabe. Bitte beachte, es wird in der Groß-/Kleinschreibung unterschieden.", + deleteMonitorMsg: "Bist du sicher das du den Monitor löschen möchtest?", + deleteNotificationMsg: "Möchtest du diese Benachrichtigung wirklich für alle Monitore löschen?", +} diff --git a/src/languages/en.js b/src/languages/en.js index abd6c1474..05e3fc929 100644 --- a/src/languages/en.js +++ b/src/languages/en.js @@ -9,4 +9,8 @@ export default { acceptedStatusCodesDescription: "Select status codes which are considered as a successful response.", passwordNotMatchMsg: "The repeat password does not match.", notificationDescription: "Please assign a notification to monitor(s) to get it to work.", + keywordDescription: "Search keyword in plain html or JSON response and it is case-sensitive", + pauseDashboardHome: "Pause", + deleteMonitorMsg: "Are you sure want to delete this monitor?", + deleteNotificationMsg: "Are you sure want to delete this notification for all monitors?", } diff --git a/src/languages/zh-HK.js b/src/languages/zh-HK.js index 11bf845d8..e87e9a4ab 100644 --- a/src/languages/zh-HK.js +++ b/src/languages/zh-HK.js @@ -18,6 +18,7 @@ export default { Pending: "待定", Unknown: "不明", Pause: "暫停", + pauseDashboardHome: "暫停", Name: "名稱", Status: "狀態", DateTime: "日期時間", diff --git a/src/main.js b/src/main.js index dffb39372..7fa6267cf 100644 --- a/src/main.js +++ b/src/main.js @@ -25,6 +25,7 @@ import { appName } from "./util.ts"; import en from "./languages/en"; import zhHK from "./languages/zh-HK"; +import deDE from "./languages/de-DE"; const routes = [ { @@ -90,6 +91,7 @@ const router = createRouter({ const languageList = { en, "zh-HK": zhHK, + "de-DE": deDE, }; const i18n = createI18n({ diff --git a/src/pages/DashboardHome.vue b/src/pages/DashboardHome.vue index aa3635c32..391b9e3ad 100644 --- a/src/pages/DashboardHome.vue +++ b/src/pages/DashboardHome.vue @@ -20,7 +20,7 @@ {{ stats.unknown }}
-

{{ $t("Pause") }}

+

{{ $t("pauseDashboardHome") }}

{{ stats.pause }}
diff --git a/src/pages/Details.vue b/src/pages/Details.vue index 14eedc478..1c389a910 100644 --- a/src/pages/Details.vue +++ b/src/pages/Details.vue @@ -8,7 +8,7 @@ Ping: {{ monitor.hostname }}
- Keyword: {{ monitor.keyword }} + {{ $t("Keyword") }}: {{ monitor.keyword }}

@@ -80,7 +80,7 @@
-

Certificate Info

+

{{ $t("Certificate Info") }}

@@ -165,8 +165,8 @@ Are you sure want to pause? - - Are you sure want to delete this monitor? + + {{ $t("deleteMonitorMsg") }} diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index 5f9812335..9590e11be 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -40,7 +40,7 @@
- Search keyword in plain html or JSON response and it is case-sensitive + {{ $t("keywordDescription")}}
diff --git a/src/pages/Settings.vue b/src/pages/Settings.vue index 0f73059a6..bc9bf58e0 100644 --- a/src/pages/Settings.vue +++ b/src/pages/Settings.vue @@ -169,6 +169,12 @@

這個功能是設計給已有第三方認証的用家,例如 Cloudflare Access。

請小心使用。

+ +