Add loading firmware list message, fix windows-build.bat path
This commit is contained in:
parent
6031cf8213
commit
e12f27c1e1
@ -1,4 +1,4 @@
|
||||
cd ..
|
||||
cd %~dp0\..
|
||||
|
||||
if not exist build mkdir build
|
||||
|
||||
|
@ -75,9 +75,6 @@
|
||||
<property name="editable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="currentText">
|
||||
<string>master</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0" colspan="2">
|
||||
|
@ -4,30 +4,25 @@
|
||||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../luftdaten-tool.py" line="147"/>
|
||||
<location filename="../luftdaten-tool.py" line="199"/>
|
||||
<source>No boards found</source>
|
||||
<translation>Nie znaleziono płytki</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../luftdaten-tool.py" line="152"/>
|
||||
<location filename="../luftdaten-tool.py" line="204"/>
|
||||
<source>Others...</source>
|
||||
<translation>Inne...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../luftdaten-tool.py" line="181"/>
|
||||
<location filename="../luftdaten-tool.py" line="233"/>
|
||||
<source>No device selected.</source>
|
||||
<translation>Nie wybrano urządzenia.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../luftdaten-tool.py" line="185"/>
|
||||
<location filename="../luftdaten-tool.py" line="237"/>
|
||||
<source>No version selected.</source>
|
||||
<translation>Nie wybrano wersji.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../gui/mainwindow.py" line="130"/>
|
||||
<source>Luftdaten.info Flashing Tool</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../gui/mainwindow.py" line="131"/>
|
||||
<source>Board:</source>
|
||||
@ -40,58 +35,63 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../gui/mainwindow.py" line="133"/>
|
||||
<source>master</source>
|
||||
<translation>master</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../gui/mainwindow.py" line="134"/>
|
||||
<source>Upload</source>
|
||||
<translation>Wgraj</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../gui/mainwindow.py" line="135"/>
|
||||
<location filename="../gui/mainwindow.py" line="134"/>
|
||||
<source>Expert mode</source>
|
||||
<translation>Tryb eksperta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../gui/mainwindow.py" line="136"/>
|
||||
<location filename="../gui/mainwindow.py" line="135"/>
|
||||
<source>Baudrate:</source>
|
||||
<translation>Prędkość portu:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../luftdaten-tool.py" line="200"/>
|
||||
<location filename="../luftdaten-tool.py" line="252"/>
|
||||
<source>Invalid version / file does not exist</source>
|
||||
<translation>Błędna wersja / plik nie istnieje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../luftdaten-tool.py" line="205"/>
|
||||
<location filename="../luftdaten-tool.py" line="257"/>
|
||||
<source>Work in progess...</source>
|
||||
<translation>Praca w toku...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../luftdaten-tool.py" line="233"/>
|
||||
<location filename="../luftdaten-tool.py" line="284"/>
|
||||
<source>Downloading...</source>
|
||||
<translation>Pobieranie...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../luftdaten-tool.py" line="244"/>
|
||||
<location filename="../luftdaten-tool.py" line="296"/>
|
||||
<source>Connecting...</source>
|
||||
<translation>Łączenie...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../luftdaten-tool.py" line="249"/>
|
||||
<location filename="../luftdaten-tool.py" line="301"/>
|
||||
<source>Connected. Chip type: {chip_type}</source>
|
||||
<translation>Połączono. Typ układu: {chip_type}</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../luftdaten-tool.py" line="267"/>
|
||||
<location filename="../luftdaten-tool.py" line="319"/>
|
||||
<source>Writing at 0x{address:08x}...</source>
|
||||
<translation>Zapisywanie pod adresem 0x{address:08x}...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../luftdaten-tool.py" line="278"/>
|
||||
<location filename="../luftdaten-tool.py" line="330"/>
|
||||
<source>Finished in {time:.2f} seconds. Sensor ID: {sensor_id}</source>
|
||||
<translation>Zakończono w {time:.2f} sekundy. ID sensora: {sensor_id}</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../gui/mainwindow.py" line="130"/>
|
||||
<source>Luftdaten.info Flashing Tool</source>
|
||||
<translation>Luftdaten.info Flashing Tool</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../luftdaten-tool.py" line="138"/>
|
||||
<source>Loading firmware list...</source>
|
||||
<translation>Ładowanie wersji oprogramowania...</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
@ -135,6 +135,7 @@ class MainWindow(QtWidgets.QMainWindow, mainwindow.Ui_MainWindow):
|
||||
|
||||
self.i18n_init(QtCore.QLocale.system())
|
||||
|
||||
self.statusbar.showMessage(self.tr("Loading firmware list..."))
|
||||
self.firmware_list = FirmwareListThread()
|
||||
self.firmware_list.onFirmware.connect(self.populate_versions)
|
||||
self.firmware_list.start()
|
||||
|
Loading…
x
Reference in New Issue
Block a user