Skip to content

Commit

Permalink
Make Czech translation available to UI (#1057)
Browse files Browse the repository at this point in the history
Before this commit, the Czech translation set could not be
returned from the translation set manager.
  • Loading branch information
mjec authored Dec 4, 2023
1 parent 100d9f9 commit 9fd207d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/translation/czech-translation-set.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TranslationSet } from "./translation-set";

export const englishTranslationSet: TranslationSet = {
export const czechTranslationSet: TranslationSet = {
trayIconShow: "Zobrazit",
trayIconSettings: "Nastavení",
trayIconQuit: "Ukončit",
Expand Down
3 changes: 3 additions & 0 deletions src/common/translation/translation-set-manager.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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:
Expand Down

0 comments on commit 9fd207d

Please sign in to comment.