1
0
Fork 0
mirror of synced 2024-05-03 20:23:01 +12:00
Rare/misc/ts2qm.py

6 lines
272 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 != "translation_source.ts":
os.system(f"lrelease {os.path.join(os.path.dirname(__file__), '../rare/resources/languages/', f)}")