aggiunti commenti, corretto bottone avanti in mainwindow
This commit is contained in:
@@ -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
|
||||
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user