feat(i18n): add german language (#194)

* feat(i18n): add german language

* fix: change lang

* fix: adjust
pull/197/head
Bennet Gallein 2026-02-17 02:50:42 +01:00 committed by GitHub
parent 5a69f52653
commit ef8ab25f44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 40 additions and 0 deletions

37
locales/de-DE/common.json Normal file
View File

@ -0,0 +1,37 @@
{
"Incidents": "Vorfälle",
"No data yet": "Noch keine Daten",
"All systems not operational": "Nicht alle Systeme funktionsfähig",
"All systems operational": "Alle Systeme funktionsfähig",
"Some systems not operational": "Manche Systeme sind nicht funktionsfähig ({{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": "Funktionsfähig",
"No data available": "Keine Daten verfügbar, stelle sicher dass der Worker mit der letzten Config-Version deployed wurde und prüfe den Worker-Status!",
"Overall": "Gesamt: {{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": "Antwortzeiten (ms)",
"Upcoming": "[Geplant] ",
"Scheduled Maintenance": "Geplante Wartung",
"Scheduled for": "Geplant für:",
"From": "Von:",
"Expected end": "Voraussichtliches Ende:",
"To": "Bis:",
"Until further notice": "Bis auf Weiteres",
"Affected components": "Betroffene Komponenten:",
"MONITOR ID NOT FOUND": "[ERR: MONITOR ID NICHT GEFUNDEN]",
"No incidents in this month": "Keine Vorfälle diesen Monat",
"There are no incidents for this month": "Es gibt keine Vorfälle diesen Monat.",
"Monitor not found": "Monitor mit ID {{id}} nicht gefunden!",
"Monitor State not defined": "Monitor-Status ist nicht definiert. Prüfe den Worker-Status und das Binding!",
"All": "Alle",
"Select monitor": "Auswählen",
"Backwards": "← Zurück",
"Forward": "Vorwärts →"
}

View File

@ -5,6 +5,7 @@ import en from '../locales/en/common.json'
import zhCN from '../locales/zh-CN/common.json' import zhCN from '../locales/zh-CN/common.json'
import zhTW from '../locales/zh-TW/common.json' import zhTW from '../locales/zh-TW/common.json'
import frFR from '../locales/fr-FR/common.json' import frFR from '../locales/fr-FR/common.json'
import deDE from '../locales/de-DE/common.json'
i18n i18n
.use(LanguageDetector) .use(LanguageDetector)
@ -17,6 +18,8 @@ i18n
'zh-TW': { common: zhTW }, 'zh-TW': { common: zhTW },
fr: { common: frFR }, fr: { common: frFR },
'fr-FR': { common: frFR }, 'fr-FR': { common: frFR },
de: { common: deDE },
'de-DE': { common: deDE },
}, },
fallbackLng: 'en', fallbackLng: 'en',
interpolation: { interpolation: {