Fix typo panjabi -> punjabi.

This affects the mapping to Babel language names in the
LaTeX reader and writer.  Closes #7814.
This commit is contained in:
John MacFarlane 2022-01-07 10:07:34 -08:00
parent 4dcb2b6fb6
commit 90e74c2b76
2 changed files with 2 additions and 2 deletions

View file

@ -185,7 +185,7 @@ polyglossiaLangToBCP47 = M.fromList
, ("norsk", \_ -> simpleLang "no")
, ("nko", \_ -> simpleLang "nqo")
, ("occitan", \_ -> simpleLang "oc")
, ("panjabi", \_ -> simpleLang "pa")
, ("punjabi", \_ -> simpleLang "pa")
, ("polish", \_ -> simpleLang "pl")
, ("piedmontese", \_ -> simpleLang "pms")
, ("portuguese", \_ -> simpleLang "pt")

View file

@ -117,7 +117,7 @@ commonFromBcp47 (Lang l _ _ _ _ _) = fromIso l
fromIso "no" = "norsk"
fromIso "nqo" = "nko"
fromIso "oc" = "occitan"
fromIso "pa" = "panjabi"
fromIso "pa" = "punjabi"
fromIso "pl" = "polish"
fromIso "pms" = "piedmontese"
fromIso "pt" = "portuguese"