2021-10-25 09:51:38 +13:00
|
|
|
import os
|
|
|
|
|
2021-12-11 12:57:18 +13:00
|
|
|
for f in os.listdir(os.path.join(os.path.dirname(__file__), "../rare/resources/languages/")):
|
2021-12-23 06:01:50 +13:00
|
|
|
if f.endswith(".ts") and f != "translation_source.ts":
|
2021-12-11 12:57:18 +13:00
|
|
|
os.system(f"lrelease {os.path.join(os.path.dirname(__file__), '../rare/resources/languages/', f)}")
|