git.iko.soy/typeable/pandoc
on master help sign in
Fix language code for Czech (cs not cz)

Closes #2597.

commit770641f741b346d992a10a227b6d7f63941f9f57 authorJohn MacFarlane <jgm@berkeley.edu> dateSat 19 Dec 2015, 17:53 (11 years ago) parent2998618
2 files changed+1−2
src/Text/Pandoc/Writers/ConTeXt.hs−1 src/Text/Pandoc/Writers/LaTeX.hs+1−1
src/Text/Pandoc/Writers/ConTeXt.hs−1
@@ -439,7 +439,6 @@ fromBcp47 ("en":"GB":_) = "en-gb"
439439fromBcp47 ("grc":_) = "agr"
440440fromBcp47 x = fromIso $ head x
441441 where
442− fromIso "cz" = "cs"
443442 fromIso "el" = "gr"
444443 fromIso "eu" = "ba"
445444 fromIso "he" = "il"
src/Text/Pandoc/Writers/LaTeX.hs+1−1
@@ -1182,7 +1182,7 @@ commonFromBcp47 x = fromIso $ head x
11821182 fromIso "br" = "breton"
11831183 fromIso "ca" = "catalan"
11841184 fromIso "cy" = "welsh"
1185− fromIso "cz" = "czech"
1185+ fromIso "cs" = "czech"
11861186 fromIso "cop" = "coptic"
11871187 fromIso "da" = "danish"
11881188 fromIso "dv" = "divehi"