Skip to content

Commit

Permalink
Merge pull request #148 from knuton/add-pl-cz-l10n
Browse files Browse the repository at this point in the history
Add l10n options for Czech and Polish
  • Loading branch information
stoeffel authored Dec 21, 2023
2 parents b7e6f1a + 8bf1e5c commit 7ed5e50
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions controller/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# [UNRELEASED]

## Added

- os: Added localization options for Polish and Czech

# [2023.9.0] - 2023-09-12

# [2023.9.0-VALIDATION] - 2023-09-11
Expand Down
8 changes: 6 additions & 2 deletions controller/server/gui.ml
Original file line number Diff line number Diff line change
Expand Up @@ -101,26 +101,30 @@ module LocalizationGui = struct
in
let%lwt current_lang = Locale.get_lang () in
let langs =
[ "nl_NL.UTF-8", "Dutch"
[ "cs_CZ.UTF-8", "Czech"
; "nl_NL.UTF-8", "Dutch"
; "en_UK.UTF-8", "English (UK)"
; "en_US.UTF-8", "English (US)"
; "fi_FI.UTF-8", "Finnish"
; "fr_FR.UTF-8", "French"
; "de_DE.UTF-8", "German"
; "it_IT.UTF-8", "Italian"
; "pl_PL.UTF-8", "Polish"
; "es_ES.UTF-8", "Spanish"
]
in
let%lwt current_keymap = Locale.get_keymap () in
let keymaps =
[ "nl", "Dutch"
[ "cz", "Czech"
; "nl", "Dutch"
; "gb", "English (UK)"
; "us", "English (US)"
; "fi", "Finnish"
; "fr", "French"
; "de", "German"
; "ch", "German (Switzerland)"
; "it", "Italian"
; "pl", "Polish"
; "es", "Spanish"
]
in
Expand Down

0 comments on commit 7ed5e50

Please sign in to comment.