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 os,glob
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
#genera i file di traduzionae da inserire nel software a runtime
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
tsfiles = glob.glob("..\\UserInterface\\resources\\translations\\*.ts")
|
tsfiles = glob.glob("..\\spex\\userInterface\\resources\\translations\\*.ts")
|
||||||
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}')
|
||||||
os.chdir("..\\SPEx\\userInterface")
|
os.chdir("..\\spex\\userInterface")
|
||||||
pass
|
pass
|
||||||
@@ -7,6 +7,8 @@ import os,glob
|
|||||||
import subprocess
|
import subprocess
|
||||||
langs = ["en"]
|
langs = ["en"]
|
||||||
|
|
||||||
|
# crea i file ts dalle interfacce, da usare solo se si e' modificato qualcosa nelle interfacce
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
uifiles = glob.glob("..\\*\\*.ui", recursive=True)
|
uifiles = glob.glob("..\\*\\*.ui", recursive=True)
|
||||||
pyfiles = ['..\\SPEx\\guimain.py','..\\SPEx\\libbananasplit\\libsplit.py','..\\SPEx\\libbananasplit\\libconfload.py']
|
pyfiles = ['..\\SPEx\\guimain.py','..\\SPEx\\libbananasplit\\libsplit.py','..\\SPEx\\libbananasplit\\libconfload.py']
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>680</width>
|
<width>680</width>
|
||||||
<height>620</height>
|
<height>622</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
@@ -445,7 +445,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>680</width>
|
<width>680</width>
|
||||||
<height>25</height>
|
<height>26</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="nativeMenuBar">
|
<property name="nativeMenuBar">
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>680</width>
|
<width>680</width>
|
||||||
<height>620</height>
|
<height>622</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
@@ -445,7 +445,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>680</width>
|
<width>680</width>
|
||||||
<height>25</height>
|
<height>26</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="nativeMenuBar">
|
<property name="nativeMenuBar">
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../../mainwindow.ui" line="398"/>
|
<location filename="../../mainwindow.ui" line="398"/>
|
||||||
<source>Avanti</source>
|
<source>Avanti</source>
|
||||||
<translation>OK</translation>
|
<translation type="unfinished">Next</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../mainwindow.ui" line="437"/>
|
<location filename="../../mainwindow.ui" line="437"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user