Don't create an english translation file

This commit is contained in:
Yohann D'ANELLO 2021-01-21 01:12:55 +01:00
parent 99b749aaa2
commit 3d019d3ca8
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -25,6 +25,8 @@ class Translator:
Loads compiled translations.
"""
for language in cls.SUPPORTED_LOCALES:
if language == "en":
continue
rep = Path(__file__).parent / "locale" / language / "LC_MESSAGES"
rep.mkdir(parents=True) if not rep.is_dir() else None
if os.path.isfile(rep / "squirrelbattle.mo"):