Actually skip the default language
This commit is contained in:
committed by
GitHub
parent
3410810c1c
commit
7bbf6b93f3
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user