diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-12-19 17:53:58 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-12-19 17:54:02 -0800 |
commit | 770641f741b346d992a10a227b6d7f63941f9f57 (patch) | |
tree | beedb402531fb38fcc705678806e9af4382a6797 /src/Text | |
parent | 2998618e39009e36911d261491503fb8f178ce07 (diff) | |
download | pandoc-770641f741b346d992a10a227b6d7f63941f9f57.tar.gz |
Fix language code for Czech (cs not cz)
Closes #2597.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Writers/ConTeXt.hs | 1 | ||||
-rw-r--r-- | src/Text/Pandoc/Writers/LaTeX.hs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/ConTeXt.hs b/src/Text/Pandoc/Writers/ConTeXt.hs index 6680e3003..446da142c 100644 --- a/src/Text/Pandoc/Writers/ConTeXt.hs +++ b/src/Text/Pandoc/Writers/ConTeXt.hs @@ -439,7 +439,6 @@ fromBcp47 ("en":"GB":_) = "en-gb" fromBcp47 ("grc":_) = "agr" fromBcp47 x = fromIso $ head x where - fromIso "cz" = "cs" fromIso "el" = "gr" fromIso "eu" = "ba" fromIso "he" = "il" diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index 648b09c2c..0e8564bfc 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -1182,7 +1182,7 @@ commonFromBcp47 x = fromIso $ head x fromIso "br" = "breton" fromIso "ca" = "catalan" fromIso "cy" = "welsh" - fromIso "cz" = "czech" + fromIso "cs" = "czech" fromIso "cop" = "coptic" fromIso "da" = "danish" fromIso "dv" = "divehi" |