From cc817e46842fc90d1d93673dee0d6d6127541cc6 Mon Sep 17 00:00:00 2001 From: Emanuele Date: Fri, 23 Oct 2020 14:47:22 +0200 Subject: [PATCH] rigenerata traduzione mainwindow --- SPEx/scripts/releaseLanguages.py | 6 +++--- .../resources/translations/mainwindow_en.qm | Bin 1568 -> 1572 bytes 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SPEx/scripts/releaseLanguages.py b/SPEx/scripts/releaseLanguages.py index 9c38612..5e4d4ca 100644 --- a/SPEx/scripts/releaseLanguages.py +++ b/SPEx/scripts/releaseLanguages.py @@ -9,10 +9,10 @@ import subprocess #genera i file di traduzionae da inserire nel software a runtime if __name__ == '__main__': - tsfiles = glob.glob("..\\spex\\userInterface\\resources\\translations\\*.ts") + tsfiles = glob.glob("..\\spex\\userInterface\\resources\\translations\\*.qt.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}') + tso = "..\\spex\\userInterface\\resources\\translations\\"+os.path.splitext((os.path.split(ts)[1]))[0].split(".")[0]+".qm" + subprocess.run(f'C:\\Qt\\5.12.2\\mingw73_64\\bin\\lrelease.exe {ts} -qm {tso}') os.chdir("..\\spex\\userInterface") pass \ No newline at end of file diff --git a/SPEx/spex/userInterface/resources/translations/mainwindow_en.qm b/SPEx/spex/userInterface/resources/translations/mainwindow_en.qm index 3a43d0aaf796543efe0d3d93fafcc8f0d41c0aad..307cf3cbca82f07088d5f654774fdd87f14b69cb 100644 GIT binary patch delta 184 zcmZ3$vxH}YPW?d!mNy0r3{3kOLXRC}U|`N*c<}WL0|SdXbL);$Am5UO;Ytbv1FINI zPwPqs28I@vDNP4};( z6avLrF7hP)T>;eZ#nZ+E#Rc<}WL0|SdPbL);$Am5aQ;Ytbv1FH~A zPwPqs28I@vDNP4};@4OgymA4mOJr+glLYdYa?NN~Wnf@@%Joh9DUhz;eZ#nZ+E