Skip to content

Commit

Permalink
Directly enable the new variants
Browse files Browse the repository at this point in the history
  • Loading branch information
diox committed Jan 10, 2025
1 parent 60ef7a2 commit f4db40a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/olympia/core/languages.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
'en-CA': {'english': 'English (Canadian)', 'native': 'English (Canadian)'},
'en-GB': {'english': 'English (British)', 'native': 'English (British)'},
'en-US': {'english': 'English (US)', 'native': 'English (US)'},
'es': {'english': 'Spanish', 'native': 'Espa\xf1ol'},
'es-AR': {'english': 'Spanish (Argentina)', 'native': 'Espa\xf1ol (de Argentina)'},
'es-CL': {'english': 'Spanish (Chile)', 'native': 'Espa\xf1ol (de Chile)'},
'es-ES': {'english': 'Spanish (Spain)', 'native': 'Espa\xf1ol (de Espa\xf1a)'},
'es-MX': {'english': 'Spanish (Mexico)', 'native': 'Espa\xf1ol (de M\xe9xico)'},
'et': {'english': 'Estonian', 'native': 'Eesti keel'},
'eu': {'english': 'Basque', 'native': 'Euskara'},
'fa': {'english': 'Persian', 'native': '\u0641\u0627\u0631\u0633\u06cc'},
Expand Down Expand Up @@ -144,10 +147,6 @@
'native': 'English (South African)',
},
'eo': {'english': 'Esperanto', 'native': 'Esperanto'},
'es-AR': {'english': 'Spanish (Argentina)', 'native': 'Espa\xf1ol (de Argentina)'},
'es-CL': {'english': 'Spanish (Chile)', 'native': 'Espa\xf1ol (de Chile)'},
'es-ES': {'english': 'Spanish (Spain)', 'native': 'Espa\xf1ol (de Espa\xf1a)'},
'es-MX': {'english': 'Spanish (Mexico)', 'native': 'Espa\xf1ol (de M\xe9xico)'},
'ff': {'english': 'Fulah', 'native': 'Pulaar-Fulfulde'},
'fj-FJ': {'english': 'Fijian', 'native': 'Vosa vaka-Viti'},
'fur-IT': {'english': 'Friulian', 'native': 'Furlan'},
Expand Down
1 change: 1 addition & 0 deletions src/olympia/lib/settings_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ def get_db_config(environ_var, atomic_requests=True):
# Explicit conversion of a shorter language code into a more specific one.
SHORTER_LANGUAGES = {
'en': 'en-US',
'es': 'es-ES',
'ga': 'ga-IE',
'pt': 'pt-PT',
'sv': 'sv-SE',
Expand Down

0 comments on commit f4db40a

Please sign in to comment.