locale: Change locale_alias for Esperanto

The locale_alias dictionary in locale.py maps to locales that do not
exist in glibc. This commit changes all keys to the sole existing
Esperanto locale.
This commit is contained in:
Carmen Bianca Bakker 2020-01-08 02:47:20 +01:00
parent b821173b54
commit 4028da822f
No known key found for this signature in database
GPG Key ID: 76EBA6F6B6EA2EC9
2 changed files with 6 additions and 4 deletions

View File

@ -1025,11 +1025,11 @@ locale_alias = {
'english_united-states': 'en_US.ISO8859-1',
'english_united-states.437': 'C',
'english_us': 'en_US.ISO8859-1',
'eo': 'eo_XX.ISO8859-3',
'eo': 'eo.UTF-8',
'eo.utf8': 'eo.UTF-8',
'eo_eo': 'eo_EO.ISO8859-3',
'eo_us.utf8': 'eo_US.UTF-8',
'eo_xx': 'eo_XX.ISO8859-3',
'eo_eo': 'eo.UTF-8',
'eo_us.utf8': 'eo.UTF-8',
'eo_xx': 'eo.UTF-8',
'es': 'es_ES.ISO8859-1',
'es_ar': 'es_AR.ISO8859-1',
'es_bo': 'es_BO.ISO8859-1',

View File

@ -0,0 +1,2 @@
Replaced incorrect Esperanto locales with the only existent glibc locale for
Esperanto (eo.UTF-8) in the mappings in locale.py.