1
0
mirror of https://github.com/naruxde/revpipycontrol.git synced 2025-11-08 23:53:52 +01:00

Translation

This commit is contained in:
2017-07-03 10:40:22 +02:00
parent 7fc879bbe1
commit cdaff8fe4e
4 changed files with 84 additions and 51 deletions

View File

@@ -1,8 +1,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: RevPiPyControl 0.4.0\n" "Project-Id-Version: RevPiPyControl 0.4.0\n"
"POT-Creation-Date: 2017-07-02 11:32+0200\n" "POT-Creation-Date: 2017-07-03 10:36+0200\n"
"PO-Revision-Date: 2017-07-02 11:33+0200\n" "PO-Revision-Date: 2017-07-03 10:36+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: de\n" "Language: de\n"
@@ -15,58 +15,58 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-SearchPath-0: .\n" "X-Poedit-SearchPath-0: .\n"
#: revpicheckclient.py:104 revpicheckclient.py:412 revpioption.py:309 #: revpicheckclient.py:107 revpicheckclient.py:432 revpioption.py:309
#: revpiplclist.py:205 revpiprogram.py:315 revpiprogram.py:346 #: revpiplclist.py:205 revpiprogram.py:315 revpiprogram.py:346
#: revpiprogram.py:410 revpiprogram.py:416 revpiprogram.py:422 #: revpiprogram.py:410 revpiprogram.py:416 revpiprogram.py:422
#: revpiprogram.py:430 revpiprogram.py:436 revpiprogram.py:469 #: revpiprogram.py:430 revpiprogram.py:436 revpiprogram.py:469
#: revpiprogram.py:553 revpiprogram.py:626 revpiprogram.py:657 #: revpiprogram.py:553 revpiprogram.py:626 revpiprogram.py:657
#: revpiprogram.py:670 revpiprogram.py:725 revpiprogram.py:745 #: revpiprogram.py:670 revpiprogram.py:725 revpiprogram.py:745
#: revpiprogram.py:753 revpipycontrol.py:359 #: revpiprogram.py:753 revpipycontrol.py:363
msgid "Error" msgid "Error"
msgstr "Fehler" msgstr "Fehler"
#: revpicheckclient.py:105 #: revpicheckclient.py:108
msgid "" msgid ""
"Given value for Output '{}' is not valid! \n" "Given value for Output '{}' is not valid! \n"
"Reset to '{}'" "Reset to '{}'"
msgstr "" msgstr ""
"Angegebener Wert bei Output '{}' ist nicht gültig! \n" "Angegebener Wert für Output '{}' ist nicht gültig! \n"
"Setze auf '{}' zurück" "Setze auf '{}' zurück"
#: revpicheckclient.py:204 #: revpicheckclient.py:207
msgid "Devices of RevPi" msgid "Devices of RevPi"
msgstr "Devices vom RevPi" msgstr "Devices vom RevPi"
#: revpicheckclient.py:236 #: revpicheckclient.py:239
msgid "Control" msgid "Control"
msgstr "Kontrolle" msgstr "Kontrolle"
#: revpicheckclient.py:240 #: revpicheckclient.py:243
msgid "Read all IOs" msgid "Read all IOs"
msgstr "IOs aktualisieren" msgstr "Lese alle IOs"
#: revpicheckclient.py:245 #: revpicheckclient.py:248
msgid "Read just Inputs" msgid "Read just Inputs"
msgstr "Inputs lesen" msgstr "Nur Inputs lesen"
#: revpicheckclient.py:252 #: revpicheckclient.py:255
msgid "Write Outputs" msgid "Write Outputs"
msgstr "Outputs schreiben" msgstr "Outputs schreiben"
#: revpicheckclient.py:258 #: revpicheckclient.py:261
msgid "Autorefresh values" msgid "Autorefresh values"
msgstr "Aktualisiere automatisch" msgstr "Aktualisiere Werte automatisch"
#: revpicheckclient.py:266 #: revpicheckclient.py:269
msgid "Write values to RevPi" msgid "Write values to RevPi"
msgstr "Schreibe Werte auf RevPi" msgstr "Schreibe Werte auf RevPi"
#: revpicheckclient.py:280 revpiprogram.py:443 revpipycontrol.py:235 #: revpicheckclient.py:283 revpiprogram.py:443 revpipycontrol.py:235
#: revpipycontrol.py:276 revpipycontrol.py:294 revpipycontrol.py:320 #: revpipycontrol.py:280 revpipycontrol.py:298 revpipycontrol.py:324
msgid "Warning" msgid "Warning"
msgstr "Warnung" msgstr "Warnung"
#: revpicheckclient.py:281 #: revpicheckclient.py:284
msgid "" msgid ""
"You want to set outputs on the RevPi! Note that these are set " "You want to set outputs on the RevPi! Note that these are set "
"IMMEDIATELY!!! \n" "IMMEDIATELY!!! \n"
@@ -78,9 +78,9 @@ msgstr ""
"Wenn auf dem RevPi ein anderes Programm zur Steuerung läuft, könnte dies " "Wenn auf dem RevPi ein anderes Programm zur Steuerung läuft, könnte dies "
"gestört werden und die Ausgänge wieder zurücksetzen." "gestört werden und die Ausgänge wieder zurücksetzen."
#: revpicheckclient.py:409 #: revpicheckclient.py:429
msgid "Error set value of device '{}' Output '{}': {} \n" msgid "Error set value of device '{}' Output '{}': {} \n"
msgstr "Fehler beim Setzen auf Device '{}' bei Output '{}': {}\n" msgstr "Fehler beim Setzen der Werte auf Device '{}' bei Output '{}': {}\n"
#: revpiinfo.py:38 #: revpiinfo.py:38
msgid "RevPi Python PLC info" msgid "RevPi Python PLC info"
@@ -96,7 +96,7 @@ msgstr "Version: {}"
#: revpiinfo.py:78 #: revpiinfo.py:78
msgid "RevPiPyLoad version on RevPi:" msgid "RevPiPyLoad version on RevPi:"
msgstr "RevPiPyLoad Version am RevPi:" msgstr "RevPiPyLoad Version auf RevPi:"
#: revpiinfo.py:83 #: revpiinfo.py:83
msgid "not conn." msgid "not conn."
@@ -147,7 +147,7 @@ msgstr "Python PLC Programm - Logdatei"
#: revpilogfile.py:157 #: revpilogfile.py:157
msgid "Can not access log file on the RevPi" msgid "Can not access log file on the RevPi"
msgstr "RevPi kann auf Logdatei nicht zugreifen" msgstr "Auf die Logdatei des RevPi kann nicht zugegriffen werden"
#: revpioption.py:66 revpioption.py:272 revpioption.py:319 revpiplclist.py:63 #: revpioption.py:66 revpioption.py:272 revpioption.py:319 revpiplclist.py:63
#: revpiplclist.py:181 revpiprogram.py:379 revpiprogram.py:454 #: revpiplclist.py:181 revpiprogram.py:379 revpiprogram.py:454
@@ -183,8 +183,8 @@ msgid ""
"Set process image to NULL if program\n" "Set process image to NULL if program\n"
"terminates successfully" "terminates successfully"
msgstr "" msgstr ""
"\"Prozessabbild auf NULL setzen, wenn Programm\n" "Prozessabbild auf NULL setzen, wenn Programm\n"
"\"erfolgreich beendet wird\"" "erfolgreich beendet wird"
#: revpioption.py:118 #: revpioption.py:118
msgid "" msgid ""
@@ -313,7 +313,7 @@ msgid "Remove"
msgstr "Entfernen" msgstr "Entfernen"
#: revpiplclist.py:182 #: revpiplclist.py:182
msgid "Do you really want to delete the selected connection '{}'" msgid "Do you really want to delete the selected connection '{}'?"
msgstr "Wollen Sie die ausgewählte Verbindung '{}' wirklich löschen?" msgstr "Wollen Sie die ausgewählte Verbindung '{}' wirklich löschen?"
#: revpiplclist.py:198 #: revpiplclist.py:198
@@ -381,7 +381,7 @@ msgstr "PLC Programm hochladen als:"
#: revpiprogram.py:153 #: revpiprogram.py:153
msgid "clean upload folder before upload" msgid "clean upload folder before upload"
msgstr "vorher Inhalt im Uploadverzeichnis löschen" msgstr "Uploadverzeichnis vor dem Upload leeren"
#: revpiprogram.py:160 #: revpiprogram.py:160
msgid "includes piCtory configuration" msgid "includes piCtory configuration"
@@ -404,7 +404,7 @@ msgid "Upload piCtory configuration"
msgstr "piCtory Konfiguration hochladen" msgstr "piCtory Konfiguration hochladen"
#: revpiprogram.py:194 #: revpiprogram.py:194
msgid "piControl0 prozess image" msgid "piControl0 process image"
msgstr "piControl0 Prozessabbild" msgstr "piControl0 Prozessabbild"
#: revpiprogram.py:197 #: revpiprogram.py:197
@@ -462,7 +462,7 @@ msgstr "Image Dateien"
#: revpiprogram.py:367 #: revpiprogram.py:367
msgid "Open piCtory file..." msgid "Open piCtory file..."
msgstr "piCtory Datei öffnen" msgstr "piCtory Datei öffnen..."
#: revpiprogram.py:380 #: revpiprogram.py:380
msgid "" msgid ""
@@ -491,7 +491,7 @@ msgstr "Kann die übertragene Datei nicht verarbeiten."
#: revpiprogram.py:417 #: revpiprogram.py:417
msgid "Can not find main elements in piCtory file." msgid "Can not find main elements in piCtory file."
msgstr "Kann Hauptelemente in datei nicht finden." msgstr "Kann Hauptelemente in piCtory datei nicht finden."
#: revpiprogram.py:423 #: revpiprogram.py:423
msgid "" msgid ""
@@ -499,11 +499,11 @@ msgid ""
"be from a newer piCtory version!" "be from a newer piCtory version!"
msgstr "" msgstr ""
"Enthaltene Geräte konnten auf dem Revolution Pi nicht gefunden werden. " "Enthaltene Geräte konnten auf dem Revolution Pi nicht gefunden werden. "
"Möglicherweise stammt die Konfiguration von einer neueren piCtory Version." "Möglicherweise stammt die Konfiguration von einer neueren piCtory Version!"
#: revpiprogram.py:431 #: revpiprogram.py:431
msgid "Could not load RAP catalog on Revolution Pi." msgid "Could not load RAP catalog on Revolution Pi."
msgstr "Konnte Katalog auf nicht laden." msgstr "Konnte RAP Katalog auf dem Revolution Pi nicht laden."
#: revpiprogram.py:437 #: revpiprogram.py:437
msgid "The piCtory configuration could not be written on the Revolution Pi." msgid "The piCtory configuration could not be written on the Revolution Pi."
@@ -525,11 +525,11 @@ msgid ""
"The process image and the piBridge are interrupted !!!" "The process image and the piBridge are interrupted !!!"
msgstr "" msgstr ""
"Soll piControlReset wirklich durchgeführt werden? \n" "Soll piControlReset wirklich durchgeführt werden? \n"
"Das Prozessabbild und die Steuerung werden dann unterbrochen!!!" "Das Prozessabbild und die piBridge werden dann unterbrochen!!!"
#: revpiprogram.py:464 #: revpiprogram.py:464
msgid "piControlReset executed successfully" msgid "piControl reset executed successfully"
msgstr "piControl Reset war erfolgreich" msgstr "piControl reset wurde erfolgreich ausgeführt"
#: revpiprogram.py:470 #: revpiprogram.py:470
msgid "piControl reset could not be executed successfully" msgid "piControl reset could not be executed successfully"
@@ -537,7 +537,7 @@ msgstr "piControl Reset konnte nicht erfolgreich durchgeführt werden"
#: revpiprogram.py:484 #: revpiprogram.py:484
msgid "Directory to save" msgid "Directory to save"
msgstr "Verzeichnis zum Ablegen" msgstr "Verzeichnis zum speichern"
#: revpiprogram.py:595 #: revpiprogram.py:595
msgid "Folder to upload" msgid "Folder to upload"
@@ -549,7 +549,7 @@ msgstr "Zip Archiv hochladen..."
#: revpiprogram.py:627 #: revpiprogram.py:627
msgid "The specified file is not a ZIP archive." msgid "The specified file is not a ZIP archive."
msgstr "Die angegebene Datei ist kein ZIP Archiv" msgstr "Die angegebene Datei ist kein ZIP Archiv."
#: revpiprogram.py:636 #: revpiprogram.py:636
msgid "Upload TarGz archiv..." msgid "Upload TarGz archiv..."
@@ -643,12 +643,14 @@ msgstr "Verbinden"
#: revpipycontrol.py:236 #: revpipycontrol.py:236
msgid "" msgid ""
"The watch mode ist not supported in version {} of RevPiPyLoad on your RevPi! " "The watch mode ist not supported in version {} of RevPiPyLoad on your RevPi! "
"You need at least version 0.4.0." "You need at least version 0.4.0. Or the python3-revpimodio module is not "
"installton your RevPi at least version 0.15.0."
msgstr "" msgstr ""
"Der Watch-Modus wird von der RevPiPyLoad Version {} auf dem RevPi nicht " "Der Watch-Modus wird von der RevPiPyLoad Version {} auf dem RevPi nicht "
"unterstützt! Sie benötigen mindestens Version 0.4.0." "unterstützt! Sie benötigen mindestens Version 0.4.0. Oder das python3-"
"revpimodio Modul ist auf dem RevPi nicht in min. Version 0.15.0 installiert."
#: revpipycontrol.py:277 #: revpipycontrol.py:281
msgid "" msgid ""
"This version of Logviewer ist not supported in version {} of RevPiPyLoad on " "This version of Logviewer ist not supported in version {} of RevPiPyLoad on "
"your RevPi! You need at least version 0.4.1." "your RevPi! You need at least version 0.4.1."
@@ -656,18 +658,48 @@ msgstr ""
"Diese Version vom Logbetrachter wird in der RevPiPyLoad Version {} auf Ihrem " "Diese Version vom Logbetrachter wird in der RevPiPyLoad Version {} auf Ihrem "
"RevPi nicht unterstützt! Sie benötigen mindestens Version 0.4.1." "RevPi nicht unterstützt! Sie benötigen mindestens Version 0.4.1."
#: revpipycontrol.py:295 revpipycontrol.py:321 #: revpipycontrol.py:299 revpipycontrol.py:325
msgid "" msgid ""
"XML-RPC access mode in the RevPiPyLoad configuration is to small to access " "XML-RPC access mode in the RevPiPyLoad configuration is too small to access "
"this dialog" "this dialog!"
msgstr "" msgstr ""
"Der XML-RPC Modus ist beim RevPiPyLoad nicht hoch genug eingestellt, um " "Der XML-RPC Modus ist beim RevPiPyLoad nicht hoch genug eingestellt, um "
"diesen Dialog zu verwenden!" "diesen Dialog zu verwenden!"
#: revpipycontrol.py:360 #: revpipycontrol.py:364
msgid "Can not reach server!" msgid "Can not reach server!"
msgstr "Server ist nicht erreichbar!" msgstr "Server ist nicht erreichbar!"
#~ msgid ""
#~ "The watch mode ist not supported in version {} of RevPiPyLoad on your "
#~ "RevPi! You need at least version 0.4.0."
#~ msgstr ""
#~ "Der Watch-Modus wird von der RevPiPyLoad Version {} auf dem RevPi nicht "
#~ "unterstützt! Sie benötigen mindestens Version 0.4.0."
#~ msgid ""
#~ "XML-RPC access mode in the RevPiPyLoad configuration is too small to "
#~ "access this dialog"
#~ msgstr ""
#~ "Der XML-RPC Modus ist beim RevPiPyLoad nicht hoch genug eingestellt, um "
#~ "diesen Dialog zu verwenden!"
#~ msgid "Do you really want to delete the selected connection '{}'"
#~ msgstr "Wollen Sie die ausgewählte Verbindung '{}' wirklich löschen?"
#~ msgid "piControl0 prozess image"
#~ msgstr "piControl0 Prozessabbild"
#~ msgid "piControlReset executed successfully"
#~ msgstr "piControl Reset war erfolgreich"
#~ msgid ""
#~ "XML-RPC access mode in the RevPiPyLoad configuration is to small to "
#~ "access this dialog"
#~ msgstr ""
#~ "Der XML-RPC Modus ist beim RevPiPyLoad nicht hoch genug eingestellt, um "
#~ "diesen Dialog zu verwenden!"
#~ msgid "Quit" #~ msgid "Quit"
#~ msgstr "Beenden" #~ msgstr "Beenden"

