From 9fd207d6a9c293de210370003020359093b0b428 Mon Sep 17 00:00:00 2001 From: Emjek Cordover <556748+mjec@users.noreply.github.com> Date: Mon, 4 Dec 2023 02:53:54 -0500 Subject: [PATCH] Make Czech translation available to UI (#1057) Before this commit, the Czech translation set could not be returned from the translation set manager. --- src/common/translation/czech-translation-set.ts | 2 +- src/common/translation/translation-set-manager.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/translation/czech-translation-set.ts b/src/common/translation/czech-translation-set.ts index 612557dbc..40045ca65 100644 --- a/src/common/translation/czech-translation-set.ts +++ b/src/common/translation/czech-translation-set.ts @@ -1,6 +1,6 @@ import { TranslationSet } from "./translation-set"; -export const englishTranslationSet: TranslationSet = { +export const czechTranslationSet: TranslationSet = { trayIconShow: "Zobrazit", trayIconSettings: "Nastavení", trayIconQuit: "Ukončit", diff --git a/src/common/translation/translation-set-manager.ts b/src/common/translation/translation-set-manager.ts index b5b7777bd..b76508b5a 100644 --- a/src/common/translation/translation-set-manager.ts +++ b/src/common/translation/translation-set-manager.ts @@ -1,3 +1,4 @@ +import { czechTranslationSet } from "./czech-translation-set"; import { englishTranslationSet } from "./english-translation-set"; import { finnishTranslationSet } from "./finnish-translation-set"; import { germanTranslationSet } from "./german-translation-set"; @@ -17,6 +18,8 @@ import { ukrainianTranslationSet } from "./ukrainian-translation-set"; export function getTranslationSet(language: Language): TranslationSet { switch (language) { + case Language.Czech: + return czechTranslationSet; case Language.English: return englishTranslationSet; case Language.Finnish: