mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-17 13:38:18 +00:00
7379a64004
So far only done scripts directory, will do the rest if this is considered good
12 lines
310 B
Python
Executable file
12 lines
310 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)
|
|
with open(lang, "w", encoding="utf-8") as f:
|
|
f.write(content)
|