Add LaTeX babel mappings for Guajati (gu) and Oriya (or).

Closes #7815.
This commit is contained in:
John MacFarlane 2022-01-07 10:25:34 -08:00
parent 09f2d8641f
commit d562de5039
2 changed files with 4 additions and 0 deletions

View file

@ -165,6 +165,7 @@ polyglossiaLangToBCP47 = M.fromList
, ("croatian", \_ -> simpleLang "hr")
, ("magyar", \_ -> simpleLang "hu")
, ("armenian", \_ -> simpleLang "hy")
, ("gujarati", \_ -> simpleLang "gu")
, ("interlingua", \_ -> simpleLang "ia")
, ("indonesian", \_ -> simpleLang "id")
, ("icelandic", \_ -> simpleLang "is")
@ -185,6 +186,7 @@ polyglossiaLangToBCP47 = M.fromList
, ("norsk", \_ -> simpleLang "no")
, ("nko", \_ -> simpleLang "nqo")
, ("occitan", \_ -> simpleLang "oc")
, ("oriya", \_ -> simpleLang "or")
, ("punjabi", \_ -> simpleLang "pa")
, ("polish", \_ -> simpleLang "pl")
, ("piedmontese", \_ -> simpleLang "pms")

View file

@ -89,6 +89,7 @@ commonFromBcp47 (Lang l _ _ _ _ _) = fromIso l
fromIso "gd" = "scottish"
fromIso "gez" = "ethiopic"
fromIso "gl" = "galician"
fromIso "gu" = "gujarati"
fromIso "he" = "hebrew"
fromIso "hi" = "hindi"
fromIso "hr" = "croatian"
@ -117,6 +118,7 @@ commonFromBcp47 (Lang l _ _ _ _ _) = fromIso l
fromIso "no" = "norsk"
fromIso "nqo" = "nko"
fromIso "oc" = "occitan"
fromIso "or" = "oriya"
fromIso "pa" = "punjabi"
fromIso "pl" = "polish"
fromIso "pms" = "piedmontese"