From d496c527af2cdc3496b83ee2e55f868e1a5e3f6f Mon Sep 17 00:00:00 2001 From: Bennet Gallein Date: Mon, 16 Feb 2026 22:50:07 +0100 Subject: [PATCH] feat(i18n): add german language --- locales/de-DE/common.json | 37 +++++++++++++++++++++++++++++++++++++ util/i18n.ts | 3 +++ 2 files changed, 40 insertions(+) create mode 100644 locales/de-DE/common.json diff --git a/locales/de-DE/common.json b/locales/de-DE/common.json new file mode 100644 index 0000000..b0e8c86 --- /dev/null +++ b/locales/de-DE/common.json @@ -0,0 +1,37 @@ +{ + "Incidents": "Vorfälle", + "No data yet": "Noch keine Daten", + "All systems not operational": "Alle Systeme nicht funktional", + "All systems operational": "Alle System funktional", + "Some systems not operational": "Manche Systeme sind nicht funktional ({{down}} von {{total}})", + "Last updated on": "Letzte Aktualisierung: {{date}} (vor {{seconds}} Sekunden)", + "upcoming maintenance": "{{count}} anstehende Wartung", + "upcoming maintenance_plural": "{{count}} anstehende Wartungen", + "Hide": "[verstecken]", + "Show": "[zeigen]", + "Operational": "Funktional", + "No data available": "Keine Daten verfügbar, stell sicher dass der worker mit der letzten config version deployed und prüfe den worker status!", + "Overall": "Total: {{percent}}%", + "No Data": "Keine Daten", + "percent at date": "{{percent}}% am {{date}}", + "Down for": "Ausfall für {{duration}} (klick für Details)", + "incidents at": "🚨 {{name}} Vorfall am {{date}}", + "Response times": "Antwortszeit (ms)", + "Upcoming": "[Geplant] ", + "Scheduled Maintenance": "Geplante Wartung", + "Scheduled for": "Geplant für:", + "From": "Von:", + "Expected end": "Voraussichtliches Ende:", + "To": "Bis:", + "Until further notice": "Offen", + "Affected components": "Betroffene Komponenten:", + "MONITOR ID NOT FOUND": "[ERR: MONITOR ID NICHT GEFUNDEN]", + "No incidents in this month": "Keine Ausfälle diesen Monat", + "There are no incidents for this month": "Es gibt keine Ausfälle diesen Monat.", + "Monitor not found": "Monitor mit id {{id}} nicht gefunden!", + "Monitor State not defined": "Monitor State ist nicht definiert. Prüfe den worker status und binding!", + "All": "Alle", + "Select monitor": "Auswählen", + "Backwards": "← Zurück", + "Forward": "Vorwärts →" +} diff --git a/util/i18n.ts b/util/i18n.ts index 54d912a..5fed890 100644 --- a/util/i18n.ts +++ b/util/i18n.ts @@ -5,6 +5,7 @@ import en from '../locales/en/common.json' import zhCN from '../locales/zh-CN/common.json' import zhTW from '../locales/zh-TW/common.json' import frFR from '../locales/fr-FR/common.json' +import deDE from '../locales/de-DE/common.json' i18n .use(LanguageDetector) @@ -17,6 +18,8 @@ i18n 'zh-TW': { common: zhTW }, fr: { common: frFR }, 'fr-FR': { common: frFR }, + de: { common: deDE }, + 'de-DE': { common: deDE }, }, fallbackLng: 'en', interpolation: {