rinominati file traduzione
This commit is contained in:
@@ -10,6 +10,7 @@ import subprocess
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
tsfiles = glob.glob("..\\spex\\userInterface\\resources\\translations\\*.ts")
|
tsfiles = glob.glob("..\\spex\\userInterface\\resources\\translations\\*.ts")
|
||||||
|
print(os.getcwd())
|
||||||
for ts in tsfiles:
|
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}')
|
subprocess.run(f'lrelease.exe {ts} -qm {tso}')
|
||||||
|
|||||||
Reference in New Issue
Block a user