View File

@@ -179,7 +179,7 @@ class RevPiPlcList(tkinter.Frame):
item = self.list_conn.get(item_index[0]) item = self.list_conn.get(item_index[0])
ask = tkmsg.askyesno( ask = tkmsg.askyesno(
_("Question"), _("Question"),
_("Do you really want to delete the selected connection '{}'" _("Do you really want to delete the selected connection '{}'?"
"").format(item), "").format(item),
parent=self.master parent=self.master
) )

View File

@@ -191,7 +191,7 @@ class RevPiProgram(tkinter.Frame):
# Gruppe ProcImg # Gruppe ProcImg
proc = tkinter.LabelFrame(self) proc = tkinter.LabelFrame(self)
proc.columnconfigure(0, weight=1) proc.columnconfigure(0, weight=1)
proc["text"] = _("piControl0 prozess image") proc["text"] = _("piControl0 process image")
proc.grid(columnspan=2, pady=2, sticky="we") proc.grid(columnspan=2, pady=2, sticky="we")
lbl = tkinter.Label(proc) lbl = tkinter.Label(proc)
lbl["text"] = _("Download process image dump") lbl["text"] = _("Download process image dump")
@@ -383,7 +383,6 @@ class RevPiProgram(tkinter.Frame):
) )
ec = self.xmlcli.set_pictoryrsc(Binary(fh.read()), ask) ec = self.xmlcli.set_pictoryrsc(Binary(fh.read()), ask)
print(ec)
if ec == 0: if ec == 0:
if ask: if ask:
@@ -461,7 +460,7 @@ class RevPiProgram(tkinter.Frame):
if ec == 0: if ec == 0:
tkmsg.showinfo( tkmsg.showinfo(
_("Success"), _("Success"),
_("piControlReset executed successfully"), _("piControl reset executed successfully"),
parent=self.master parent=self.master
) )
else: else:

