"))
self.lbl_lbl_version_control.setText(_translate("diag_revpiinfo", "Version:"))
- self.lbl_version_control.setText(_translate("diag_revpiinfo", "0.0.0"))
self.lbl_info.setText(_translate("diag_revpiinfo", "RevPiModIO, RevPiPyLoad and RevPiPyControl are community driven projects. They are all free and open source software.\n"
"All of them comes with ABSOLUTELY NO WARRANTY, to the extent permitted by\n"
"applicable law.\n"
diff --git a/include/ui/simulator_ui.py b/include/ui/simulator_ui.py
index 31e2bee..3035b0d 100644
--- a/include/ui/simulator_ui.py
+++ b/include/ui/simulator_ui.py
@@ -79,12 +79,15 @@ class Ui_diag_simulator(object):
self.verticalLayout_2.addWidget(self.txt_info)
self.verticalLayout.addWidget(self.gb_info)
self.btn_start_pictory = QtWidgets.QPushButton(diag_simulator)
+ self.btn_start_pictory.setShortcut("Ctrl+1")
self.btn_start_pictory.setObjectName("btn_start_pictory")
self.verticalLayout.addWidget(self.btn_start_pictory)
self.btn_start_empty = QtWidgets.QPushButton(diag_simulator)
+ self.btn_start_empty.setShortcut("Ctrl+2")
self.btn_start_empty.setObjectName("btn_start_empty")
self.verticalLayout.addWidget(self.btn_start_empty)
self.btn_start_nochange = QtWidgets.QPushButton(diag_simulator)
+ self.btn_start_nochange.setShortcut("Ctrl+3")
self.btn_start_nochange.setObjectName("btn_start_nochange")
self.verticalLayout.addWidget(self.btn_start_nochange)
@@ -108,21 +111,18 @@ class Ui_diag_simulator(object):
self.gb_settings.setTitle(_translate("diag_simulator", "Simulator settings"))
self.lbl_history.setText(_translate("diag_simulator", "Last used:"))
self.lbl_configrsc.setText(_translate("diag_simulator", "piCtory file:"))
- self.btn_configrsc.setText(_translate("diag_simulator", "change..."))
+ self.btn_configrsc.setText(_translate("diag_simulator", "select..."))
self.lbl_procimg.setText(_translate("diag_simulator", "Process image:"))
self.lbl_stop.setText(_translate("diag_simulator", "Stop action:"))
self.lbl_restart.setText(_translate("diag_simulator", "Restart action:"))
- self.cbx_stop_remove.setText(_translate("diag_simulator", "Remove process image"))
+ self.cbx_stop_remove.setText(_translate("diag_simulator", "Remove process image file"))
self.rb_restart_pictory.setText(_translate("diag_simulator", "Restore piCtory default values"))
self.rb_restart_zero.setText(_translate("diag_simulator", "Reset everything to ZERO"))
self.gb_info.setTitle(_translate("diag_simulator", "RevPiModIO integration"))
- self.lbl_info.setText(_translate("diag_simulator", "You can work with this simulator if your call RevPiModIO with this additional parameters:"))
+ self.lbl_info.setText(_translate("diag_simulator", "You can work with this simulator if you call RevPiModIO with this additional parameters:"))
self.btn_start_pictory.setText(_translate("diag_simulator", "Start with piCtory default values"))
- self.btn_start_pictory.setShortcut(_translate("diag_simulator", "Ctrl+1"))
self.btn_start_empty.setText(_translate("diag_simulator", "Start with empty process image"))
- self.btn_start_empty.setShortcut(_translate("diag_simulator", "Ctrl+2"))
self.btn_start_nochange.setText(_translate("diag_simulator", "Start without changing actual process image"))
- self.btn_start_nochange.setShortcut(_translate("diag_simulator", "Ctrl+3"))
if __name__ == "__main__":
diff --git a/include/ui_dev/revpiinfo.ui b/include/ui_dev/revpiinfo.ui
index 8bc6020..3741da4 100644
--- a/include/ui_dev/revpiinfo.ui
+++ b/include/ui_dev/revpiinfo.ui
@@ -56,7 +56,7 @@
- 0.0.0
+ 0.0.0Qt::AlignCenter
@@ -108,7 +108,7 @@
- 0.0.0
+ 0.0.0
diff --git a/include/ui_dev/simulator.ui b/include/ui_dev/simulator.ui
index d08cb7e..f7a549c 100644
--- a/include/ui_dev/simulator.ui
+++ b/include/ui_dev/simulator.ui
@@ -92,7 +92,7 @@
- Remove process image
+ Remove process image file
@@ -125,7 +125,7 @@
- You can work with this simulator if your call RevPiModIO with this additional parameters:
+ You can work with this simulator if you call RevPiModIO with this additional parameters:true
@@ -154,7 +154,7 @@
Start with piCtory default values
- Ctrl+1
+ Ctrl+1
@@ -164,7 +164,7 @@
Start with empty process image
- Ctrl+2
+ Ctrl+2
@@ -174,7 +174,7 @@
Start without changing actual process image
- Ctrl+3
+ Ctrl+3
diff --git a/revpicommander/loc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8%5~ORst63~{&KBbZE;d-UGb46*FeKiNb=k%#po
zdcI;vee_n<60WD~W54JAic$KqooCs-KGCl(Xr?w+>eo)bLDiS(s~0h{74!9bH)XLe
zYxQk=uhQ-~H+uYA9xsW`o9L;Uc}=Fu}0%)SHZRyrFdk4UbGP92OX_l`k2kUo(N{nvDJXk0t#}#^CiM
z*?g78h-tliey$mxJxw?F3^v9;d_5YM8q25q0zntu7!~KnoJq#2^KpD%PZ}>BAi>9e
zG5+}QSHRc?llKFGH8^LcDd2IL0(fAW@Mj30lXO#D*c?8*Pn#0*nBZEoDRJ3ZdeUo}
zIlqnQXH@0=6`p0Dy~1rTiNe1(Kp
z1)6ThF_QB>F{^I!Th|QS8ns=ECuV_^jlZtLl!@;8W%u
zcWW8qapw2Obn;!CWxKhJLQMgQghdJ4?!3nWKXyx;`vE
z>ZehMh44>awEYQJ;kG|jLWF$nk;mkBy?tC4b}7wrip$^`gG@M(k2IuX0Y{l~Ps?TN
zSWHDO7IHP4`*v861RI7R2aCCq#&fy6V?hB&X&gCZ{}?adN0S_B`HsIm%C;2PhU6^H
SPIKhu%hnb@SLg>3%D(_tEj^F`
diff --git a/revpicommander/locale/revpicommander_de.ts b/revpicommander/locale/revpicommander_de.ts
index 51f7eea..232f577 100644
--- a/revpicommander/locale/revpicommander_de.ts
+++ b/revpicommander/locale/revpicommander_de.ts
@@ -179,115 +179,93 @@ Ungesicherte Änderungen gehen verloren.
RevPiCommander
-
- Select downloaded piCtory file...
- Heruntergeladene piCtory Datei auswählen...
-
-
-
- piCtory file (*.rsc);;All files (*.*)
- piCtory Datei (*.rsc);;Alle Dateien (*.*)
-
-
-
+ Simulator started...Simulator gestartet...
-
+ Can not start...Kann nicht gestartet werden...
-
- Can not start the simulator! Maybe the piCtory file is corrupt or you can not write to the location '{0}'.
- Kann Simulator nicht starten! Vielleicht ist die piCtory Datei defekt oder es gibt keine Schreibberechtigung in '{0}`.
-
-
-
+ WarningWarnung
-
+ This version of Logviewer ist not supported in version {0} of RevPiPyLoad on your RevPi! You need at least version 0.4.1.Diese Version vom Logbetrachter wird in RevPiPyLoad Version {0} nicht unterstützt! Es wird mindestens Version 0.4.1 benötigt.
-
+ XML-RPC access mode in the RevPiPyLoad configuration is too small to access this dialog!XML-RPC Zugriffsberechtigung in der RevPiPyLoad Konfiguraiton ist zu klein für diese Einstellungen!
-
+ ErrorFehler
-
+ The Version of RevPiPyLoad on your Revolution Pi ({0}) is to old. This Version of RevPiCommander require at least version 0.6.0 of RevPiPyLoad. Please update your Revolution Pi!Die Version von RevPiPyLoad ({0}) auf dem Revolution Pi ist zu alt. Diese Version vom RevPiCommander braucht mindestens Version 0.6.0. Bitte aktualisiere deinen Revolution Pi!
-
+ QuestionFrage
-
+ Are you sure to reset piControl?
The pictory configuration will be reloaded. During that time the process image will be interrupted and could rise errors on running control programs!Soll piControl wirklich zurückgesetzt werden?
Die piCtory Konfiguration wird neu geladen. Das Prozessabbild wird in dieser Zeit nicht verfügbar sein und es könnten Fehler in Steuerungsprogrammen ausgelöst werden!
-
+ SuccessErfolgreich
-
+ piControl reset executed successfullypiControl wurde erfolgreich zurückgesetzt
-
+ piControl reset could not be executed successfullypiControl konnte nicht zurückgesetzt werden
-
+ Reset to piCtory defaults...Standardwerte von piCtory laden...
-
- Do you want to reset your process image to piCtory default values?
-You have to stop other RevPiModIO programs before doing that, because they could reset the outputs.
- Soll das virtuelle Prozessabbild auf die piCtory Standardwerte zurückgesetzt werden?
-Es sollten alle RevPiModIO Programme vorher beendet werden, da diese ihre IO Werte sofort wieder schreiben würden.
-
-
-
+ The watch mode ist not supported in version {0} of RevPiPyLoad on your RevPi! You need at least version 0.5.3! Maybe the python3-revpimodio2 module is not installed on your RevPi at least version 2.0.0.Der SPS Betrachter ist in Version {0} von RevPiPyLoad auf dem Rev Pi nicht unterstützt! Es muss mindestens Version 0.5.3 installiert sein! Vielleicht fehlt auch das python3-revpimodio2 Modul, welches mindestens Version 2.0.0 haben muss.
-
+ Can not load this function, because your ACL level is to low!
You need at least level 1 to read or level 3 to write.Für diese Funktion ist das Berechtigungslevel zu gering!
Es muss mindestens Level 1 zum Lesen oder Level 3 zu Schreiben sein.
-
+ Can not load piCtory configuration.
Did you create a hardware configuration? Please check this in piCtory!Kann piCtory Konfiguration nicht laden.
Wurde eine Hardwarekonfiguration in piCtory erzeugt?
-
+ Can not connect to RevPi XML-RPC Service!
This could have the following reasons: The RevPi is not online, the XML-RPC service is not running / bind to localhost or the ACL permission is not set for your IP!!!
@@ -300,7 +278,7 @@ Das kann eine der folgenden Ursachen haben: Der Rev Pi ist nicht online, der XML
Führe 'sudo revpipyload_secure_installation' auf dem Revolution Pi aus um diese Funktion zu konfigurieren!
-
+ The simulator is running!
You can work with this simulator if your call RevPiModIO with this additional parameters:
@@ -316,6 +294,28 @@ configrsc={1}
Dies kann aus der Textbox oben kopiert werden.
+
+
+ Can not start the simulator! Maybe the piCtory file is corrupt or you have no write permissions for '{0}'.
+ Kann Simulator nicht starten! Vielleicht ist die piCtory Datei defekt oder es gibt keine Schreibberechtigung für '{0}`.
+
+
+
+ Do you want to reset your process image to {0} values?
+You have to stop other RevPiModIO programs before doing that, because they could reset the outputs.
+ Soll das virtuelle Prozessabbild auf {0} zurückgesetzt werden?
+Es sollten alle RevPiModIO Programme vorher beendet werden, da diese ihre IO Werte sofort wieder schreiben würden.
+
+
+
+ zero
+ null
+
+
+
+ piCtory default
+ piCtory Standardwerte
+ RevPiFiles
@@ -559,17 +559,17 @@ Ungesicherte Änderungen gehen verloren.
RevPiPlcList
-
+ New connectionNeue Verbindung
-
+ QuestionFrage
-
+ Do you really want to quit?
Unsaved changes will be lost.Soll das Fenster wirklich geschlossen werden?
@@ -848,6 +848,19 @@ Dies ist kein Fehler, wenn das SPS Startprogramm bereits auf dem Rev Pi ist. Pr
{0}.
+
+ Simulator
+
+
+ Select downloaded piCtory file...
+ Heruntergeladene piCtory Datei auswählen...
+
+
+
+ piCtory file (*.rsc);;All files (*.*)
+ piCtory Datei (*.rsc);;Alle Dateien (*.*)
+
+diag_aclmanager
@@ -1314,11 +1327,6 @@ For example: revpi0000/data
RevPiPyLoad version on RevPi:RevPiPyLoad Version auf RevPi:
-
-
- 0.0.0
-
- <html><head/><body><p><a href="https://revpimodio.org/"><span style=" text-decoration: underline; color:#0000ff;">https://revpimodio.org/</span></a></p></body></html>
@@ -1387,6 +1395,89 @@ applicable law.
Zero-conf Name
+
+ diag_simulator
+
+
+ piControl simulator
+ piControl Simulator
+
+
+
+ Simulator settings
+ Simulatoreinstellungen
+
+
+
+ Last used:
+ Zuletzt verwendet:
+
+
+
+ piCtory file:
+ piCtory Datei:
+
+
+
+ select...
+ auswählen...
+
+
+
+ Process image:
+ Prozessabbild:
+
+
+
+ Stop action:
+ Stopaktion:
+
+
+
+ Restart action:
+ Neustartaktion:
+
+
+
+ Restore piCtory default values
+ piCtory Standardwerte setzen
+
+
+
+ Reset everything to ZERO
+ Alles auf NULL setzen
+
+
+
+ RevPiModIO integration
+ RevPiModIO Integration
+
+
+
+ Start with piCtory default values
+ Start mit piCtory Standardwerten
+
+
+
+ Start with empty process image
+ Start mit leerem Prozessabbild
+
+
+
+ Start without changing actual process image
+ Start ohne Veränderung des Prozessabbilds
+
+
+
+ Remove process image file
+ Prozessabbilddatei löschen
+
+
+
+ You can work with this simulator if you call RevPiModIO with this additional parameters:
+ Mit diesem Simulator kann gearbeitet werden, indem zum Aufruf von RevPiModIO folgende Parameter hinzugefügt werden:
+
+wid_debugcontrol
@@ -1546,7 +1637,7 @@ applicable law.
PLC watch &mode
- SPS &Betrachter
+ SPS &Monitor
@@ -1660,8 +1751,8 @@ applicable law.
- Start local si&mulator...
- Lokalen Si&mulator starten...
+ RevPi si&mulator...
+ RevPi Si&mulator...
diff --git a/revpicommander/revpicommander.py b/revpicommander/revpicommander.py
index 134fdda..f6c2d16 100755
--- a/revpicommander/revpicommander.py
+++ b/revpicommander/revpicommander.py
@@ -407,7 +407,9 @@ class RevPiCommander(QtWidgets.QMainWindow, Ui_win_revpicommander):
"Do you want to reset your process image to {0} values?\n"
"You have to stop other RevPiModIO programs before doing that, "
"because they could reset the outputs."
- ).format("zero" if helper.settings.value("simulator/restart_zero", False, bool) else "piCtory default")
+ ).format(
+ self.tr("zero") if helper.settings.value("simulator/restart_zero", False, bool)
+ else self.tr("piCtory default"))
) == QtWidgets.QMessageBox.Yes
if rc:
# Set piCtory default values in process image
diff --git a/translate.pro b/translate.pro
index bd16c3f..a8c2a23 100644
--- a/translate.pro
+++ b/translate.pro
@@ -9,19 +9,21 @@ SOURCES = revpicommander/aclmanager.py \
revpicommander/revpioption.py \
revpicommander/revpiplclist.py \
revpicommander/revpiprogram.py \
+ revpicommander/simulator.py \
revpicommander/revpicommander.py
FORMS = include/ui_dev/aclmanager.ui \
include/ui_dev/avahisearch.ui \
include/ui_dev/debugcontrol.ui \
include/ui_dev/debugios.ui \
- include/ui_dev/mqttmanager.ui \
include/ui_dev/files.ui \
+ include/ui_dev/mqttmanager.ui \
include/ui_dev/revpiinfo.ui \
include/ui_dev/revpilogfile.ui \
include/ui_dev/revpioption.ui \
include/ui_dev/revpiplclist.ui \
include/ui_dev/revpiprogram.ui \
+ include/ui_dev/simulator.ui \
include/ui_dev/revpicommander.ui
TRANSLATIONS = revpicommander/locale/revpicommander_de.ts