aggiunti commenti, corretto bottone avanti in mainwindow

This commit is contained in:
2020-10-23 14:34:53 +02:00
parent fe24842c8e
commit de5e3302f3
5 changed files with 12 additions and 8 deletions

View File

@@ -6,10 +6,12 @@ Created on 10 apr 2020
import os,glob
import subprocess
#genera i file di traduzionae da inserire nel software a runtime
if __name__ == '__main__':
tsfiles = glob.glob("..\\UserInterface\\resources\\translations\\*.ts")
tsfiles = glob.glob("..\\spex\\userInterface\\resources\\translations\\*.ts")
for ts in tsfiles:
tso = "..\\SPEx\\userInterface\\resources\\translations\\"+os.path.splitext((os.path.split(ts)[1]))[0]+".qm"
tso = "..\\spex\\userInterface\\resources\\translations\\"+os.path.splitext((os.path.split(ts)[1]))[0]+".qm"
subprocess.run(f'lrelease.exe {ts} -qm {tso}')
os.chdir("..\\SPEx\\userInterface")
os.chdir("..\\spex\\userInterface")
pass