es-ES -> es

This commit is contained in:
Damien Elmes 2020-02-22 19:47:23 +10:00
parent f8c4fb5e29
commit eae52de71e

View File

@ -18,7 +18,7 @@ langs = sorted(
("Eesti", "et_EE"),
("English (United States)", "en_US"),
("English (United Kingdom)", "en_GB"),
("Español", "es_ES"),
("Español", "es"),
("Esperanto", "eo_UY"),
("Euskara", "eu_ES"),
("Français", "fr_FR"),
@ -72,7 +72,6 @@ compatMap = {
"el": "el_GR",
"en": "en_US",
"eo": "eo_UY",
"es": "es_ES",
"et": "et_EE",
"eu": "eu_ES",
"fa": "fa_IR",
@ -117,7 +116,6 @@ def lang_to_disk_lang(lang: str) -> str:
# these language/region combinations are fully qualified, but with a hyphen
if lang in (
"en_GB",
"es_ES",
"ga_IE",
"hy_AM",
"nb_NO",