summaryrefslogtreecommitdiff
path: root/elm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2022-08-26 10:20:17 +0200
committerYorhel <git@yorhel.nl>2022-08-26 10:20:17 +0200
commit007e7d1c6839c55f578a5db10c3536c12327f06b (patch)
tree59e1fa0347d6d87fdb0275d88884d92aa2a9c3c6 /elm
parent69d7e974cc1776cea5af36c09b0b8fe499d8bc79 (diff)
VNEdit: Require simplified/traditional specification in Chinese language editions
Diffstat (limited to 'elm')
-rw-r--r--elm/VNEdit.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/elm/VNEdit.elm b/elm/VNEdit.elm
index d95b2cdc..e2af02f3 100644
--- a/elm/VNEdit.elm
+++ b/elm/VNEdit.elm
@@ -555,7 +555,7 @@ view model =
div [style "margin" "5px 0 0 15px"]
[ inputText "" e.name (EditionName (searchn-1)) (placeholder "Edition title" :: style "width" "300px" :: onInvalid (Invalid Staff) :: GVE.valEditionsName)
, inputSelect "" e.lang (EditionLang (searchn-1)) [style "width" "150px"]
- ((Nothing, "Original language") :: List.map (\(i,l) -> (Just i, l)) GT.languages)
+ ((Nothing, "Original language") :: List.map (\(i,l) -> (Just i, l)) (List.filter (\(l,_) -> l /= "zh") GT.languages))
, text " ", label [] [ inputCheck "" e.official (EditionOfficial (searchn-1)), text " official" ]
, inputButton "remove edition" (EditionDel (searchn-1) e.eid) [style "margin-left" "30px"]
]