1
0
Fork 0
mirror of synced 2024-06-06 12:44:44 +12:00
Rare/misc/ts2qm.py
2021-12-11 00:57:18 +01:00

6 lines
265 B
Python

import os
for f in os.listdir(os.path.join(os.path.dirname(__file__), "../rare/resources/languages/")):
if f.endswith(".ts") and f != "placeholder.ts":
os.system(f"lrelease {os.path.join(os.path.dirname(__file__), '../rare/resources/languages/', f)}")