mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-04 10:29:34 +00:00
add khmer lang to ui
This commit is contained in:
parent
3511e1ef19
commit
7c6fc5dadd
@ -36,6 +36,7 @@ type Language
|
||||
| Polish
|
||||
| Estonian
|
||||
| Ukrainian
|
||||
| Khmer
|
||||
|
||||
|
||||
fromString : String -> Maybe Language
|
||||
@ -106,6 +107,9 @@ fromString str =
|
||||
else if str == "ukr" || str == "uk" || str == "ukrainian" then
|
||||
Just Ukrainian
|
||||
|
||||
else if str == "khm" || str == "kh" || str == "khmer" then
|
||||
Just Khmer
|
||||
|
||||
else
|
||||
Nothing
|
||||
|
||||
@ -179,6 +183,9 @@ toIso3 lang =
|
||||
Ukrainian ->
|
||||
"ukr"
|
||||
|
||||
Khmer ->
|
||||
"khm"
|
||||
|
||||
|
||||
all : List Language
|
||||
all =
|
||||
@ -204,4 +211,5 @@ all =
|
||||
, Polish
|
||||
, Estonian
|
||||
, Ukrainian
|
||||
, Khmer
|
||||
]
|
||||
|
@ -83,6 +83,9 @@ gb lang =
|
||||
Ukrainian ->
|
||||
"Ukrainian"
|
||||
|
||||
Khmer ->
|
||||
"Khmer"
|
||||
|
||||
|
||||
de : Language -> String
|
||||
de lang =
|
||||
@ -153,6 +156,9 @@ de lang =
|
||||
Ukrainian ->
|
||||
"Ukrainisch"
|
||||
|
||||
Khmer ->
|
||||
"Khmer"
|
||||
|
||||
|
||||
fr : Language -> String
|
||||
fr lang =
|
||||
@ -222,3 +228,6 @@ fr lang =
|
||||
|
||||
Ukrainian ->
|
||||
"Ukrainien"
|
||||
|
||||
Khmer ->
|
||||
"Khmer"
|
||||
|
Loading…
x
Reference in New Issue
Block a user