rinominati file traduzione

This commit is contained in:
2020-10-23 14:41:38 +02:00
parent de5e3302f3
commit efee2b786b
10 changed files with 1 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ import subprocess
if __name__ == '__main__':
tsfiles = glob.glob("..\\spex\\userInterface\\resources\\translations\\*.ts")
print(os.getcwd())
for ts in tsfiles:
tso = "..\\spex\\userInterface\\resources\\translations\\"+os.path.splitext((os.path.split(ts)[1]))[0]+".qm"
subprocess.run(f'lrelease.exe {ts} -qm {tso}')