mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-04 10:29:34 +00:00
add khmer lang
This commit is contained in:
parent
7c6fc5dadd
commit
71548b93a7
@ -36,7 +36,7 @@ object Language {
|
||||
case object German extends NLPLanguage {
|
||||
val iso2 = "de"
|
||||
val iso3 = "deu"
|
||||
}
|
||||
}
|
||||
|
||||
case object English extends NLPLanguage {
|
||||
val iso2 = "en"
|
||||
@ -73,6 +73,11 @@ object Language {
|
||||
val iso3 = "ces"
|
||||
}
|
||||
|
||||
case object Khmer extends Language {
|
||||
val iso2 = "kh"
|
||||
val iso3 = "khm"
|
||||
}
|
||||
|
||||
case object Danish extends Language {
|
||||
val iso2 = "da"
|
||||
val iso3 = "dan"
|
||||
@ -166,7 +171,8 @@ object Language {
|
||||
Lithuanian,
|
||||
Polish,
|
||||
Estonian,
|
||||
Ukrainian
|
||||
Ukrainian,
|
||||
Khmer
|
||||
)
|
||||
|
||||
def fromString(str: String): Either[String, Language] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user