From 3eaae9e462a143cf6e702239d913c5c02fd8f828 Mon Sep 17 00:00:00 2001 From: Sven Sager Date: Thu, 2 Feb 2023 10:48:50 +0100 Subject: [PATCH] Update translation and messages --- src/revpicommander/helper.py | 24 ++- .../locale/revpicommander_de.qm | Bin 53956 -> 56090 bytes .../locale/revpicommander_de.ts | 199 ++++++++++++------ src/revpicommander/revpicommander.py | 2 + src/revpicommander/ui/revpiinfo_ui.py | 10 +- ui_dev/revpiinfo.ui | 20 +- 6 files changed, 159 insertions(+), 96 deletions(-) diff --git a/src/revpicommander/helper.py b/src/revpicommander/helper.py index 7ee0b66..f8dc396 100644 --- a/src/revpicommander/helper.py +++ b/src/revpicommander/helper.py @@ -388,24 +388,26 @@ class ConnectionManager(QtCore.QThread): if revpi_settings.ssh_use_tunnel: self.connect_error.emit( self.tr("Error"), self.tr( - "Can not connect to RevPi XML-RPC Service through SSH tunnel! \n\n" - "This could have the following reasons: The XML-RPC service is not " - "running / not bind to localhost or the ACL permission is not set for " - "127.0.0.1!!!" + "Can not connect to RevPiPyLoad service through SSH tunnel!\n\n" + "This could have the following reasons:\n" + "- The RevPiPyLoad service is not running (activate it on your Revolution Pi)\n" + "- The RevPiPyLoad XML-RPC service is NOT bind to localhost\n" + "- The ACL permission is not set for 127.0.0.1!!!" ), ConnectionFail.NO_XML_RPC, revpi_settings, ) else: - # todo: Change message, that user can use ssh self.connect_error.emit( self.tr("Error"), self.tr( - "Can not connect to RevPi XML-RPC Service! \n\n" - "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!!!\n\nRun 'sudo revpipyload_secure_installation' on " - "Revolution Pi to setup this function!" + "Can not connect to RevPiPyLoad XML-RPC service! \n\n" + "This could have the following reasons:\n" + "- The Revolution Pi is not online\n" + "- The RevPiPyLoad service is not running (activate it on your Revolution Pi)\n" + "- The RevPiPyLoad XML-RPC service is bind to localhost, only\n" + "- The ACL permission is not set for your IP!!!\n\n" + "Use 'Connect via SSH' to use an encrypted connection or run " + "'sudo revpipyload_secure_installation' on Revolution Pi to setup direct remote access!" ), ConnectionFail.NO_XML_RPC, revpi_settings, diff --git a/src/revpicommander/locale/revpicommander_de.qm b/src/revpicommander/locale/revpicommander_de.qm index 89ba61173cd9a9dc5a1c342649cb94ea3ec6c433..af5de78af4e71dc39531b00280ac3b60bf80fe29 100644 GIT binary patch delta 4868 zcmbtWcYIW3)_$hX+?h;>A%#$KAz)}JEFh5*TENgkgdk0blgWe(OlHEAv`-k3A_xK2 z3!zEqW$6$=35c`^vJi-f3ZkM2>H={QWmnc8e9xVs`0e_~{(c{2&b{Y7=RM~==XuV1 zPi#;v->+KO)Ncfo`&7WGNa#%qfRua)6J}7FV5&+4qO%aPrxG}G7_lwa0oz(3e#LlT zW?4|K>4dfi)xhfpv_0PnI9ZIgw~{G$qTM{|PYpoNnyEm~FEDsn4ugFcl;Pz8=|`iH zK}D=RDBElg%ASv8M(g0ar7s5G-UXb!j3IG{8Q?n%$(Rn*R$|zhLx3s@!;gD`^b{1V zpAW>H#niBYz#AL!hQ1y+*c#=1mILc*u|jN1eSfUERqqGl)3MXGhYPP#R#9%ikt?~t z*koK#vJ$IfaYohYJ0wyTH~D6d_A@ z0Eee55;oFr&J{&+$TvXbtBT}lotbcRMaskspw9qBs=e(h^u)Oy9B%qA@5 zCyI>Ci>d!vk#UHn8~>r=?{iM7hAX}VcAQm}B{MO7 zrE2!tX+Vo1ss(qc@A$52WsQ^IJ)_zJCVcdW>QK=S!1m*+V}){}D^(ZHon~u#`c*gM z5`i&kYSndSXiHHW#$Eu{ zGldmgd`n&V{c&K=O!eyL*n*hr>J7gTTf5Jz4-00ta<}@ZgX~JZqpmx;2w1jOeW7nZ zpu&Gweet`#z@gsiPl{53+}7%wy=n={`RZG*y~*BfQP=mJ3S`e!|5l#}480kYlU?eE z3MSTSyav`>U`Cxrz3mdgH$)Q>wF7WG)R<$LaP>G%!fUL+sh>1S<5}VKo0^U*#{<1` zG~L1@0R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A5u`bHuPESw_ktn#M`9xUx`?@Qg6A?*)%1uSxxDwfgr>+eg4 zvdH6Me@KTnQUTmSz$xs~4v4Cu>bmFCEfM&C^D`A%zN2yg|KZ^)$M@U#idUvD}~l zed!-U=Xfi29dE@Eovk>AvtrBz_3d|Eo!D1>fBYMu>oWE4-5P1$El|HSw$OllrLh@A zUAd-NV{cDg?(U*-@q7ks>!)e2AtHWvH2r4Cz&FD+!J8t9*i+3AOK~VkJU|ov`(l!~ zR5P}bh6*0@g6Jv<(X3~#(xo?7v+XqPUr?{9%%i~mIhrF3 zNxOQv=F}8N%B)Ir%0ei{YT1#MpHfhjLWa+LVRd`RXOQKrIJUE-q(fBssrNb^8O;87|LJk zqU?1*`UIW4%Zpx^baE2~h&-n&%)UYsSkjfbQ=ouc-NmgPNvW&4rkI!X!)mhbkB~RO zw0gbbKJEW(hu+0Z0a}gJdq0!_`yKkwEIPOMOMUpOUerZB^jZB~=x!UTpB2>tbm_fM zzoz6E1q#$}`m>l!^|k(xUlY0YwZ5`+H_f9){fRh|d``LkWf%qMJBV(?+Jj}C)Xznh zxh4lX4UidogS^pcj$lAA;*hq|-c`=Db7Z__7dr>Jm9vMf0cNCO>bsXP5E|vk!R_Q2 z=Li-*%8`zaoekqhjr0r;3o=B+rDYjo;|v*zY39s?L_6WMx!ag;Qjt7#%P*q$S@m{%&}i4C7RPS4CXXLh8*A4RX)?M z3(MAhsOxJhGw)#l_L$cP)#=g%iJT5EDX!wwi*_327#eGU*{2wX*ZMvRJ yxO}c{ur?!+j*ZVW#by}Irm}{1d!(}SZWmJIPfI>8dsbZPz$L<5w);>@r~d+d81rxd diff --git a/src/revpicommander/locale/revpicommander_de.ts b/src/revpicommander/locale/revpicommander_de.ts index f4aeae6..a959dbd 100644 --- a/src/revpicommander/locale/revpicommander_de.ts +++ b/src/revpicommander/locale/revpicommander_de.ts @@ -93,7 +93,7 @@ Nicht gespeicherte Änderunen gehen verloren Der ausgewählte RevPi ist schon in der Verbindungsliste als '{0}'. - + over SSH über SSH @@ -229,62 +229,62 @@ Wurde eine Hardwarekonfiguration in piCtory erzeugt? ConnectionManager - + SIMULATING SIMULATION - + NOT CONNECTED NICHT VERBUNDEN - + SERVER ERROR SERVER FEHLER - + RUNNING LÄUFT - + PLC FILE NOT FOUND SPS PROGRAMM NICHT GEFUNDEN - + NOT RUNNING (NO STATUS) LÄUFT NICHT (KEIN STATUS) - + PROGRAM KILLED PROGRAMM GETÖTET - + PROGRAM TERMED PROGRAMM BEENDET - + NOT RUNNING LÄUFT NICHT - + FINISHED WITH CODE {0} BEENDET MIT CODE {0} - + Error Fehler - + The combination of username and password was rejected from the SSH server. Try again. @@ -293,7 +293,7 @@ Try again. Bitte erneut versuchen. - + Could not establish a SSH connection to server: {0} @@ -308,7 +308,7 @@ Bitte erneut versuchen. 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!!! Run 'sudo revpipyload_secure_installation' on Revolution Pi to setup this function! - Kann keine Verbindung zum RevPi XML-RPC Dienst herstellen! + Kann keine Verbindung zum RevPi XML-RPC Dienst herstellen! Das kann eine der folgenden Ursachen haben: Der Rev Pi ist nicht online, der XML-RPC Dienst läuft nicht / ist an localhost gebunden order die Berechtigungen sind nicht für diese IP gesetzt!!! @@ -328,10 +328,65 @@ Das kann eine der folgenden Ursachen haben: Der XML-RPC Dienst läuft nicht / is Can not connect to RevPi XML-RPC Service through SSH tunnel! This could have the following reasons: The XML-RPC service is not running / not bind to localhost or the ACL permission is not set for 127.0.0.1!!! - Kann keine Verbindung zum RevPi XML-RPC Dienst über SSH herstellen! + Kann keine Verbindung zum RevPi XML-RPC Dienst über SSH herstellen! Das kann eine der folgenden Ursachen haben: Der XML-RPC Dienst läuft nicht / ist nicht an localhost gebunden order die Berechtigungen sind nicht für 127.0.0.1 gesetzt!!! + + + Can not connect to RevPiPyLoad service through SSH tunnel! + +This could have the following reasons: +- The RevPiPyLoad service is not running (activate it on your Revolution Pi) +- The RevPiPyLoad XML-RPC service is NOT bind to localhost +- The ACL permission is not set for 127.0.0.1!!! + + + Kann keine Verbindung zum RevPiPyLoad Dienst über SSH herstellen! + +Das kann eine der folgenden Ursachen haben: +- Der RevPiPyLoad Dienst läuft nicht (aktiviere Diesen auf dem Revolution Pi) +- Der RevPiPyLoad XML-RPC Dienst ist NICHT an localhost gebunden +- Die Berechtigungen sind nicht für 127.0.0.1 gesetzt!!! + +Benutze "Über SSH verbinden" um eine verschlüsselte Verbindung aufzubauen oder führe 'sudo revpipyload_secure_installation' auf dem Revolution Pi aus, um eine direkte Verbindung zu konfigurieren! + + + + Can not connect to RevPiPyLoad XML-RPC service! + +This could have the following reasons: +- The Revolution Pi is not online +- The RevPiPyLoad service is not running (activate it on your Revolution Pi) +- The RevPiPyLoad XML-RPC service is bind to localhost, only +- The ACL permission is not set for your IP!!! + +Use 'Connect via SSH' to use an encrypted connection or run 'sudo revpipyload_secure_installation' on Revolution Pi to setup direct remote access! + Kann keine Verbindung zum RevPiPyLoad XML-RPC Dienst herstellen! + +Das kann eine der folgenden Ursachen haben: +- Der Revolution Pi ist nicht online +- Der RevPiPyLoad Dienst läuft nicht (aktiviere Diesen auf dem Revolution Pi) +- Der RevPiPyLoad XML-RPC Dienst ist nur an localhost gebunden +- Die Berechtigungen sind nicht für diese IP gesetzt!!! + +Benutze "Über SSH verbinden" um eine verschlüsselte Verbindung aufzubauen oder führe 'sudo revpipyload_secure_installation' auf dem Revolution Pi aus, um eine direkte Verbindung zu konfigurieren! + + + + Can not connect to RevPiPyLoad service through SSH tunnel! + +This could have the following reasons: +- The RevPiPyLoad service is not running (activate it on your Revolution Pi) +- The RevPiPyLoad XML-RPC service is NOT bind to localhost +- The ACL permission is not set for 127.0.0.1!!! + Kann keine Verbindung zum RevPiPyLoad Dienst über SSH herstellen! + +Das kann eine der folgenden Ursachen haben: +- Der RevPiPyLoad Dienst läuft nicht (aktiviere Diesen auf dem Revolution Pi) +- Der RevPiPyLoad XML-RPC Dienst ist NICHT an localhost gebunden +- Die Berechtigungen sind nicht für 127.0.0.1 gesetzt!!! + DebugControl @@ -346,24 +401,24 @@ Das kann eine der folgenden Ursachen haben: Der XML-RPC Dienst läuft nicht / is Fehler bei Werteempfang von RevPi. - + Auto update values... Werte automatisch aktualisiert... - + Values updated... Werte aktualisiert... - + Error set value of device '{0}' Output '{1}': {2} Fehler beim Setzen des Ausgangs '{1}' auf Modul '{0}': {2} - + Error Fehler @@ -371,35 +426,40 @@ Das kann eine der folgenden Ursachen haben: Der XML-RPC Dienst läuft nicht / is DebugIos - + signed - + big_endian - + as text - + as number - + Can not use format text Formatierung nicht möglich - + Can not convert bytes {0} to a text for IO '{1}'. Switch to number format instead! Kann bytes {0} für '{1}' nicht in Text konvertieren. Wechseln Sie auf Nummernformat! + + + switch wordorder + Wordorder tauschen + MqttManager @@ -429,86 +489,86 @@ Ungesicherte Änderungen gehen verloren. RevPiCommander - + Simulator started... Simulator gestartet... - + Can not start... Kann nicht gestartet werden... - + Warning Warnung - + 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! - + Error Fehler - + 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! - + Question Frage - + 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! - + Success Erfolgreich - + piControl reset executed successfully piControl wurde erfolgreich zurückgesetzt - + piControl reset could not be executed successfully piControl konnte nicht zurückgesetzt werden - + Reset to piCtory defaults... Standardwerte von piCtory laden... - + 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. @@ -528,7 +588,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: @@ -545,39 +605,39 @@ 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 - + Revolution Pi connected! Revolution Pi verbunden! - + Connecting... Verbinde... - + Establish a connection to the Revolution Pi... Baue eine Verbindung zum Revolution Pi auf... @@ -834,19 +894,19 @@ Ungesicherte Änderungen gehen verloren. Neue Verbindung - + Question Frage - + Do you really want to quit? Unsaved changes will be lost. Soll das Fenster wirklich geschlossen werden? Ungesicherte Änderungen gehen verloren. - + If you remote this folder, all containing elements will be removed, too. Do you want to delete folder and all elements? @@ -855,7 +915,7 @@ Do you want to delete folder and all elements? Wollen sie den Ordner und alle Elemente löschen? - + New folder Neuer Ordner @@ -1240,12 +1300,12 @@ Dies ist kein Fehler von RevPi Commander. Revolution Pi Verbindungen - + Connection name Verbindungsname - + Address Adresse @@ -1290,22 +1350,22 @@ Dies ist kein Fehler von RevPi Commander. Verbindung - + Over SSH Über SSH - + Connect over SSH tunnel: Über SSH Tunnel verbinden: - + SSH port: SSH Port: - + SSH user name: SSH Benutzername: @@ -1387,7 +1447,9 @@ Dies ist kein Fehler von RevPi Commander. The base topic is the first part of any mqtt topic, the Revolution Pi will publish. You can use any character includig '/' to structure the messages on your broker. For example: revpi0000/data - + Der Basistopic wird allen MQTT Topics vorangestellt, welche der Revolution Pi veröffentlicht. Es können alle Zeichen inklusive '/' verwendet werden, um die Nachrichten auf dem Broker zu strukturieren. + +Zum Beispiel: revpi0000/data @@ -1404,7 +1466,9 @@ For example: revpi0000/data The Revolution Pi will subscribe a topic on which your mqtt client can publish messages with the new io value as payload. Publish values with topic: [basetopic]/set/[outputname] - + Der Revolution Pi abonniert ein Topic, auf dem die MQTT Clients über den Inhalt einer Nachricht einen neuen Ausgangswert setzen können. + +Publish values with Topic: [basistopic]/set/[ausgangsname] @@ -1671,17 +1735,12 @@ Publish values with topic: [basetopic]/set/[outputname] RevPi Python SPS - Commander - - <html><head/><body><p><a href="https://revpimodio.org/"><span style=" text-decoration: underline; color:#0000ff;">https://revpimodio.org/</span></a></p></body></html> - - - - + Version: - + RevPiModIO, RevPiPyLoad and RevPiPyControl are community driven projects. They are all free and open source software. All of them comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. @@ -1745,7 +1804,7 @@ applicable law. Connect via SSH (recommended) - Über SSH verbinden (empfholen) + Über SSH verbinden (empfohlen) diff --git a/src/revpicommander/revpicommander.py b/src/revpicommander/revpicommander.py index 37cede7..26c4dd2 100644 --- a/src/revpicommander/revpicommander.py +++ b/src/revpicommander/revpicommander.py @@ -215,6 +215,8 @@ class RevPiCommander(QtWidgets.QMainWindow, Ui_win_revpicommander): parent_menu = self.men_connections display_name = settings.name + if settings.name != settings.address: + display_name += " [{0}]".format(settings.address) if settings.ssh_use_tunnel: display_name += " (SSH)" diff --git a/src/revpicommander/ui/revpiinfo_ui.py b/src/revpicommander/ui/revpiinfo_ui.py index 93ace02..a132cab 100644 --- a/src/revpicommander/ui/revpiinfo_ui.py +++ b/src/revpicommander/ui/revpiinfo_ui.py @@ -45,10 +45,6 @@ class Ui_diag_revpiinfo(object): self.lbl_version_pyload.setAlignment(QtCore.Qt.AlignCenter) self.lbl_version_pyload.setObjectName("lbl_version_pyload") self.gridLayout.addWidget(self.lbl_version_pyload, 3, 1, 1, 1) - self.lbl_link = QtWidgets.QLabel(diag_revpiinfo) - self.lbl_link.setOpenExternalLinks(True) - self.lbl_link.setObjectName("lbl_link") - self.gridLayout.addWidget(self.lbl_link, 6, 0, 1, 1) self.btn_box = QtWidgets.QDialogButtonBox(diag_revpiinfo) self.btn_box.setOrientation(QtCore.Qt.Horizontal) self.btn_box.setStandardButtons(QtWidgets.QDialogButtonBox.Ok) @@ -78,6 +74,11 @@ class Ui_diag_revpiinfo(object): self.gridLayout.addWidget(self.lbl_info, 4, 0, 1, 2) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 5, 0, 1, 1) + self.lbl_link = QtWidgets.QLabel(diag_revpiinfo) + self.lbl_link.setText("

https://revpimodio.org/

") + self.lbl_link.setOpenExternalLinks(True) + self.lbl_link.setObjectName("lbl_link") + self.gridLayout.addWidget(self.lbl_link, 6, 0, 1, 2) self.retranslateUi(diag_revpiinfo) self.btn_box.accepted.connect(diag_revpiinfo.accept) # type: ignore @@ -89,7 +90,6 @@ class Ui_diag_revpiinfo(object): diag_revpiinfo.setWindowTitle(_translate("diag_revpiinfo", "Program information")) self.lbl_head.setText(_translate("diag_revpiinfo", "RevPi Python PLC - Commander")) self.lbl_lbl_version_pyload.setText(_translate("diag_revpiinfo", "RevPiPyLoad version on RevPi:")) - self.lbl_link.setText(_translate("diag_revpiinfo", "

https://revpimodio.org/

")) self.lbl_lbl_version_control.setText(_translate("diag_revpiinfo", "Version:")) 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" diff --git a/ui_dev/revpiinfo.ui b/ui_dev/revpiinfo.ui index 3741da4..bf692d4 100644 --- a/ui_dev/revpiinfo.ui +++ b/ui_dev/revpiinfo.ui @@ -63,16 +63,6 @@ - - - - <html><head/><body><p><a href="https://revpimodio.org/"><span style=" text-decoration: underline; color:#0000ff;">https://revpimodio.org/</span></a></p></body></html> - - - true - - - @@ -147,6 +137,16 @@ applicable law. + + + + <html><head/><body><p><a href="https://revpimodio.org/"><span style=" text-decoration: underline; color:#0000ff;">https://revpimodio.org/</span></a></p></body></html> + + + true + + +