diff --git a/SPEx/scripts/releaseLanguages.py b/SPEx/scripts/releaseLanguages.py
index a3aeb7f..49f363f 100644
--- a/SPEx/scripts/releaseLanguages.py
+++ b/SPEx/scripts/releaseLanguages.py
@@ -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
\ No newline at end of file
diff --git a/SPEx/scripts/updateLanguages.py b/SPEx/scripts/updateLanguages.py
index 68e9151..b61ec97 100644
--- a/SPEx/scripts/updateLanguages.py
+++ b/SPEx/scripts/updateLanguages.py
@@ -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']
diff --git a/SPEx/spex/UserInterface/mainwindow.ui b/SPEx/spex/UserInterface/mainwindow.ui
index 068259e..dd4453b 100644
--- a/SPEx/spex/UserInterface/mainwindow.ui
+++ b/SPEx/spex/UserInterface/mainwindow.ui
@@ -10,7 +10,7 @@
0
0
680
- 620
+ 622
@@ -445,7 +445,7 @@ p, li { white-space: pre-wrap; }
0
0
680
- 25
+ 26
diff --git a/SPEx/spex/userInterface/mainwindow.ui b/SPEx/spex/userInterface/mainwindow.ui
index 068259e..dd4453b 100644
--- a/SPEx/spex/userInterface/mainwindow.ui
+++ b/SPEx/spex/userInterface/mainwindow.ui
@@ -10,7 +10,7 @@
0
0
680
- 620
+ 622
@@ -445,7 +445,7 @@ p, li { white-space: pre-wrap; }
0
0
680
- 25
+ 26
diff --git a/SPEx/spex/userInterface/resources/translations/mainwindow_en.ts b/SPEx/spex/userInterface/resources/translations/mainwindow_en.ts
index a9438ff..4b3b15e 100644
--- a/SPEx/spex/userInterface/resources/translations/mainwindow_en.ts
+++ b/SPEx/spex/userInterface/resources/translations/mainwindow_en.ts
@@ -78,7 +78,7 @@ p, li { white-space: pre-wrap; }
Avanti
- OK
+ Next