mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
11 lines
283 B
Python
11 lines
283 B
Python
|
#!/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)
|