From 14b594f8feba8c44d72941b4464e8fc038b4d537 Mon Sep 17 00:00:00 2001 From: Maroxy Date: Wed, 29 Dec 2021 13:33:42 +0100 Subject: [PATCH] Add German --- public/locales/de-de.yaml | 94 +++++++++++++++++++++++++++++++++++++++ public/locales/en-us.yaml | 1 + public/locales/ru-ru.yaml | 1 + src/i18n.ts | 1 + src/ts/core/Locales.ts | 3 +- 5 files changed, 99 insertions(+), 1 deletion(-) create mode 100644 public/locales/de-de.yaml diff --git a/public/locales/de-de.yaml b/public/locales/de-de.yaml new file mode 100644 index 0000000..a0c2a68 --- /dev/null +++ b/public/locales/de-de.yaml @@ -0,0 +1,94 @@ +# Splash window +splash: + title: Starte Launcher + phrases: + - Bruder, lass uns Genshin Impact spielen... + - Paimon am ärgern... + - Versuche Yae zu ziehen... + +# Settings window +settings: + # General + general: + title: General + items: + # Language selection + lang: + # Launcher language + launcher: + title: Launcher + items: + en-us: English (US) + ru-ru: Русский + de-de: Deutsch + + # Game voice pack language + voice: + title: Sprachpaket + tooltip: Bitte wähle im Spiel das Sprachpaket aus um es zu benutzen + items: + en-us: English (US) + ja-jp: Japanese + ko-kr: Korean + zn-cn: Chinese + + # Launcher theme + theme: + title: Thema + items: + system: System + light: Hell + dark: Dunkel + + discord: Discord RPC + dxvks: DXVK + + # Enhancements + enhancements: + title: Verbesserungen + items: + # HUD + hud: + title: HUD + items: + none: None + dxvk: DXVK + mangohud: MangoHUD + + # GameMode + gamemode: + title: Benutze GameMode + tooltip: GameMode ist ein Program welches die Leistung verbessert + + # Unlock FPS + fps_unlocker: + title: Entsperre FPS + tooltip: Diese option entsperrt/entfernt die 60 FPS limiterung + + # Delete DXVK logs + purge_dxvk_logs: + title: DXVK logs löschen + tooltip: When diese option angeschaltet ist löscht + der Launcher automatisch alle DXVK logs + + # Runners + runners: + title: Wine version + items: + recommended: Nur empfohlene anzeigen + + # DXVKs + dxvks: + title: DXVK + items: + recommended: Nur empfohlene anzeigen + + # Shaders + shaders: + title: Shaders + items: + shaders: + title: Shaders + tooltip: Benutze die Home/POS1 taste um die Shader in-spiel zu togglen + items: + none: None \ No newline at end of file diff --git a/public/locales/en-us.yaml b/public/locales/en-us.yaml index 0cc8168..f2f917d 100644 --- a/public/locales/en-us.yaml +++ b/public/locales/en-us.yaml @@ -20,6 +20,7 @@ settings: items: en-us: English (US) ru-ru: Русский + de-de: Deutsch # Game voice pack language voice: diff --git a/public/locales/ru-ru.yaml b/public/locales/ru-ru.yaml index 9e44bb4..8a21cf7 100644 --- a/public/locales/ru-ru.yaml +++ b/public/locales/ru-ru.yaml @@ -20,6 +20,7 @@ settings: items: en-us: English (US) ru-ru: Русский + de-de: Deutsch # Язык озвучки в игре voice: diff --git a/src/i18n.ts b/src/i18n.ts index 16d5f78..a31bde4 100644 --- a/src/i18n.ts +++ b/src/i18n.ts @@ -4,6 +4,7 @@ import Locales from './ts/core/Locales'; register('en-us', () => Locales.get('en-us')); register('ru-ru', () => Locales.get('ru-ru')); +register('de-de', () => Locales.get('de-de')); Locales.default().then((locale) => { init({ diff --git a/src/ts/core/Locales.ts b/src/ts/core/Locales.ts index f72f88f..36da448 100644 --- a/src/ts/core/Locales.ts +++ b/src/ts/core/Locales.ts @@ -6,7 +6,8 @@ import Configs from '../Configs'; type AvailableLocales = | 'en-us' - | 'ru-ru'; + | 'ru-ru' + | 'de-de'; declare const Neutralino;