mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 19:08:26 +00:00
Prepare for selecting languages
UI language is stored in user settings for authenticated users; otherwise is only stored in the current model (not persisted).
This commit is contained in:
16
modules/webapp/src/main/elm/UiLanguage.elm
Normal file
16
modules/webapp/src/main/elm/UiLanguage.elm
Normal file
@ -0,0 +1,16 @@
|
||||
module UiLanguage exposing
|
||||
( UiLanguage(..)
|
||||
, all
|
||||
)
|
||||
|
||||
|
||||
type UiLanguage
|
||||
= English
|
||||
| German
|
||||
|
||||
|
||||
all : List UiLanguage
|
||||
all =
|
||||
[ English
|
||||
, German
|
||||
]
|
Reference in New Issue
Block a user