Merge branch 'fix-yay' into 'master'
Don't create an english translation file See merge request ynerant/squirrel-battle!80
This commit is contained in:
commit
284a22c92e
@ -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"):
|
||||
|
Loading…
Reference in New Issue
Block a user