View File

@@ -235,7 +235,9 @@ class RevPiPyControl(tkinter.Frame):
_("Warning"), _("Warning"),
_("The watch mode ist not supported in version {} " _("The watch mode ist not supported in version {} "
"of RevPiPyLoad on your RevPi! You need at least version " "of RevPiPyLoad on your RevPi! You need at least version "
"0.4.0.").format(self.cli.version()), "0.4.0. Or the python3-revpimodio module is not installt"
"on your RevPi at least version 0.15.0."
"").format(self.cli.version()),
parent=self.master parent=self.master
) )
else: else:
@@ -295,7 +297,7 @@ class RevPiPyControl(tkinter.Frame):
tkmsg.showwarning( tkmsg.showwarning(
_("Warning"), _("Warning"),
_("XML-RPC access mode in the RevPiPyLoad " _("XML-RPC access mode in the RevPiPyLoad "
"configuration is to small to access this dialog"), "configuration is too small to access this dialog!"),
parent=self.master parent=self.master
) )
else: else:
@@ -321,7 +323,7 @@ class RevPiPyControl(tkinter.Frame):
tkmsg.showwarning( tkmsg.showwarning(
_("Warning"), _("Warning"),
_("XML-RPC access mode in the RevPiPyLoad " _("XML-RPC access mode in the RevPiPyLoad "
"configuration is to small to access this dialog"), "configuration is too small to access this dialog!"),
parent=self.master parent=self.master
) )
else: else: