From 0eb28f442e116ceee90fb0b9fe0b2455443b858c Mon Sep 17 00:00:00 2001 From: Sven Sager Date: Tue, 3 Jan 2023 11:33:13 +0100 Subject: [PATCH] Add translation of status codes --- revpicommander/helper.py | 20 +- revpicommander/locale/revpicommander_de.qm | Bin 48185 -> 49100 bytes revpicommander/locale/revpicommander_de.ts | 455 +++++++++++++-------- translate.pro | 1 + 4 files changed, 294 insertions(+), 182 deletions(-) diff --git a/revpicommander/helper.py b/revpicommander/helper.py index 0fdcc42..9d2ad6a 100644 --- a/revpicommander/helper.py +++ b/revpicommander/helper.py @@ -360,10 +360,10 @@ class ConnectionManager(QtCore.QThread): if self._revpi is not None: sp = None - self.status_changed.emit("SIMULATING", "yellow") + self.status_changed.emit(self.tr("SIMULATING"), "yellow") elif self._cli is None: sp = None - self.status_changed.emit("NOT CONNECTED", "lightblue") + self.status_changed.emit(self.tr("NOT CONNECTED"), "lightblue") elif not self._cli_connect.empty(): # Get new connection information to create object in this thread item = self._cli_connect.get() @@ -380,23 +380,23 @@ class ConnectionManager(QtCore.QThread): pi.logger.warning(e) except Exception as e: pi.logger.warning(e) - self.status_changed.emit("SERVER ERROR", "red") + self.status_changed.emit(self.tr("SERVER ERROR"), "red") self.connection_error_observed.emit("{0} | {1}".format(e, type(e))) else: if plc_exit_code == -1: - self.status_changed.emit("RUNNING", "green") + self.status_changed.emit(self.tr("RUNNING"), "green") elif plc_exit_code == -2: - self.status_changed.emit("FILE NOT FOUND", "red") + self.status_changed.emit(self.tr("PLC FILE NOT FOUND"), "red") elif plc_exit_code == -3: - self.status_changed.emit("NOT RUNNING (NO STATUS)", "yellow") + self.status_changed.emit(self.tr("NOT RUNNING (NO STATUS)"), "yellow") elif plc_exit_code == -9: - self.status_changed.emit("PROGRAM KILLED", "red") + self.status_changed.emit(self.tr("PROGRAM KILLED"), "red") elif plc_exit_code == -15: - self.status_changed.emit("PROGRAM TERMED", "red") + self.status_changed.emit(self.tr("PROGRAM TERMED"), "red") elif plc_exit_code == 0: - self.status_changed.emit("NOT RUNNING", "yellow") + self.status_changed.emit(self.tr("NOT RUNNING"), "yellow") else: - self.status_changed.emit("FINISHED WITH CODE {0}".format(plc_exit_code), "yellow") + self.status_changed.emit(self.tr("FINISHED WITH CODE {0}").format(plc_exit_code), "yellow") self.msleep(self._cycle_time) diff --git a/revpicommander/locale/revpicommander_de.qm b/revpicommander/locale/revpicommander_de.qm index 587c4e9dedc92dd018833ef6a89559f7c624c15f..5f3c7e1fd1a86b09b9dda1591eda0fc0642a42ac 100644 GIT binary patch delta 3590 zcmai02~bn#8a+vFa&K-n5y7R3q4?_33MiahCma*T@+lZ6%eIVaf!BQ#RaXw ztyFL;RTNMGr=Vk9pRbNmsH1%@ZB=TuTIp+TeN{X94rT_Q^IG3zl9T)A-t&F``Of!$ zsrg-b=81BRk8>sfe<1r6VgT^Ten2PywmFIGh$Y1J#IsOVtAIV7An8{Ffp;KJ%_Xje zzLL)yOJLYv1n}{$h2w!aKe=($IrKOv0B?^%kNUp>yBDIzkAcJkcy%S$oqOUj_~b$$ zWCE<4QUK*mH=1_2(QCRJ{i56$66nULBsY$@3+vszKxIe7`W+^56Jl-e@%k$4XAS|X zws0KJ0)|XM+Kzmn(;h7JhyijMuxjXsaAHjw3e7#Zkco=POn=Qw#7bfWj$D}pym1NV zl-%jc!?>uNOObxV?J?Vc^?lKFYdf&G1pkt1fdxAih`J5ztXK3b;eGS_C;|=Fsf@QG zaB&|dl&T1sZUY9qqlj+22E^GE!{a+r=Ir4L+fGV7w_0I4L?seuE5;g_@%xt)D*{PW zA}d@u<$#=~aQ)C7n7zS`Stk@_CI|3QmEyS02UvGOQQv(Q6Yx|#E(`^! z{RB`EpltMQVuA*hE|rOFNKhHG&a?J4s#eYp1AwLXR2^#+fQL)f^{sqh=22AuSj$nF zDu?15V3SFe6Uc<5gQ{iQ76Tops8-+O`fCGKn@^?#CLdKPnCQnlRmWyFC)Q7O$Il;# zZxU2DY`~c7f_BU~AYUbT6gL63HbQh7*L!sko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(8pV=o#~%ip75BGoE4km6`Q?mQF@wJY*d(6Si0RlFD)rK(|NUZdDGS- HA%_10RFyF8 diff --git a/revpicommander/locale/revpicommander_de.ts b/revpicommander/locale/revpicommander_de.ts index 673303c..9b333f4 100644 --- a/revpicommander/locale/revpicommander_de.ts +++ b/revpicommander/locale/revpicommander_de.ts @@ -4,34 +4,36 @@ AclManager - + + Error Fehler - + There are errors in the ACL list! Check the ALC levels of the red lines in the table. The ACL levels or ip addresses are invalid. If you save this dialog again, we will remove the wrong entries automatically. Es gibt Fehler in der ACL Liste Prüfe die roten Einträge in der Tabelle. ACL Level oder IP Adressen sind nicht gültig. Beim erneuten Speichern werden ungültige Einträge automatisch gelöscht. - + Unsaved entry Nicht gespeicherter Eintrag - + You worked on a new ACL entry. Do you want to save that entry, too? Es ist noch ein bearbeiteter Eintrag vorhanden. Soll dieser auch gespeichert werden? - + + Question Frage - + Do you really want to quit? Unsaved changes will be lost Soll das Fenster wirklich geschlossen werden? @@ -48,19 +50,19 @@ Nicht gespeicherte Änderunen gehen verloren - + This entry has an invalid ACL level or wrong IP format! Dieser Eintrag hat ein ungütiges ACL Lebel oder ein falsches IP Format! - + Do you really want to delete the following items? {0} Sollen die folgenden Einträge wirklich gelöscht werden? {0} - + Can not save new ACL entry! Check format of ip address and acl level is in value list. Kann neuen ACL Eintrag nicht speichern! Bitte IP Adresse und ACL Level prüfen. @@ -68,40 +70,93 @@ Nicht gespeicherte Änderunen gehen verloren AvahiSearch - + Auto discovered Automatisch erkannt - + Already in list... Bereits in Liste... - + Success Erfolgreich - + The connection with the name '{0}' was successfully saved to folder '{1}' in your connections. Die Verbindung mit dem Namen '{0}' wurde erfolgreich im Ordner '{1}' gespeichert. - + The selected Revolution Pi is already saved in your connection list as '{0}'. Der ausgewählte RevPi ist schon in der Verbindungsliste als '{0}'. + + 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} + + DebugControl - + Driver reset for piControl detected. Treiberneustart in piCtory erkannt. - + Error while getting values from Revolution Pi. Fehler bei Werteempfang von RevPi. @@ -116,7 +171,7 @@ Nicht gespeicherte Änderunen gehen verloren Werte aktualisiert... - + Error set value of device '{0}' Output '{1}': {2} Fehler beim Setzen des Ausgangs '{1}' auf Modul '{0}': {2} @@ -151,12 +206,12 @@ Nicht gespeicherte Änderunen gehen verloren - + 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! @@ -164,22 +219,22 @@ Nicht gespeicherte Änderunen gehen verloren MqttManager - + Question Frage - + Error Fehler - + Can not load the MQTT settings dialog. Missing values! Kann MQTT Einstellungen nicht laden. Es fehlen Werte! - + Do you really want to quit? Unsaved changes will be lost. Soll das Fenster wirklich geschlossen werden? @@ -189,93 +244,101 @@ 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. 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!!! @@ -288,7 +351,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: @@ -305,24 +368,24 @@ 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 @@ -335,87 +398,95 @@ Es sollten alle RevPiModIO Programme vorher beendet werden, da diese ihre IO Wer Bitte auswählen... - + + + + + + + Error Fehler - + Can not stop plc program on Revolution Pi. Kann SPS Programm auf Rev Pi nicht stoppen. - + The Revolution Pi could not process some parts of the transmission. Der Revolution Pi hat Teile der Übertragung nicht durchgeführt. - + Errors occurred during transmission Fehler bei Übertragung aufgetreten - + Warning Warnung - + Could not start the plc program on Revolution Pi. Kann das SPS Programm auf dem Revolution Pi nicht starten. + The RevPiPyLoad version on the Revolution Pi is to old. Die RevPiPyLoad Version auf dem Revolution Pi ist zu alt. - + Can not open last directory '{0}'. Kann letztes Verzeichnis '{0}' nicht öffnen. - + Stop scanning for files, because we found more than {0} files. Dateisuche wurde angehalten, da mehr als {0} Dateien gefunden wurden. - + Could not load path of working dir Kann Arbeitsverzeichnis nicht laden - + Can not load file list from Revolution Pi. Kann Dateiliste vom Revolution Pi nicht laden. - + Select folder... Ordner auswählen... - + Can not access the folder '{0}' to read files. Keine Berechtigung für Zugriff auf Ordner '{0}'. - + + Error... Fehler... - + Error while download file '{0}'. Fehler beim Herunterladen der Datei '{0}'. - + Override files... Dateien überschreiben... - + One or more files does exist on your computer! Do you want to override the existingfiles? Select 'Yes' to override, 'No' to download only missing files. @@ -424,27 +495,27 @@ Select 'Yes' to override, 'No' to download only missing file Wählen Sie 'Ja' zum Überschreiben, 'Nein' um nur fehlende Dateien zu laden. - + Delete files from Revolution Pi... Dateien auf Rev Pi löschen... - + Do you want to delete {0} files from revolution pi? Sollen {0} Dateien vom Revolution Pi gelöscht werden? - + Error while delete file '{0}'. Fehler beim Löschen der Datei '{0}'. - + Information Information - + A PLC program has been uploaded. Please check the PLC program settings to see if the correct program is specified as the start program. Ein SPS Programm wurde hochgeladen. Bitte prüfe die SPS Programmeinstellungen ob das richtige Startprogramm gewählt ist. @@ -457,12 +528,12 @@ Wählen Sie 'Ja' zum Überschreiben, 'Nein' um nur fehlende RevPiInfo - + Can not load file list Kann Dateiliste nicht laden - + Not connected Nicht verbunden @@ -478,12 +549,14 @@ Wählen Sie 'Ja' zum Überschreiben, 'Nein' um nur fehlende RevPiOption - + + + Question Frage - + The settings will be set on the Revolution Pi now. ACL changes and service settings are applied immediately. @@ -492,76 +565,78 @@ ACL changes and service settings are applied immediately. Berechtigungseinstellungen werden sofort gesetzt. - + Error Fehler - + The settings could not be saved on the Revolution Pi! Try to save the values one mor time and check the log files of RevPiPyLoad if the error rises again. Die Einstellungen konnten nicht auf dem Revolution Pi gespeichert werden! Versuche es erneut und prüfe die Logdateien von RevPiPyLoad, wenn der Fehler erneut auftritt. - + Do you really want to quit? Unsaved changes will be lost. Soll das Fenster wirklich geschlossen werden? Ungesicherte Änderungen gehen verloren. - + + running läuft - + + stopped angehalten - + The MQTT service is not available on your RevPiPyLoad version. MQTT ist in der RevPiPyLoad Version nicht verfügbar. - + read only Nur lesen - + read and write lesen und schreiben - + Are you sure you want to deactivate the XML-RPC server? You will NOT be able to access the Revolution Pi with this program after saving the options! Willst du den XML-RPC Server wirklich deaktivieren? Du wirst dich NICHT mehr mit diesem Programm zum Revolution Pi verbinden können! - + Start/Stop PLC program and read logs SPS Programm starten/stoppen und Logs lesen - + + read IOs in watch mode + EAs in SPS Betrachter lesen - + + read properties and download PLC program + Einstellungen lesen und SPS Programm herunterladen - + + upload PLC program + SPS Programm hochladen - + + set properties + Einstellungen ändern @@ -569,17 +644,17 @@ Ungesicherte Änderungen gehen verloren. RevPiPlcList - + New connection Neue Verbindung - + Question Frage - + Do you really want to quit? Unsaved changes will be lost. Soll das Fenster wirklich geschlossen werden? @@ -589,22 +664,40 @@ Ungesicherte Änderungen gehen verloren. RevPiProgram - + + + + + + + + + + + + + + + + + + Error Fehler - + You have to select a start program, before uploading the settings. Es muss erst ein Startprogramm gewählt werden. - + + Question Frage - + The settings will be set on the Revolution Pi now. If you made changes on the 'PCL Program' section, your plc program will restart now! @@ -613,245 +706,252 @@ If you made changes on the 'PCL Program' section, your plc program wil Sollte es Änderungen in dem SPS Programmabschnitt geben, wird das SPS Programm neu gestartet! - + The settings could not be saved on the Revolution Pi! Try to save the values one mor time and check the log files of RevPiPyLoad if the error rises again. Die Einstellungen konnten nicht auf dem Revolution Pi gespeichert werden! Versuche es erneut und prüfe die Logdateien von RevPiPyLoad, wenn der Fehler erneut auftritt. - + Do you really want to quit? Unsaved changes will be lost. Soll das Fenster wirklich geschlossen werden? Ungesicherte Änderungen gehen verloren. - + Reset driver... Treiber zurücksetzen... - + Reset piControl driver after successful uploading new piCtory configuration? The process image will be interrupted for a short time! Soll piControl nach dem erfolgreichen Hochladen der neuen piCtory Konfiguration zurückgesetzt werden? Das Prozessabbild wird kurzzeitig nicht verfügbar sein! - + Got an network error while send data to Revolution Pi. Please try again. Beim Senden der Daten an den Revolution Pi trat ein Netzwerkfehler auf. Versuche es erneut. - + + + + + + Success Erfolgreich - + The transfer of the piCtory configuration and the reset of piControl have been successfully executed. Die piCtory Übertragung und der Reset von piControl wurden erfolgreich durchgeführt. - + The piCtory configuration was successfully transferred. Die piCtory Konfiguration wurde erfolgreich übertragen. - + Can not process the transferred file. Kann die Übertragene Datei nicht verarbeiten. - + Can not find main elements in piCtory file. Konnte piCtory Struktur nicht erkennen. - + Contained devices could not be found on Revolution Pi. The configuration may be from a newer piCtory version! Enthaltene Module können auf dem Revolution Pi nicht gefunden werden. Die Konfiguraiton könnte von einer neueren piCtory Version stammen! - + Could not load RAP catalog on Revolution Pi. Kann RAP Katalog auf dem Revolution Pi nicht laden. - + The piCtory configuration could not be written on the Revolution Pi. Die piCtory Konfiguration konnte nicht auf dem Revolution Pi geschrieben werden. - + Warning Warnung - + The piCtroy configuration has been saved successfully. An error occurred on piControl reset! Die piCtory Konfiguration wurde erfolgreich hochgeladen. Es trat jedoch ein Fehler beim Zurücksetzen von piControl auf! - + Save ZIP archive... ZIP Archiv speichern... - + + ZIP archive (*.zip);;All files (*.*) ZIP Archive (*.tgz);;Alle Dateien (*.*) - + Save TGZ archive... TGZ Archiv speichern... - + TGZ archive (*.tgz);;All files (*.*) TAR Archive (*.tgz);;Alle Dateien (*.*) - + Could not load PLC program from Revolution Pi. Kann SPS Programm nicht vom Revolution Pi laden. - + Coud not save the archive or extract the files! Please retry. Konnte das Archiv nicht speichern oder extrahieren! Versuche es erneut. - + Transfer successfully completed. Übertragung erfolgreich abgeschlossen. - + Upload content of ZIP archive... ZIP Archiv hochladen... - + The selected file ist not a ZIP archive. Die ausgewählte Datei ist kein ZIP Archiv. - + Upload content of TAR archive... TAR Archiv hochladen... - + TAR archive (*.tgz);;All files (*.*) TAR Archive (*.tgz);;Alle Dateien (*.*) - + The selected file ist not a TAR archive. Die ausgewählte Datei ist kein TAR Archiv. - + No files to upload... Keine Dateien zum Hochladen... - + Found no files to upload in given location or archive. Konnte keine Dateien in der Quelle zum Hochladen finden. - + There was an error deleting the files on the Revolution Pi. Upload aborted! Please try again. Beim Löschen der Dateien auf dem Revolution Pi ist ein Fehler aufgetreten. Hochladen abgebrochen! Versuche es erneut. - + The PLC program was transferred successfully. Das SPS Programm wurde erfolgreich übertragen. - + Information Information - + Could not find the selected PLC start program in uploaded files. This is not an error, if the file was already on the Revolution Pi. Check PLC start program field Konnte eingestelltes SPS Starprogramm in hochgeladenen Dateien nicht finden. Dies ist kein Fehler, wenn das SPS Startprogramm bereits auf dem Rev Pi ist. Prüfe SPS Programm Einstellungen - + There is no piCtory configuration in this archive. Kann keine piCtory Konfiguration im Archiv finden. - + The Revolution Pi could not process some parts of the transmission. Der Revolution Pi konnte Teile der Übertragung nicht verarbeiten. - + Errors occurred during transmission. Fehler bei Übertragung aufgetreten. - + Save piCtory file... piCtory Datei speichern... - + + piCtory file (*.rsc);;All files (*.*) piCtory Datei (*.rsc);;Alle Dateien (*.*) - + Could not load piCtory file from Revolution Pi. Kann piCtory Konfiguration nicht vom Revolution Pi laden. - + piCtory configuration successfully loaded and saved to: {0}. piCtory Konfiguration erfolgreich geladen und gespeichert als: {0}. - + Upload piCtory file... piCtory datei hochladen... - + Save piControl file... piCtory Datei speichern... - + Process image file (*.img);;All files (*.*) Processabbild (*.img);;Alle Dateien (*.*) - + Could not load process image from Revolution Pi. Kann Prozessabbild von Revolution Pi nicht laden. - + Process image successfully loaded and saved to: {0}. Prozessabbild erfolgreich geladen und gespeichert als: @@ -861,12 +961,12 @@ Dies ist kein Fehler, wenn das SPS Startprogramm bereits auf dem Rev Pi ist. Pr Simulator - + Select downloaded piCtory file... Heruntergeladene piCtory Datei auswählen... - + piCtory file (*.rsc);;All files (*.*) piCtory Datei (*.rsc);;Alle Dateien (*.*) @@ -929,6 +1029,8 @@ Dies ist kein Fehler, wenn das SPS Startprogramm bereits auf dem Rev Pi ist. Pr Berechtigungslevel: + + . @@ -1162,6 +1264,7 @@ For example: revpi0000/data RevPiPyLoad Serverdienste + Edit ACL ACL bearbeiten @@ -1177,6 +1280,7 @@ For example: revpi0000/data Starte RevPi piControl Server + status Status @@ -1230,6 +1334,7 @@ For example: revpi0000/data diag_program + PLC program PLC Programm @@ -1280,11 +1385,14 @@ For example: revpi0000/data TGZ Archiv + Upload Hochladen + + Download Herunterladen @@ -1592,11 +1700,13 @@ applicable law. Öffne Entwicklerverzeichnis + Reload file list Dateiliste neu laden + / @@ -1620,152 +1730,152 @@ applicable law. win_revpicommander - - RevPi Python PLC Commander - - - - + PLC &start SPS &start - + PLC s&top SPS s&top - + PLC restart SPS Neustart - + PLC &logs SPS &Logdateien - + + Status: + Status: + + + PLC watch &mode SPS &Monitor - + &File &Datei - + &Help &Hilfe - + &PLC S&PS - + &Connections &Verbindungen - + &Connections... &Verbindungen... - + &Search Revolution Pi... &Suche Revolution Pi... - + Ctrl+F - + &Quit &Beenden - + Visit &webpage... &Webseite besuchen... - + &Info... - + PLC &logs... SPS &Logdateien... - + PLC &options... SPS &Optionen... - + Ctrl+O - + PLC progra&m... SPS Progra&mm... - + Ctrl+P - + PLC de&veloper... SPS Ent&wickler... - + piCtory configuraiton... piCtory Konfiguration... - + &Disconnect &Trennen - + Ctrl+X - + Reset driver... Treiber zurücksetzen... - + RevPi si&mulator... RevPi Si&mulator... - + Ctrl+N - + Ctrl+L - + Ctrl+D @@ -1793,6 +1903,7 @@ applicable law. RevPiPyLoad - Logdatei + Clear view Ansicht leeren diff --git a/translate.pro b/translate.pro index a8c2a23..7c65698 100644 --- a/translate.pro +++ b/translate.pro @@ -2,6 +2,7 @@ SOURCES = revpicommander/aclmanager.py \ revpicommander/avahisearch.py \ revpicommander/debugcontrol.py \ revpicommander/debugios.py \ + revpicommander/helper.py \ revpicommander/mqttmanager.py \ revpicommander/revpifiles.py \ revpicommander/revpiinfo.py \