ddnet/scripts/languages/update_all.py
def 13a8dfa307 Add pylint
and fix occurences
2020-12-09 10:40:28 +01:00

11 lines
277 B
Python
Executable file

#!/usr/bin/env python3
import os
from copy_fix import copy_fix
import twlang
os.chdir(os.path.dirname(__file__) + "/../..")
for lang in twlang.languages():
content = copy_fix(lang, delete_unused=True, append_missing=True, delete_empty=False)
open(lang, "w").write(content)