From ba6523ccfdd4ea405792e3c7a3c02bab884ec2f6 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 29 Nov 2021 12:41:56 +0100 Subject: [PATCH] Translations --- lib/pp_admintools/pidfile.py | 4 +- locale/de_DE/LC_MESSAGES/pp_admintools.po | 114 ++++++++++++++++- locale/en_US/LC_MESSAGES/pp_admintools.po | 146 +++++++++++++++++++--- locale/pp_admintools.pot | 114 ++++++++++++++++- 4 files changed, 357 insertions(+), 21 deletions(-) diff --git a/lib/pp_admintools/pidfile.py b/lib/pp_admintools/pidfile.py index 99ab05b..f8635ee 100644 --- a/lib/pp_admintools/pidfile.py +++ b/lib/pp_admintools/pidfile.py @@ -301,7 +301,7 @@ class PidFile(FbBaseObject): LOG.debug(_("Removing pidfile {!r} ...").format(self.filename)) if self.simulate: if self.verbose > 1: - LOG.debug(_("Just kidding ..")) + LOG.debug(_("Just kidding ...")) return try: os.remove(self.filename) @@ -335,7 +335,7 @@ class PidFile(FbBaseObject): LOG.info(_("Deleting pidfile {!r} ...").format(self.filename)) if self.simulate: - LOG.debug(_("Just kidding ..")) + LOG.debug(_("Just kidding ...")) else: try: os.remove(self.filename) diff --git a/locale/de_DE/LC_MESSAGES/pp_admintools.po b/locale/de_DE/LC_MESSAGES/pp_admintools.po index ad557ff..1bc03a3 100644 --- a/locale/de_DE/LC_MESSAGES/pp_admintools.po +++ b/locale/de_DE/LC_MESSAGES/pp_admintools.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pp_admintools 0.8.0\n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2021-11-29 10:27+0100\n" +"POT-Creation-Date: 2021-11-29 12:12+0100\n" "PO-Revision-Date: 2021-11-29 10:00+0100\n" "Last-Translator: Frank Brehm \n" "Language: de_DE\n" @@ -580,6 +580,118 @@ msgstr "Erhaltene Antwort:" msgid "Zone object:" msgstr "Zonen-Objekt:" +#: lib/pp_admintools/pidfile.py:72 +msgid "Invalid pidfile {f!r} given: {r}" +msgstr "Ungültige PID-Datei {f!r} übergeben: {r}" + +#: lib/pp_admintools/pidfile.py:75 +msgid "Invalid pidfile {!r} given." +msgstr "Ungültige PID-Datei {!r} übergeben." + +#: lib/pp_admintools/pidfile.py:104 +msgid "The pidfile {f!r} is currently in use by the application with the PID {p}." +msgstr "Die PID-Datei {f!r} is gegenwärtig durch die Anwendung mit der PID {p} in Verwendung." + +#: lib/pp_admintools/pidfile.py:174 +msgid "No filename given on initializing {} object." +msgstr "Kein Dateiname bei der Initialisierung des {}-Objektes übergeben." + +#: lib/pp_admintools/pidfile.py:292 +msgid "Pidfile {!r} doesn't exists, not removing." +msgstr "Die PID-Datei {!r} wird nicht gelöscht, da sie nicht existiert." + +#: lib/pp_admintools/pidfile.py:297 +msgid "Auto removing disabled, don't deleting {!r}." +msgstr "{!r} wird nicht gelöscht, da das automatisce Löschen deaktiviert ist." + +#: lib/pp_admintools/pidfile.py:301 +msgid "Removing pidfile {!r} ..." +msgstr "Lösche PID-Datei {!r} …" + +#: lib/pp_admintools/pidfile.py:304 lib/pp_admintools/pidfile.py:338 +msgid "Just kidding ..." +msgstr "Ich mach nur Spass …" + +#: lib/pp_admintools/pidfile.py:309 +msgid "Could not delete pidfile {f!r}: {e}" +msgstr "Konnte PID-Datei {f!r} nicht löschen: {e}" + +#: lib/pp_admintools/pidfile.py:328 +msgid "Invalid PID {p} for creating pidfile {f!r} given." +msgstr "Ungültige PID {p} beim Erstellen der PID-Datei {f!r} übergeben." + +#: lib/pp_admintools/pidfile.py:336 +msgid "Deleting pidfile {!r} ..." +msgstr "Lösche PID-Datei {!r} …" + +#: lib/pp_admintools/pidfile.py:346 +msgid "Trying opening {!r} exclusive ..." +msgstr "Versuche {!r} exklisiv zu öffnen …" + +#: lib/pp_admintools/pidfile.py:349 lib/pp_admintools/pidfile.py:401 +msgid "Simulation mode - don't real writing in {!r}." +msgstr "Simulationsmodus - schreibe nicht wirklich nach {!r}." + +#: lib/pp_admintools/pidfile.py:359 +msgid "Error on creating pidfile {f!r}: {e}" +msgstr "Fehler beim Erstellem der PID-Datei {f!r}: {e}" + +#: lib/pp_admintools/pidfile.py:363 lib/pp_admintools/pidfile.py:413 +msgid "Writing {p} into {f!r} ..." +msgstr "Schreibe {p} in {f!r} …" + +#: lib/pp_admintools/pidfile.py:385 +msgid "Calling {} on a not self created pidfile." +msgstr "Aufruf von {} bei einer nich selbst erstellten PID-Datei." + +#: lib/pp_admintools/pidfile.py:398 +msgid "Trying opening {!r} for recreate ..." +msgstr "Versuche {!r} zum Wiederestellen zu öffnen …" + +#: lib/pp_admintools/pidfile.py:409 +msgid "Error on recreating pidfile {f!r}: {e}" +msgstr "Fehler beim Wiederestellen der PID-Datei {f!r}: {e}" + +#: lib/pp_admintools/pidfile.py:442 +msgid "Pidfile parent directory {!r} doesn't exists." +msgstr "Das übergeordnete Verzeichnis {!r} der PID-Datei existiert nicht." + +#: lib/pp_admintools/pidfile.py:446 +msgid "Pidfile parent directory {!r} is not a directory." +msgstr "Das übergeordnete Verzeichnis {!r} der PID-Datei ist gar kein Verzeichnis." + +#: lib/pp_admintools/pidfile.py:450 +msgid "No write access to pidfile parent directory {!r}." +msgstr "Kein Schreibzugriff zum übergeordneten Verzeichnis {!r} der PID-Datei." + +#: lib/pp_admintools/pidfile.py:457 +msgid "It is not a regular file." +msgstr "Es ist keine reguläre Datei." + +#: lib/pp_admintools/pidfile.py:474 +msgid "Reading content of pidfile {!r} ..." +msgstr "Lese den Inhalt der PID-Datei {!r} …" + +#: lib/pp_admintools/pidfile.py:499 +msgid "No useful information found in pidfile {f!r}: {z!r}" +msgstr "Keine sinnvollen Informationen in der PID-Datei {f!r} gefunden: {z!r}" + +#: lib/pp_admintools/pidfile.py:504 +msgid "Trying check for process with PID {} ..." +msgstr "Versuche den Prozess mit der PID {} zu überprüfen …" + +#: lib/pp_admintools/pidfile.py:510 +msgid "Process with PID {} anonymous died." +msgstr "Der Prozess mit der PID {} is anonym verstorben." + +#: lib/pp_admintools/pidfile.py:514 +msgid "No permission to signal the process {} ..." +msgstr "Kein Recht, ein Signal dem Prozess {} zu senden …" + +#: lib/pp_admintools/pidfile.py:518 +msgid "Got a {c}: {e}." +msgstr "Erhielt ein(e) {c}: {e}." + #: lib/pp_admintools/xlate.py:97 msgid "Module directory: {!r}" msgstr "Modul-Verzeichnis: {!r}" diff --git a/locale/en_US/LC_MESSAGES/pp_admintools.po b/locale/en_US/LC_MESSAGES/pp_admintools.po index 48796ac..b161149 100644 --- a/locale/en_US/LC_MESSAGES/pp_admintools.po +++ b/locale/en_US/LC_MESSAGES/pp_admintools.po @@ -7,9 +7,9 @@ msgid "" msgstr "" "Project-Id-Version: pp_admintools 0.8.0\n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2021-11-29 10:27+0100\n" -"PO-Revision-Date: 2021-11-26 11:54+0100\n" -"Last-Translator: FULL NAME \n" +"POT-Creation-Date: 2021-11-29 12:12+0100\n" +"PO-Revision-Date: 2021-11-29 12:30+0100\n" +"Last-Translator: Frank Brehm \n" "Language: en_US\n" "Language-Team: en_US \n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" @@ -103,7 +103,7 @@ msgstr "" #: lib/pp_admintools/cfg_app.py:345 lib/pp_admintools/cfg_app.py:391 lib/pp_admintools/cfg_app.py:425 #: lib/pp_admintools/cfg_app.py:500 msgid "Searching for {!r} ..." -msgstr "" +msgstr "Searching for {!r} …" #: lib/pp_admintools/cfg_app.py:411 msgid "Log config files:" @@ -115,7 +115,7 @@ msgstr "" #: lib/pp_admintools/cfg_app.py:438 msgid "Reading and evaluating {!r} ..." -msgstr "" +msgstr "Reading and evaluating {!r} …" #: lib/pp_admintools/cfg_app.py:454 msgid "Evaluated configuration from JSON:" @@ -131,7 +131,7 @@ msgstr "" #: lib/pp_admintools/cfg_app.py:506 lib/pp_admintools/deploy_zones_from_pdns.py:601 msgid "Reading {!r} ..." -msgstr "" +msgstr "Reading {!r} …" #: lib/pp_admintools/cfg_app.py:517 msgid "Wrong configuration in {!r} found: " @@ -268,7 +268,7 @@ msgstr "" #: lib/pp_admintools/deploy_zones_from_pdns.py:205 lib/pp_admintools/pdns_app.py:348 msgid "Checking config section {!r} ..." -msgstr "" +msgstr "Checking config section {!r} …" #: lib/pp_admintools/deploy_zones_from_pdns.py:255 msgid "No masters given in [{}]/masters." @@ -276,7 +276,7 @@ msgstr "" #: lib/pp_admintools/deploy_zones_from_pdns.py:265 msgid "Checking given master address {!r} ..." -msgstr "" +msgstr "Checking given master address {!r} …" #: lib/pp_admintools/deploy_zones_from_pdns.py:272 msgid "Not using {!r} as a master IP address, because we are not using IPv6." @@ -308,7 +308,7 @@ msgstr "" #: lib/pp_admintools/deploy_zones_from_pdns.py:309 msgid "Checking for masters, which are local addresses ..." -msgstr "" +msgstr "Checking for masters, which are local addresses …" #: lib/pp_admintools/deploy_zones_from_pdns.py:314 msgid "Address {!r} is in list of local addresses." @@ -348,7 +348,7 @@ msgstr "" #: lib/pp_admintools/deploy_zones_from_pdns.py:405 msgid "Cleaning up ..." -msgstr "" +msgstr "Cleaning up …" #: lib/pp_admintools/deploy_zones_from_pdns.py:409 msgid "Searching for {!r}." @@ -360,7 +360,7 @@ msgstr "" #: lib/pp_admintools/deploy_zones_from_pdns.py:414 msgid "Removing {!r} ..." -msgstr "" +msgstr "Removing {!r} …" #: lib/pp_admintools/deploy_zones_from_pdns.py:420 msgid "Error removing {p!r} - {c}: {e}" @@ -372,7 +372,7 @@ msgstr "" #: lib/pp_admintools/deploy_zones_from_pdns.py:430 msgid "Destroying temporary directory {!r} ..." -msgstr "" +msgstr "Destroying temporary directory {!r} …" #: lib/pp_admintools/deploy_zones_from_pdns.py:441 msgid "Temporary directory: {!r}." @@ -384,7 +384,7 @@ msgstr "" #: lib/pp_admintools/deploy_zones_from_pdns.py:452 msgid "Generating {} ..." -msgstr "" +msgstr "Generating {} …" #: lib/pp_admintools/deploy_zones_from_pdns.py:479 msgid "Pure local zone {!r} will not be considered." @@ -420,7 +420,7 @@ msgstr "" #: lib/pp_admintools/deploy_zones_from_pdns.py:577 msgid "Comparing {one!r} with {two!r} ..." -msgstr "" +msgstr "Comparing {one!r} with {two!r} …" #: lib/pp_admintools/deploy_zones_from_pdns.py:581 lib/pp_admintools/deploy_zones_from_pdns.py:590 msgid "{what} {f!r} does not exists." @@ -534,7 +534,7 @@ msgstr "" #: lib/pp_admintools/pdns_app.py:441 lib/pp_admintools/pdns_app.py:462 #: lib/pp_admintools/pdns_app.py:489 msgid "Executing {} ..." -msgstr "" +msgstr "Executing {} …" #: lib/pp_admintools/pdns_app.py:464 msgid "Setting Loglevel of the requests module to {}." @@ -542,7 +542,7 @@ msgstr "" #: lib/pp_admintools/pdns_app.py:478 msgid "Executing nothing ..." -msgstr "" +msgstr "Executing nothing …" #: lib/pp_admintools/pdns_app.py:495 lib/pp_admintools/pdns_app.py:517 #: lib/pp_admintools/pdns_app.py:528 lib/pp_admintools/pdns_app.py:538 @@ -556,7 +556,7 @@ msgstr "" #: lib/pp_admintools/pdns_app.py:548 msgid "Trying to get complete information about zone {!r} ..." -msgstr "" +msgstr "Trying to get complete information about zone {!r} …" #: lib/pp_admintools/pdns_app.py:554 msgid "The given zone {} was not found." @@ -570,6 +570,118 @@ msgstr "" msgid "Zone object:" msgstr "" +#: lib/pp_admintools/pidfile.py:72 +msgid "Invalid pidfile {f!r} given: {r}" +msgstr "" + +#: lib/pp_admintools/pidfile.py:75 +msgid "Invalid pidfile {!r} given." +msgstr "" + +#: lib/pp_admintools/pidfile.py:104 +msgid "The pidfile {f!r} is currently in use by the application with the PID {p}." +msgstr "" + +#: lib/pp_admintools/pidfile.py:174 +msgid "No filename given on initializing {} object." +msgstr "" + +#: lib/pp_admintools/pidfile.py:292 +msgid "Pidfile {!r} doesn't exists, not removing." +msgstr "" + +#: lib/pp_admintools/pidfile.py:297 +msgid "Auto removing disabled, don't deleting {!r}." +msgstr "" + +#: lib/pp_admintools/pidfile.py:301 +msgid "Removing pidfile {!r} ..." +msgstr "Removing pidfile {!r} …" + +#: lib/pp_admintools/pidfile.py:304 lib/pp_admintools/pidfile.py:338 +msgid "Just kidding ..." +msgstr "Just kidding …" + +#: lib/pp_admintools/pidfile.py:309 +msgid "Could not delete pidfile {f!r}: {e}" +msgstr "" + +#: lib/pp_admintools/pidfile.py:328 +msgid "Invalid PID {p} for creating pidfile {f!r} given." +msgstr "" + +#: lib/pp_admintools/pidfile.py:336 +msgid "Deleting pidfile {!r} ..." +msgstr "Deleting pidfile {!r} …" + +#: lib/pp_admintools/pidfile.py:346 +msgid "Trying opening {!r} exclusive ..." +msgstr "Trying opening {!r} exclusive …" + +#: lib/pp_admintools/pidfile.py:349 lib/pp_admintools/pidfile.py:401 +msgid "Simulation mode - don't real writing in {!r}." +msgstr "" + +#: lib/pp_admintools/pidfile.py:359 +msgid "Error on creating pidfile {f!r}: {e}" +msgstr "" + +#: lib/pp_admintools/pidfile.py:363 lib/pp_admintools/pidfile.py:413 +msgid "Writing {p} into {f!r} ..." +msgstr "" + +#: lib/pp_admintools/pidfile.py:385 +msgid "Calling {} on a not self created pidfile." +msgstr "" + +#: lib/pp_admintools/pidfile.py:398 +msgid "Trying opening {!r} for recreate ..." +msgstr "Trying opening {!r} for recreate …" + +#: lib/pp_admintools/pidfile.py:409 +msgid "Error on recreating pidfile {f!r}: {e}" +msgstr "" + +#: lib/pp_admintools/pidfile.py:442 +msgid "Pidfile parent directory {!r} doesn't exists." +msgstr "" + +#: lib/pp_admintools/pidfile.py:446 +msgid "Pidfile parent directory {!r} is not a directory." +msgstr "" + +#: lib/pp_admintools/pidfile.py:450 +msgid "No write access to pidfile parent directory {!r}." +msgstr "" + +#: lib/pp_admintools/pidfile.py:457 +msgid "It is not a regular file." +msgstr "" + +#: lib/pp_admintools/pidfile.py:474 +msgid "Reading content of pidfile {!r} ..." +msgstr "Reading content of pidfile {!r} …" + +#: lib/pp_admintools/pidfile.py:499 +msgid "No useful information found in pidfile {f!r}: {z!r}" +msgstr "" + +#: lib/pp_admintools/pidfile.py:504 +msgid "Trying check for process with PID {} ..." +msgstr "Trying check for process with PID {} …" + +#: lib/pp_admintools/pidfile.py:510 +msgid "Process with PID {} anonymous died." +msgstr "" + +#: lib/pp_admintools/pidfile.py:514 +msgid "No permission to signal the process {} ..." +msgstr "No permission to signal the process {} …" + +#: lib/pp_admintools/pidfile.py:518 +msgid "Got a {c}: {e}." +msgstr "" + #: lib/pp_admintools/xlate.py:97 msgid "Module directory: {!r}" msgstr "" diff --git a/locale/pp_admintools.pot b/locale/pp_admintools.pot index a00c112..04d5cc4 100644 --- a/locale/pp_admintools.pot +++ b/locale/pp_admintools.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: pp_admintools 0.8.0\n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2021-11-29 10:27+0100\n" +"POT-Creation-Date: 2021-11-29 12:12+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -569,6 +569,118 @@ msgstr "" msgid "Zone object:" msgstr "" +#: lib/pp_admintools/pidfile.py:72 +msgid "Invalid pidfile {f!r} given: {r}" +msgstr "" + +#: lib/pp_admintools/pidfile.py:75 +msgid "Invalid pidfile {!r} given." +msgstr "" + +#: lib/pp_admintools/pidfile.py:104 +msgid "The pidfile {f!r} is currently in use by the application with the PID {p}." +msgstr "" + +#: lib/pp_admintools/pidfile.py:174 +msgid "No filename given on initializing {} object." +msgstr "" + +#: lib/pp_admintools/pidfile.py:292 +msgid "Pidfile {!r} doesn't exists, not removing." +msgstr "" + +#: lib/pp_admintools/pidfile.py:297 +msgid "Auto removing disabled, don't deleting {!r}." +msgstr "" + +#: lib/pp_admintools/pidfile.py:301 +msgid "Removing pidfile {!r} ..." +msgstr "" + +#: lib/pp_admintools/pidfile.py:304 lib/pp_admintools/pidfile.py:338 +msgid "Just kidding ..." +msgstr "" + +#: lib/pp_admintools/pidfile.py:309 +msgid "Could not delete pidfile {f!r}: {e}" +msgstr "" + +#: lib/pp_admintools/pidfile.py:328 +msgid "Invalid PID {p} for creating pidfile {f!r} given." +msgstr "" + +#: lib/pp_admintools/pidfile.py:336 +msgid "Deleting pidfile {!r} ..." +msgstr "" + +#: lib/pp_admintools/pidfile.py:346 +msgid "Trying opening {!r} exclusive ..." +msgstr "" + +#: lib/pp_admintools/pidfile.py:349 lib/pp_admintools/pidfile.py:401 +msgid "Simulation mode - don't real writing in {!r}." +msgstr "" + +#: lib/pp_admintools/pidfile.py:359 +msgid "Error on creating pidfile {f!r}: {e}" +msgstr "" + +#: lib/pp_admintools/pidfile.py:363 lib/pp_admintools/pidfile.py:413 +msgid "Writing {p} into {f!r} ..." +msgstr "" + +#: lib/pp_admintools/pidfile.py:385 +msgid "Calling {} on a not self created pidfile." +msgstr "" + +#: lib/pp_admintools/pidfile.py:398 +msgid "Trying opening {!r} for recreate ..." +msgstr "" + +#: lib/pp_admintools/pidfile.py:409 +msgid "Error on recreating pidfile {f!r}: {e}" +msgstr "" + +#: lib/pp_admintools/pidfile.py:442 +msgid "Pidfile parent directory {!r} doesn't exists." +msgstr "" + +#: lib/pp_admintools/pidfile.py:446 +msgid "Pidfile parent directory {!r} is not a directory." +msgstr "" + +#: lib/pp_admintools/pidfile.py:450 +msgid "No write access to pidfile parent directory {!r}." +msgstr "" + +#: lib/pp_admintools/pidfile.py:457 +msgid "It is not a regular file." +msgstr "" + +#: lib/pp_admintools/pidfile.py:474 +msgid "Reading content of pidfile {!r} ..." +msgstr "" + +#: lib/pp_admintools/pidfile.py:499 +msgid "No useful information found in pidfile {f!r}: {z!r}" +msgstr "" + +#: lib/pp_admintools/pidfile.py:504 +msgid "Trying check for process with PID {} ..." +msgstr "" + +#: lib/pp_admintools/pidfile.py:510 +msgid "Process with PID {} anonymous died." +msgstr "" + +#: lib/pp_admintools/pidfile.py:514 +msgid "No permission to signal the process {} ..." +msgstr "" + +#: lib/pp_admintools/pidfile.py:518 +msgid "Got a {c}: {e}." +msgstr "" + #: lib/pp_admintools/xlate.py:97 msgid "Module directory: {!r}" msgstr "" -- 2.39.5