Actually skip the default language

This commit is contained in:
Vinyl Darkscratch
2017-11-20 13:02:32 -08:00
committed by GitHub
parent 3410810c1c
commit 7bbf6b93f3

View File

@@ -58,7 +58,7 @@ def update_languages(cwd, default_lang):
default = read_dict(defaultfp)
for lang in os.listdir(os.path.join(cwd, "languages")):
if lang == default_lang or lang.startswith("plural-"): continue
if lang == default_lang+".py" or lang.startswith("plural-"): continue
i18n = read_dict(os.path.join(cwd, "languages", lang))
if i18n: