Remove workaround for listing English locale

This commit is contained in:
Daniel Markstedt 2023-11-03 20:35:27 +09:00
parent b69c039a0c
commit a3d422dd1e
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ def get_supported_locales():
"""
locales = [
{"language": x.language, "display_name": x.display_name}
for x in [*BABEL.list_translations(), Locale("en")]
for x in [*BABEL.list_translations()]
]
return sorted(locales, key=lambda x: x["language"])