From 770641f741b346d992a10a227b6d7f63941f9f57 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 19 Dec 2015 17:53:58 -0800 Subject: Fix language code for Czech (cs not cz) Closes #2597. --- src/Text/Pandoc/Writers/ConTeXt.hs | 1 - src/Text/Pandoc/Writers/LaTeX.hs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Text') 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" -- cgit v1.2.3