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

View File

@@ -7,6 +7,8 @@ import os,glob
import subprocess
langs = ["en"]
# crea i file ts dalle interfacce, da usare solo se si e' modificato qualcosa nelle interfacce
if __name__ == '__main__':
uifiles = glob.glob("..\\*\\*.ui", recursive=True)
pyfiles = ['..\\SPEx\\guimain.py','..\\SPEx\\libbananasplit\\libsplit.py','..\\SPEx\\libbananasplit\\libconfload.py']