From: Frank Brehm Date: Mon, 4 Jul 2011 15:32:04 +0000 (+0000) Subject: Bugfixing und Übersetzungen X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=91cd4e1dc645f7f6f0a98a333532352bdeb0fc91;p=my-stuff%2Fpy-logrotate.git Bugfixing und Übersetzungen git-svn-id: http://svn.brehm-online.com/svn/my-stuff/python/PyLogrotate/trunk@275 ec8d2aa5-1599-4edb-8739-2b3a1bc399aa --- diff --git a/LogRotateHandler.py b/LogRotateHandler.py index ce7780d..94c46cf 100755 --- a/LogRotateHandler.py +++ b/LogRotateHandler.py @@ -903,16 +903,24 @@ class LogrotateHandler(object): # Check and set ownership of new logfile if (new_uid != old_uid) or (new_gid != old_gid): - msg = _("Setting ownership of '%(file)s' to uid %(uid)d and gid %(gid)d.") \ - % {'file': file_from, 'uid': new_uid, 'gid': new_gid} - self.logger.info(msg) - if not self.test: - try: - os.chown(file_from, new_uid, new_gid) - except OSError, e: - msg = _("Error on chown of '%(file)s': %(err)s") \ - % {'file': file_from, 'err': e.strerror} + myuid = os.geteuid() + if myuid != 0: + msg = _("Only root may execute chown().") + if self.test: + self.logger.info(msg) + else: self.logger.warning(msg) + else: + msg = _("Setting ownership of '%(file)s' to uid %(uid)d and gid %(gid)d.") \ + % {'file': file_from, 'uid': new_uid, 'gid': new_gid} + self.logger.info(msg) + if not self.test: + try: + os.chown(file_from, new_uid, new_gid) + except OSError, e: + msg = _("Error on chown of '%(file)s': %(err)s") \ + % {'file': file_from, 'err': e.strerror} + self.logger.warning(msg) oldfiles = self._collect_old_logfiles(logfile, extension, compress_extension, cur_desc_index) @@ -1589,16 +1597,24 @@ class LogrotateHandler(object): self.logger.error(msg) return None if (create_uid != uid) or (create_gid != gid): - if self.verbose > 2: - msg = "os.chown('%s', %d, %d)" % (create_dir, create_uid, create_gid) - self.logger.debug(msg) - try: - os.chown(create_dir, create_uid, create_gid) - except OSError, e: - msg = _("Error on chowning directory '%(dir)s': %(err)s") \ - % {'dir': create_dir, 'err': e.strerror} - self.logger.error(msg) - return None + myuid = os.geteuid() + if myuid != 0: + msg = _("Only root may execute chown().") + if self.test: + self.logger.info(msg) + else: + self.logger.warning(msg) + else: + if self.verbose > 2: + msg = "os.chown('%s', %d, %d)" % (create_dir, create_uid, create_gid) + self.logger.debug(msg) + try: + os.chown(create_dir, create_uid, create_gid) + except OSError, e: + msg = _("Error on chowning directory '%(dir)s': %(err)s") \ + % {'dir': create_dir, 'err': e.strerror} + self.logger.error(msg) + return None olddir = os.path.realpath(olddir) return olddir diff --git a/LogRotateScript.py b/LogRotateScript.py index aac549c..f533fcf 100755 --- a/LogRotateScript.py +++ b/LogRotateScript.py @@ -67,8 +67,6 @@ class LogRotateScript(object): @type verbose: int @param test_mode: test mode - no write actions are made @type test_mode: bool - @param logger: logger object to use for logging a.s.o. - @type logger: logging.getLogger or None @return: None ''' diff --git a/po/LogRotateHandler.de.po b/po/LogRotateHandler.de.po new file mode 100644 index 0000000..bfcdb12 --- /dev/null +++ b/po/LogRotateHandler.de.po @@ -0,0 +1,729 @@ +# German translations for pylogrotate package. +# Copyright (C) 2011 Frank Brehm, Berlin +# This file is distributed under the same license as the pylogrotate package. +# Frank Brehm , 2011. +# +# $Id$ +# $URL$ +# +msgid "" +msgstr "" +"Project-Id-Version: pylogrotate 0.4\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-07-04 15:41+0200\n" +"PO-Revision-Date: 2011-07-04 15:48+0200\n" +"Last-Translator: Frank Brehm \n" +"Language-Team: German\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: LogRotateHandler.py:296 +msgid "Logrotating initialised" +msgstr "Logrotation initialisiert." + +#: LogRotateHandler.py:299 +msgid "Could not read configuration" +msgstr "Konnte Konfiguration nicht lesen." + +#: LogRotateHandler.py:311 +msgid "Logrotating ready for work" +msgstr "Logrotation ist bereit zur Arbeit." + +#: LogRotateHandler.py:384 +#, python-format +msgid "Removing PID file '%s' ..." +msgstr "Entferne PID-Datei »%s« ..." + +#: LogRotateHandler.py:388 +msgid "Error removing PID file '%(file)s': %(msg)" +msgstr "Fehler beim Löschen der PID-Datei »%(file)s«: %(msg)" + +#: LogRotateHandler.py:436 +msgid "Configuration reader object structure" +msgstr "Objektstruktur des Konfigurtionslesers" + +#: LogRotateHandler.py:452 +#, python-format +msgid "Name of state file: '%s'" +msgstr "Dateiname der Statusdatei: »%s«" + +#: LogRotateHandler.py:460 +#, python-format +msgid "PID file: '%s'" +msgstr "PID-Datei: »%s«" + +#: LogRotateHandler.py:482 +#, python-format +msgid "PID file '%s' doesn't exists." +msgstr "PID-Datei »%s« existiert nicht" + +#: LogRotateHandler.py:486 +#, python-format +msgid "Testmode, skip test of PID file '%s'." +msgstr "Testmodus, übergehe Test der PID-Datei »%s«." + +#: LogRotateHandler.py:489 +#, python-format +msgid "Reading PID file '%s' ..." +msgstr "Lese PID-Datei »%s« ..." + +#: LogRotateHandler.py:495 +#, python-format +msgid "Couldn't open PID file '%(file)s' for reading: %(msg)s" +msgstr "Konnte PID-Datei »%(file)s« nicht zum Lesen öffnen: %(msg)s" + +#: LogRotateHandler.py:508 +#, python-format +msgid "No useful information found in PID file '%(file)s': '%(line)s'" +msgstr "Keine sinnvolle Information in PID-Datei »%(file)s« gefunden: »%(line)s«" + +#: LogRotateHandler.py:514 +#, python-format +msgid "Trying check for process with PID %d ..." +msgstr "Versuche, Prozeß mit der PID %d zu überprüfen ..." + +#: LogRotateHandler.py:519 +#, python-format +msgid "Process with PID %d anonymous died." +msgstr "Prozeß mit der PID %d ist anonym gestorben." + +#: LogRotateHandler.py:522 +#, python-format +msgid "No permission to signal the process %d ..." +msgstr "Kein Recht, ein Signal an Prozeß %d zu senden ..." + +#: LogRotateHandler.py:525 +#, python-format +msgid "Unknown error: '%s'" +msgstr "Unbekannter Fehler: »%s«" + +#: LogRotateHandler.py:528 +#, python-format +msgid "Process with PID %d is allready running." +msgstr "Prozeß mit der PID %d läuft noch." + +#: LogRotateHandler.py:550 +#, python-format +msgid "Testmode, skip writing of PID file '%s'." +msgstr "Testmodus, übergehe Schreiben der PID-Datei »%s«." + +#: LogRotateHandler.py:553 +#, python-format +msgid "Writing PID file '%s' ..." +msgstr "Schreibe PID-Datei »%s« ..." + +#: LogRotateHandler.py:562 +#, python-format +msgid "Couldn't open PID file '%(file)s' for writing: %(msg)s" +msgstr "Konnte PID-Datei »%(file)s« nicht zum Schreiben öffnen: %(msg)s" + +#: LogRotateHandler.py:581 +msgid "No logfile definitions found." +msgstr "Keine Logdatei-Definitionen gefunden." + +#: LogRotateHandler.py:585 +msgid "Starting underlying rotation ..." +msgstr "Starte eigentliche Rotation ..." + +#: LogRotateHandler.py:596 +#, python-format +msgid "State of script '%s':" +msgstr "Status des Skripts »%s«:" + +#: LogRotateHandler.py:621 +msgid "Rotating of logfile definition:" +msgstr "Rotation der Logdatei-Definition:" + +#: LogRotateHandler.py:630 +#, python-format +msgid "Performing logfile '%s' ..." +msgstr "Verarbeite Logdatei »%s« ..." + +#: LogRotateHandler.py:635 +#, python-format +msgid "logfile '%s' WILL rotated." +msgstr "Die Logdatei »%s« WIRD rotiert." + +#: LogRotateHandler.py:637 +#, python-format +msgid "logfile '%s' will NOT rotated." +msgstr "Die Logdatei »%s« wird NICHT rotiert." + +#: LogRotateHandler.py:675 +msgid "Looking, whether the firstaction script should be executed." +msgstr "Schaue nach, ob das Firstaction-Skript ausgeführt werden soll." + +#: LogRotateHandler.py:678 +#, python-format +msgid "Executing firstaction script '%s' ..." +msgstr "Führe Firstaction-Skript »%s« aus ..." + +#: LogRotateHandler.py:687 +msgid "Looking, whether the prerun script should be executed." +msgstr "Schaue nach, ob das Prerun-Skript ausgeführt werden soll." + +#: LogRotateHandler.py:696 +#, python-format +msgid "Executing prerun script '%s' ..." +msgstr "Führe Prerun-Skript »%s« aus ..." + +#: LogRotateHandler.py:712 +msgid "Looking, whether the postrun script should be executed." +msgstr "Schaue nach, ob das Postrun-Skript ausgeführt werden soll." + +#: LogRotateHandler.py:724 +#, python-format +msgid "Executing postrun script '%s' ..." +msgstr "Führe Postrun-Skript »%s« aus ..." + +#: LogRotateHandler.py:733 +msgid "Looking, whether the lastaction script should be executed." +msgstr "Schaue nach, ob das Lastaction-Skript ausgeführt werden soll." + +#: LogRotateHandler.py:745 +#, python-format +msgid "Executing lastaction script '%s' ..." +msgstr "Führe Lastaction-Skript »%s« aus ..." + +#: LogRotateHandler.py:782 +#, python-format +msgid "Do rotate logfile '%s' ..." +msgstr "Rotiere Logdatei »%s« ..." + +#: LogRotateHandler.py:798 LogRotateHandler.py:843 +#, python-format +msgid "Moving file '%(from)s' => '%(to)s'." +msgstr "Benenne bzw. verschiebe Datei »%(from)s« => »%(to)s«." + +#: LogRotateHandler.py:805 LogRotateHandler.py:854 +#, python-format +msgid "Error on moving '%(from)s' => '%(to)s': %(err)s" +msgstr "" +"Fehler beim Umbenennen bzw. Verschieben von " +"»%(from)s« => »%(to)s«: %(err)s" + +#: LogRotateHandler.py:816 +#, python-format +msgid "Copying file '%(from)s' => '%(to)s'." +msgstr "Kopiere Datei »%(from)s« => »%(to)s«." + +#: LogRotateHandler.py:823 +#, python-format +msgid "Error on copying '%(from)s' => '%(to)s': %(err)s" +msgstr "Fehler beim Kopieren von »%(from)s« => »%(to)s«: %(err)s" + +#: LogRotateHandler.py:828 +#, python-format +msgid "Truncating file '%s'." +msgstr "Schneide Datei »%s« ab." + +#: LogRotateHandler.py:835 +#, python-format +msgid "Error on truncing file '%(from)s': %(err)s" +msgstr "Fehler beim Abschneiden der Datei »%(from)s«: %(err)s" + +#: LogRotateHandler.py:862 +#, python-format +msgid "Recreating file '%s'." +msgstr "Erstelle Datei »%s«." + +#: LogRotateHandler.py:869 +#, python-format +msgid "Error on creating file '%(from)s': %(err)s" +msgstr "Fehler beim Erstellen der Datei »%(from)s«: %(err)s" + +#: LogRotateHandler.py:893 +#, python-format +msgid "Setting permissions of '%(file)s' to %(mode)4o." +msgstr "Setze Rechte von »%(file)s« auf %(mode)4o." + +#: LogRotateHandler.py:900 +#, python-format +msgid "Error on chmod of '%(file)s': %(err)s" +msgstr "Fehler beim Setzen der Rechte von »%(file)s«: %(err)s" + +#: LogRotateHandler.py:906 +#, python-format +msgid "Setting ownership of '%(file)s' to uid %(uid)d and gid %(gid)d." +msgstr "" +"Setze Besitzerschaft von »%(file)s« auf UID %(uid)d und GID %(gid)d." + +#: LogRotateHandler.py:913 LogRotateHandler.py:2057 +#, python-format +msgid "Error on chown of '%(file)s': %(err)s" +msgstr "Fehler beim Setzen der Besitzerschaft von »%(file)s«: %(err)s" + +#: LogRotateHandler.py:960 +msgid "Retrieving logfiles to compress ..." +msgstr "Ermittle zu komprimierende Logdateien ..." + +#: LogRotateHandler.py:967 +msgid "No compression defined." +msgstr "Keine Komprimierung definiert." + +#: LogRotateHandler.py:973 LogRotateHandler.py:1043 +msgid "No old logfiles available." +msgstr "Keine alten Logdateien ermittelt." + +#: LogRotateHandler.py:987 +#, python-format +msgid "File '%s' seems to be compressed, skip it." +msgstr "Datei »%s« scheint schon komprimiert zu sein, übergehe sie." + +#: LogRotateHandler.py:993 +#, python-format +msgid "File '%s' will be deleted, compression unnecessary." +msgstr "Die Datei »%s« wird gelöscht, keine Komprimierung notwendig." + +#: LogRotateHandler.py:999 +#, python-format +msgid "Compression of file '%s' will be delayed." +msgstr "Die Komprimierung der Datei »%s« wird verschoben." + +#: LogRotateHandler.py:1009 +msgid "Found logfiles to compress:" +msgstr "Gefundene Logdateien für Komprimierung:" + +#: LogRotateHandler.py:1012 +msgid "No old logfiles to compress found." +msgstr "Keine alten Logdateien für Komprimierung gefunden." + +#: LogRotateHandler.py:1036 +msgid "Retrieving logfiles to delete ..." +msgstr "Ermittle Logdateien zum Löschen ..." + +#: LogRotateHandler.py:1051 +msgid "No maxage given." +msgstr "Kein Maximalalter angegeben." + +#: LogRotateHandler.py:1056 +#, python-format +msgid "Maxage: %d seconds" +msgstr "Maximalalter: %d Sekunden" + +#: LogRotateHandler.py:1064 +#, python-format +msgid "Max. count rotations: %d" +msgstr "Maximale Anzahl von Rotationen: %d" + +#: LogRotateHandler.py:1072 +#, python-format +msgid "Checking file '%s' for deleting ..." +msgstr "Überprüfe Datei »%s« für Löschen ..." + +#: LogRotateHandler.py:1075 +#, python-format +msgid "Current count: %(count)d, current age: %(age)d seconds" +msgstr "Aktuelle Zahl: %(count)d, aktuelles Alter: %(age)d Sekunden" + +#: LogRotateHandler.py:1083 +#, python-format +msgid "Deleting '%s' because of too much." +msgstr "Lösche Datei »%s«, weil: zuviel." + +#: LogRotateHandler.py:1092 +#, python-format +msgid "Deleting '%s' because of too old." +msgstr "Lösche Datei »%s«, weil: zu alt." + +#: LogRotateHandler.py:1099 +msgid "Found logfiles to delete:" +msgstr "Gefundene Logdateien zum Löschen:" + +#: LogRotateHandler.py:1102 +msgid "No old logfiles to delete found." +msgstr "Keile Logdateien zum Löschen gefunden." + +#: LogRotateHandler.py:1132 +#, python-format +msgid "Retrieving all old logfiles for file '%s' ..." +msgstr "Ermittle alle lten Laogdateien zu Datei »%s« ..." + +#: LogRotateHandler.py:1242 +#, python-format +msgid "Search for pattern '%s' ..." +msgstr "Suche nach Muster »%s« ..." + +#: LogRotateHandler.py:1254 +msgid "Found old logfiles:" +msgstr "Gefundene alte Logdateien:" + +#: LogRotateHandler.py:1297 +#, python-format +msgid "" +"Retrieving all movings and rotations for logfile '%(file)s' " +"to target '%(target)s' ..." +msgstr "" +"Ermittle alle Umbenennungen und Rotationen für Logdatei »%(file)s« " +"zu Zieldatei »%(target)s« ..." + +#: LogRotateHandler.py:1344 +#, python-format +msgid "Resulting target '%s' exists, retrieve cyclic rotation ..." +msgstr "" +"Resultierende Zieldatei »%s« existiert, ermittle zyklische Rotation ..." + +#: LogRotateHandler.py:1354 +#, python-format +msgid "Cyclic rotation from '%(from)s' to '%(to)s'." +msgstr "Zyklische Rotation von »%(from)s« zu »%(to)s«." + +#: LogRotateHandler.py:1371 +msgid "Found rotations:" +msgstr "Gefundene Rotationen:" + +#: LogRotateHandler.py:1399 +#, python-format +msgid "Retrieving the name of the rotated file of '%s' ..." +msgstr "Ermittle den nNamen der Rotierten Datei von »%s« ..." + +#: LogRotateHandler.py:1413 +#, python-format +msgid "Using date extension '.%(ext)s' from pattern '%(pattern)s'." +msgstr "" +"Verwende Datumserweiterung ».%(ext)s« aus Muster »%(pattern)s«." + +#: LogRotateHandler.py:1419 +#, python-format +msgid "Using '%(target)s' as target for rotation of logfile '%(logfile)s'." +msgstr "" +"Verwende »%(target)s« als Zieldatei der Rotation von Logdatei »%(logfile)s«." + +#: LogRotateHandler.py:1452 +msgid "No dirname directive for olddir given." +msgstr "Kein Verzeichnis für olddir-Direktive angegeben." + +#: LogRotateHandler.py:1501 +#, python-format +msgid "Olddir name is now '%s'" +msgstr "Der Olddir-Name ist jetzt »%s«" + +#: LogRotateHandler.py:1509 +#, python-format +msgid "Olddir '%s' allready exists, not created." +msgstr "Das Olddir-Verzeichnis »%s« existiert bereits und wird nicht angelegt." + +#: LogRotateHandler.py:1514 +#, python-format +msgid "No write and execute access to olddir '%s'." +msgstr "Keine Schreib- und Ausführungsrechte auf das Olddir-Verzeichnis »%s«." + +#: LogRotateHandler.py:1521 +#, python-format +msgid "Olddir '%s' exists, but is not a valid directory." +msgstr "" +"Das Olddir-Verzeichnis »%s« existiert bereits, " +"ist aber kein gültiges Verzeichnis." + +#: LogRotateHandler.py:1531 +#, python-format +msgid "Directory chain to create: '%s'" +msgstr "Verzeichniskette zum Erstellen: »%s«" + +#: LogRotateHandler.py:1535 +#, python-format +msgid "Creating olddir '%s' recursive ..." +msgstr "Erstelle Olddir-Verzeichnis »%s« rekursiv ..." + +#: LogRotateHandler.py:1549 +#, python-format +msgid "Try to create directory '%s' ..." +msgstr "Versuche, Verzeichnis »%s« zu erstellen ..." + +#: LogRotateHandler.py:1554 +#, python-format +msgid "Directory '%s' allready exists, not created." +msgstr "Verzeichnis »%s« existiert bereits und wird nicht angelegt." + +#: LogRotateHandler.py:1562 +#, python-format +msgid "Directory '%s' exists, but is not a valid directory." +msgstr "" +"Das Verzeichnis »%s« existiert bereits, ist aber kein gültiges Verzeichnis." + +#: LogRotateHandler.py:1565 +#, python-format +msgid "Creating directory '%s' ..." +msgstr "Erstelle Verzeichnis »%s« ..." + +#: LogRotateHandler.py:1577 +#, python-format +msgid "Create permissions: %(mode)4o, Owner-UID: %(uid)d, Group-GID: %(gid)d" +msgstr "" +"Erstellungsrechte: %(mode)4o, Besitzer-UID: %(uid)d, Besitzer-GID: %(gid)d" + +#: LogRotateHandler.py:1587 +#, python-format +msgid "Error on creating directory '%(dir)s': %(err)s" +msgstr "Fehler beim Erstellen von Verzeichnis »%(dir)s«: %(err)s" + +#: LogRotateHandler.py:1598 +#, python-format +msgid "Error on chowning directory '%(dir)s': %(err)s" +msgstr "Fehler beim Ändern der Besitzrechte von Verzeichnis »%(dir)s«: %(err)s" + +#: LogRotateHandler.py:1625 +#, python-format +msgid "Executing command: '%s'" +msgstr "Führe Kommando aus: »%s«" + +#: LogRotateHandler.py:1633 +#, python-format +msgid "Got returncode: '%s'" +msgstr "Erhaltener Rückgabewert: »%s«" + +#: LogRotateHandler.py:1636 +#, python-format +msgid "Child was terminated by signal %d" +msgstr "Kindprozess wurde durch Signal %d beendet." + +#: LogRotateHandler.py:1643 +#, python-format +msgid "Execution failed: %s" +msgstr "Ausführung ging schief: %s" + +#: LogRotateHandler.py:1672 +#, python-format +msgid "Check, whether logfile '%s' should rotated." +msgstr "Überprüfe, ob die Logdatei »%s« rotiert werden muß." + +#: LogRotateHandler.py:1676 +#, python-format +msgid "logfile '%s' doesn't exists, not rotated" +msgstr "" +"Die Logdatei »%s« existiert nicht und wird demzufolge auch nicht rotiert." + +#: LogRotateHandler.py:1685 +#, python-format +msgid "logfile '%s' is not a regular file, not rotated" +msgstr "" +"Die Logdatei »%s« ist keine reguläre Datei " +"und wird deshalb auch nicht rotiert." + +#: LogRotateHandler.py:1691 +#, python-format +msgid "Filesize of '%(file)s': %(size)d" +msgstr "Dateigröße von »%(file)s«: %(size)d" + +#: LogRotateHandler.py:1697 +#, python-format +msgid "Logfile '%s' has a filesize of Zero, not rotated" +msgstr "" +"Die Logdatei »%s« hate eine Dateigröße von Null " +"und wird deshalb auch nicht rotiert." + +#: LogRotateHandler.py:1703 +#, python-format +msgid "Rotating of '%s' because of force mode." +msgstr "Rotation von »%s« wegen Zwangs-Modus." + +#: LogRotateHandler.py:1713 +#, python-format +msgid "Date of last rotation: %s" +msgstr "Zeitpunkt der letzten Rotation: %s" + +#: LogRotateHandler.py:1717 +#, python-format +msgid "Date of next rotation: %s" +msgstr "Zeitpunkt der nächsten Rotation: %s" + +#: LogRotateHandler.py:1722 +#, python-format +msgid "Filesize %(filesize)d is less than %(maxsize)d, rotation not necessary." +msgstr "" +"Die Dateigröße %(filesize)d ist geringer als %(maxsize)d, " +"eine Rotation ist deshalb nicht notwendig." + +#: LogRotateHandler.py:1730 +#, python-format +msgid "Date of next rotation '%(next)s' is in future, rotation not necessary." +msgstr "" +"Der Zeitpunkt der nächsten Rotation »%(next)s« ligt in der Zukunft," +"eine Rotation ist deshalb nicht notwendig." + +#: LogRotateHandler.py:1747 +msgid "Deletion of all superfluid logfiles ..." +msgstr "Löschen aller überflüssigen Logdateien ..." + +#: LogRotateHandler.py:1751 +msgid "No logfiles to delete found." +msgstr "Keine Logdateien zum Löschen gefunden." + +#: LogRotateHandler.py:1755 +#, python-format +msgid "Deleting file '%s' ..." +msgstr "Lösche Datei »%s« ..." + +#: LogRotateHandler.py:1761 +#, python-format +msgid "Error on removing file '%(file)s': %(err)s" +msgstr "Fehler beim Löschen der Datei »%(file)s«: %(err)s" + +#: LogRotateHandler.py:1777 +msgid "Compression of all uncompressed logfiles ..." +msgstr "Komprimierung aller unkomprimierten Logdateien ..." + +#: LogRotateHandler.py:1781 +msgid "No logfiles to compress found." +msgstr "Keine Logdateien zum Komprimieren gefunden." + +#: LogRotateHandler.py:1799 +#, python-format +msgid "Source file '%s' for compression doesn't exists." +msgstr "Die Quelldatei »%s« für Komprimierung existiert nicht." + +#: LogRotateHandler.py:1806 +#, python-format +msgid "" +"Source file '%(source)s' and target file '%(target)s' are the same file." +msgstr "" +"Die Quelldatei »%(source)s« und die Zieldatei »%(target)s« sind identisch." + +#: LogRotateHandler.py:1810 +#, python-format +msgid "Target file '%s' for compression allready exists." +msgstr "Die Zieldatei »%s« für die Komprimierung existiert bereits." + +#: LogRotateHandler.py:1816 +#, python-format +msgid "File '%s' has a size of 0, skip compressing." +msgstr "Die Datei »%s« hat die Größe Null, übergehe Komprimierung." + +#: LogRotateHandler.py:1821 +#, python-format +msgid "Compressing file '%(file)s' to '%(target)s' with '%(cmd)s' ..." +msgstr "Komprimiere Datei »%(file)s« zu »%(target)s« mit »%(cmd)s« ..." + +#: LogRotateHandler.py:1866 +#, python-format +msgid "" +"Compressing source '%(source)s' to target'%(target)s' with command '%(cmd)s'." +msgstr "" +"Komprimiere Quelldatei »%(source)s« zu Zieldatei »%(target)s« " +"mit Kommando »%(cmd)s«." + +#: LogRotateHandler.py:1877 +#, python-format +msgid "Substituting '[]' in compressoptions with '%s'." +msgstr "Ersetze »[]« in Komprimierungskommando durch »%s«." + +#: LogRotateHandler.py:1885 +#, python-format +msgid "Substituting '{}' in compressoptions with '%s'." +msgstr "Ersetze »{}« in Komprimierungskommando durch »%s«." + +#: LogRotateHandler.py:1892 +#, python-format +msgid "Compress options: '%s'." +msgstr "Komprimierungsoptionen: »%s«." + +#: LogRotateHandler.py:1904 +#, python-format +msgid "" +"Target '%s' of compression doesn't exists " +"after executing compression command." +msgstr "" +"Die Zieldate »%s« der Komprimierung existiert nicht " +"nach Ausführung des Komprimierungskommandos." + +#: LogRotateHandler.py:1915 LogRotateHandler.py:2112 LogRotateHandler.py:2185 +#: LogRotateHandler.py:2258 +#, python-format +msgid "Deleting uncompressed file '%s' ..." +msgstr "Lösche unkomprimierte Datei »%s« ..." + +#: LogRotateHandler.py:1922 LogRotateHandler.py:2119 LogRotateHandler.py:2192 +#: LogRotateHandler.py:2265 +msgid "Error removing uncompressed file '%(file)s': %(msg)" +msgstr "Fehler beim Löschen der unkomprimierten Datei »%(file)s«: %(msg)" + +#: LogRotateHandler.py:1960 +msgid "" +"Neither 'target' nor 'statinfo' was given on calling _copy_file_metadata()." +msgstr "" +"Weder »target« noch »statinfo« wurden beim Aufruf von " +"»_copy_file_metadata()« angegeben." + +#: LogRotateHandler.py:1965 LogRotateHandler.py:1983 +#, python-format +msgid "File or directory '%s' doesn't exists." +msgstr "Die Datei oder das Verzeichnis »%s« existiert nicht." + +#: LogRotateHandler.py:1975 +#, python-format +msgid "Copying all file metadata to target '%s' ..." +msgstr "Kopiere alle Datei-Metadaten zu Zielobjekt »%s« ..." + +#: LogRotateHandler.py:1991 +#, python-format +msgid "" +"Copying permissions and timestamps from source '%(src)s' " +"to target '%(target)s'." +msgstr "" +"Kopiere Rechte und Zeitstempel von Quellobjekt »%(src)s« " +"zu Zielojekt »%(target)s«." + +#: LogRotateHandler.py:2007 +#, python-format +msgid "Setting atime and mtime of target '%s'." +msgstr "Setze Atime und Mtime von Zielobjekt »%s«." + +#: LogRotateHandler.py:2013 +#, python-format +msgid "Error on setting times on target file '%(target)s': %(err)s" +msgstr "" +"Fehler beim Setzen der Zeitstempel von Zielojekt »%(target)s«: %(err)s" + +#: LogRotateHandler.py:2022 +#, python-format +msgid "Setting permissions of '%(target)s' to %(mode)4o." +msgstr "Setze Rechte von »%(target)s« auf %(mode)4o." + +#: LogRotateHandler.py:2029 +#, python-format +msgid "Error on chmod of '%(target)s': %(err)s" +msgstr "Fehler beim Setzen der Rechte von »%(target)s«: %(err)s" + +#: LogRotateHandler.py:2042 +msgid "Copying ownership from source to target." +msgstr "Kopiere Besitzerschaft von Quell- zu Zielobjekt." + +#: LogRotateHandler.py:2046 +msgid "Only root may execute chown()." +msgstr "Nur root darf Besitzrechte ändern." + +#: LogRotateHandler.py:2084 +#, python-format +msgid "" +"Compressing source '%(source)s' to target'%(target)s' with module zipfile." +msgstr "" +"Komprimiere Quelldatei »%(source)s« zu Zieldatei »%(target)s« " +"mit dem Modul »zipfile«." + +#: LogRotateHandler.py:2099 LogRotateHandler.py:2169 LogRotateHandler.py:2242 +#, python-format +msgid "Error on open file '%(file)s' on writing: %(err)s" +msgstr "" +"Fehler beim Öffnen der Datei »%(file)s« zum Schreiben: %(err)s" + +#: LogRotateHandler.py:2149 +#, python-format +msgid "Compressing source '%(source)s' to target'%(target)s' with module gzip." +msgstr "" +"Komprimiere Quelldatei »%(source)s« zu Zieldatei »%(target)s« " +"mit dem Modul »gzip«." + +#: LogRotateHandler.py:2159 LogRotateHandler.py:2232 +#, python-format +msgid "Error on open file '%(file)s' on reading: %(err)s" +msgstr "Fehler beim Öffnen der Datei »%(file)s« zum Lesen: %(err)s" + +#: LogRotateHandler.py:2222 +#, python-format +msgid "Compressing source '%(source)s' to target'%(target)s' with module bz2." +msgstr "" +"Komprimiere Quelldatei »%(source)s« zu Zieldatei »%(target)s« " +"mit dem Modul »bz2«." diff --git a/po/LogRotateHandler.pot b/po/LogRotateHandler.pot new file mode 100644 index 0000000..878e875 --- /dev/null +++ b/po/LogRotateHandler.pot @@ -0,0 +1,691 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011 Frank Brehm, Berlin +# This file is distributed under the same license as the PACKAGE package. +# Frank Brehm , 2011. +# +# $Id$ +# $URL$ +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: pylogrotate 0.4\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-07-04 15:41+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: LogRotateHandler.py:296 +msgid "Logrotating initialised" +msgstr "" + +#: LogRotateHandler.py:299 +msgid "Could not read configuration" +msgstr "" + +#: LogRotateHandler.py:311 +msgid "Logrotating ready for work" +msgstr "" + +#: LogRotateHandler.py:384 +#, python-format +msgid "Removing PID file '%s' ..." +msgstr "" + +#: LogRotateHandler.py:388 +msgid "Error removing PID file '%(file)s': %(msg)" +msgstr "" + +#: LogRotateHandler.py:436 +msgid "Configuration reader object structure" +msgstr "" + +#: LogRotateHandler.py:452 +#, python-format +msgid "Name of state file: '%s'" +msgstr "" + +#: LogRotateHandler.py:460 +#, python-format +msgid "PID file: '%s'" +msgstr "" + +#: LogRotateHandler.py:482 +#, python-format +msgid "PID file '%s' doesn't exists." +msgstr "" + +#: LogRotateHandler.py:486 +#, python-format +msgid "Testmode, skip test of PID file '%s'." +msgstr "" + +#: LogRotateHandler.py:489 +#, python-format +msgid "Reading PID file '%s' ..." +msgstr "" + +#: LogRotateHandler.py:495 +#, python-format +msgid "Couldn't open PID file '%(file)s' for reading: %(msg)s" +msgstr "" + +#: LogRotateHandler.py:508 +#, python-format +msgid "No useful information found in PID file '%(file)s': '%(line)s'" +msgstr "" + +#: LogRotateHandler.py:514 +#, python-format +msgid "Trying check for process with PID %d ..." +msgstr "" + +#: LogRotateHandler.py:519 +#, python-format +msgid "Process with PID %d anonymous died." +msgstr "" + +#: LogRotateHandler.py:522 +#, python-format +msgid "No permission to signal the process %d ..." +msgstr "" + +#: LogRotateHandler.py:525 +#, python-format +msgid "Unknown error: '%s'" +msgstr "" + +#: LogRotateHandler.py:528 +#, python-format +msgid "Process with PID %d is allready running." +msgstr "" + +#: LogRotateHandler.py:550 +#, python-format +msgid "Testmode, skip writing of PID file '%s'." +msgstr "" + +#: LogRotateHandler.py:553 +#, python-format +msgid "Writing PID file '%s' ..." +msgstr "" + +#: LogRotateHandler.py:562 +#, python-format +msgid "Couldn't open PID file '%(file)s' for writing: %(msg)s" +msgstr "" + +#: LogRotateHandler.py:581 +msgid "No logfile definitions found." +msgstr "" + +#: LogRotateHandler.py:585 +msgid "Starting underlying rotation ..." +msgstr "" + +#: LogRotateHandler.py:596 +#, python-format +msgid "State of script '%s':" +msgstr "" + +#: LogRotateHandler.py:621 +msgid "Rotating of logfile definition:" +msgstr "" + +#: LogRotateHandler.py:630 +#, python-format +msgid "Performing logfile '%s' ..." +msgstr "" + +#: LogRotateHandler.py:635 +#, python-format +msgid "logfile '%s' WILL rotated." +msgstr "" + +#: LogRotateHandler.py:637 +#, python-format +msgid "logfile '%s' will NOT rotated." +msgstr "" + +#: LogRotateHandler.py:675 +msgid "Looking, whether the firstaction script should be executed." +msgstr "" + +#: LogRotateHandler.py:678 +#, python-format +msgid "Executing firstaction script '%s' ..." +msgstr "" + +#: LogRotateHandler.py:687 +msgid "Looking, whether the prerun script should be executed." +msgstr "" + +#: LogRotateHandler.py:696 +#, python-format +msgid "Executing prerun script '%s' ..." +msgstr "" + +#: LogRotateHandler.py:712 +msgid "Looking, whether the postrun script should be executed." +msgstr "" + +#: LogRotateHandler.py:724 +#, python-format +msgid "Executing postrun script '%s' ..." +msgstr "" + +#: LogRotateHandler.py:733 +msgid "Looking, whether the lastaction script should be executed." +msgstr "" + +#: LogRotateHandler.py:745 +#, python-format +msgid "Executing lastaction script '%s' ..." +msgstr "" + +#: LogRotateHandler.py:782 +#, python-format +msgid "Do rotate logfile '%s' ..." +msgstr "" + +#: LogRotateHandler.py:798 LogRotateHandler.py:843 +#, python-format +msgid "Moving file '%(from)s' => '%(to)s'." +msgstr "" + +#: LogRotateHandler.py:805 LogRotateHandler.py:854 +#, python-format +msgid "Error on moving '%(from)s' => '%(to)s': %(err)s" +msgstr "" + +#: LogRotateHandler.py:816 +#, python-format +msgid "Copying file '%(from)s' => '%(to)s'." +msgstr "" + +#: LogRotateHandler.py:823 +#, python-format +msgid "Error on copying '%(from)s' => '%(to)s': %(err)s" +msgstr "" + +#: LogRotateHandler.py:828 +#, python-format +msgid "Truncating file '%s'." +msgstr "" + +#: LogRotateHandler.py:835 +#, python-format +msgid "Error on truncing file '%(from)s': %(err)s" +msgstr "" + +#: LogRotateHandler.py:862 +#, python-format +msgid "Recreating file '%s'." +msgstr "" + +#: LogRotateHandler.py:869 +#, python-format +msgid "Error on creating file '%(from)s': %(err)s" +msgstr "" + +#: LogRotateHandler.py:893 +#, python-format +msgid "Setting permissions of '%(file)s' to %(mode)4o." +msgstr "" + +#: LogRotateHandler.py:900 +#, python-format +msgid "Error on chmod of '%(file)s': %(err)s" +msgstr "" + +#: LogRotateHandler.py:906 +#, python-format +msgid "Setting ownership of '%(file)s' to uid %(uid)d and gid %(gid)d." +msgstr "" + +#: LogRotateHandler.py:913 LogRotateHandler.py:2057 +#, python-format +msgid "Error on chown of '%(file)s': %(err)s" +msgstr "" + +#: LogRotateHandler.py:960 +msgid "Retrieving logfiles to compress ..." +msgstr "" + +#: LogRotateHandler.py:967 +msgid "No compression defined." +msgstr "" + +#: LogRotateHandler.py:973 LogRotateHandler.py:1043 +msgid "No old logfiles available." +msgstr "" + +#: LogRotateHandler.py:987 +#, python-format +msgid "File '%s' seems to be compressed, skip it." +msgstr "" + +#: LogRotateHandler.py:993 +#, python-format +msgid "File '%s' will be deleted, compression unnecessary." +msgstr "" + +#: LogRotateHandler.py:999 +#, python-format +msgid "Compression of file '%s' will be delayed." +msgstr "" + +#: LogRotateHandler.py:1009 +msgid "Found logfiles to compress:" +msgstr "" + +#: LogRotateHandler.py:1012 +msgid "No old logfiles to compress found." +msgstr "" + +#: LogRotateHandler.py:1036 +msgid "Retrieving logfiles to delete ..." +msgstr "" + +#: LogRotateHandler.py:1051 +msgid "No maxage given." +msgstr "" + +#: LogRotateHandler.py:1056 +#, python-format +msgid "Maxage: %d seconds" +msgstr "" + +#: LogRotateHandler.py:1064 +#, python-format +msgid "Max. count rotations: %d" +msgstr "" + +#: LogRotateHandler.py:1072 +#, python-format +msgid "Checking file '%s' for deleting ..." +msgstr "" + +#: LogRotateHandler.py:1075 +#, python-format +msgid "Current count: %(count)d, current age: %(age)d seconds" +msgstr "" + +#: LogRotateHandler.py:1083 +#, python-format +msgid "Deleting '%s' because of too much." +msgstr "" + +#: LogRotateHandler.py:1092 +#, python-format +msgid "Deleting '%s' because of too old." +msgstr "" + +#: LogRotateHandler.py:1099 +msgid "Found logfiles to delete:" +msgstr "" + +#: LogRotateHandler.py:1102 +msgid "No old logfiles to delete found." +msgstr "" + +#: LogRotateHandler.py:1132 +#, python-format +msgid "Retrieving all old logfiles for file '%s' ..." +msgstr "" + +#: LogRotateHandler.py:1242 +#, python-format +msgid "Search for pattern '%s' ..." +msgstr "" + +#: LogRotateHandler.py:1254 +msgid "Found old logfiles:" +msgstr "" + +#: LogRotateHandler.py:1297 +#, python-format +msgid "" +"Retrieving all movings and rotations for logfile '%(file)s' " +"to target '%(target)s' ..." +msgstr "" + +#: LogRotateHandler.py:1344 +#, python-format +msgid "Resulting target '%s' exists, retrieve cyclic rotation ..." +msgstr "" + +#: LogRotateHandler.py:1354 +#, python-format +msgid "Cyclic rotation from '%(from)s' to '%(to)s'." +msgstr "" + +#: LogRotateHandler.py:1371 +msgid "Found rotations:" +msgstr "" + +#: LogRotateHandler.py:1399 +#, python-format +msgid "Retrieving the name of the rotated file of '%s' ..." +msgstr "" + +#: LogRotateHandler.py:1413 +#, python-format +msgid "Using date extension '.%(ext)s' from pattern '%(pattern)s'." +msgstr "" + +#: LogRotateHandler.py:1419 +#, python-format +msgid "Using '%(target)s' as target for rotation of logfile '%(logfile)s'." +msgstr "" + +#: LogRotateHandler.py:1452 +msgid "No dirname directive for olddir given." +msgstr "" + +#: LogRotateHandler.py:1501 +#, python-format +msgid "Olddir name is now '%s'" +msgstr "" + +#: LogRotateHandler.py:1509 +#, python-format +msgid "Olddir '%s' allready exists, not created." +msgstr "" + +#: LogRotateHandler.py:1514 +#, python-format +msgid "No write and execute access to olddir '%s'." +msgstr "" + +#: LogRotateHandler.py:1521 +#, python-format +msgid "Olddir '%s' exists, but is not a valid directory." +msgstr "" + +#: LogRotateHandler.py:1531 +#, python-format +msgid "Directory chain to create: '%s'" +msgstr "" + +#: LogRotateHandler.py:1535 +#, python-format +msgid "Creating olddir '%s' recursive ..." +msgstr "" + +#: LogRotateHandler.py:1549 +#, python-format +msgid "Try to create directory '%s' ..." +msgstr "" + +#: LogRotateHandler.py:1554 +#, python-format +msgid "Directory '%s' allready exists, not created." +msgstr "" + +#: LogRotateHandler.py:1562 +#, python-format +msgid "Directory '%s' exists, but is not a valid directory." +msgstr "" + +#: LogRotateHandler.py:1565 +#, python-format +msgid "Creating directory '%s' ..." +msgstr "" + +#: LogRotateHandler.py:1577 +#, python-format +msgid "Create permissions: %(mode)4o, Owner-UID: %(uid)d, Group-GID: %(gid)d" +msgstr "" + +#: LogRotateHandler.py:1587 +#, python-format +msgid "Error on creating directory '%(dir)s': %(err)s" +msgstr "" + +#: LogRotateHandler.py:1598 +#, python-format +msgid "Error on chowning directory '%(dir)s': %(err)s" +msgstr "" + +#: LogRotateHandler.py:1625 +#, python-format +msgid "Executing command: '%s'" +msgstr "" + +#: LogRotateHandler.py:1633 +#, python-format +msgid "Got returncode: '%s'" +msgstr "" + +#: LogRotateHandler.py:1636 +#, python-format +msgid "Child was terminated by signal %d" +msgstr "" + +#: LogRotateHandler.py:1643 +#, python-format +msgid "Execution failed: %s" +msgstr "" + +#: LogRotateHandler.py:1672 +#, python-format +msgid "Check, whether logfile '%s' should rotated." +msgstr "" + +#: LogRotateHandler.py:1676 +#, python-format +msgid "logfile '%s' doesn't exists, not rotated" +msgstr "" + +#: LogRotateHandler.py:1685 +#, python-format +msgid "logfile '%s' is not a regular file, not rotated" +msgstr "" + +#: LogRotateHandler.py:1691 +#, python-format +msgid "Filesize of '%(file)s': %(size)d" +msgstr "" + +#: LogRotateHandler.py:1697 +#, python-format +msgid "Logfile '%s' has a filesize of Zero, not rotated" +msgstr "" + +#: LogRotateHandler.py:1703 +#, python-format +msgid "Rotating of '%s' because of force mode." +msgstr "" + +#: LogRotateHandler.py:1713 +#, python-format +msgid "Date of last rotation: %s" +msgstr "" + +#: LogRotateHandler.py:1717 +#, python-format +msgid "Date of next rotation: %s" +msgstr "" + +#: LogRotateHandler.py:1722 +#, python-format +msgid "Filesize %(filesize)d is less than %(maxsize)d, rotation not necessary." +msgstr "" + +#: LogRotateHandler.py:1730 +#, python-format +msgid "Date of next rotation '%(next)s' is in future, rotation not necessary." +msgstr "" + +#: LogRotateHandler.py:1747 +msgid "Deletion of all superfluid logfiles ..." +msgstr "" + +#: LogRotateHandler.py:1751 +msgid "No logfiles to delete found." +msgstr "" + +#: LogRotateHandler.py:1755 +#, python-format +msgid "Deleting file '%s' ..." +msgstr "" + +#: LogRotateHandler.py:1761 +#, python-format +msgid "Error on removing file '%(file)s': %(err)s" +msgstr "" + +#: LogRotateHandler.py:1777 +msgid "Compression of all uncompressed logfiles ..." +msgstr "" + +#: LogRotateHandler.py:1781 +msgid "No logfiles to compress found." +msgstr "" + +#: LogRotateHandler.py:1799 +#, python-format +msgid "Source file '%s' for compression doesn't exists." +msgstr "" + +#: LogRotateHandler.py:1806 +#, python-format +msgid "" +"Source file '%(source)s' and target file '%(target)s' are the same file." +msgstr "" + +#: LogRotateHandler.py:1810 +#, python-format +msgid "Target file '%s' for compression allready exists." +msgstr "" + +#: LogRotateHandler.py:1816 +#, python-format +msgid "File '%s' has a size of 0, skip compressing." +msgstr "" + +#: LogRotateHandler.py:1821 +#, python-format +msgid "Compressing file '%(file)s' to '%(target)s' with '%(cmd)s' ..." +msgstr "" + +#: LogRotateHandler.py:1866 +#, python-format +msgid "" +"Compressing source '%(source)s' to target'%(target)s' with command '%(cmd)s'." +msgstr "" + +#: LogRotateHandler.py:1877 +#, python-format +msgid "Substituting '[]' in compressoptions with '%s'." +msgstr "" + +#: LogRotateHandler.py:1885 +#, python-format +msgid "Substituting '{}' in compressoptions with '%s'." +msgstr "" + +#: LogRotateHandler.py:1892 +#, python-format +msgid "Compress options: '%s'." +msgstr "" + +#: LogRotateHandler.py:1904 +#, python-format +msgid "" +"Target '%s' of compression doesn't exists after executing compression " +"command." +msgstr "" + +#: LogRotateHandler.py:1915 LogRotateHandler.py:2112 LogRotateHandler.py:2185 +#: LogRotateHandler.py:2258 +#, python-format +msgid "Deleting uncompressed file '%s' ..." +msgstr "" + +#: LogRotateHandler.py:1922 LogRotateHandler.py:2119 LogRotateHandler.py:2192 +#: LogRotateHandler.py:2265 +msgid "Error removing uncompressed file '%(file)s': %(msg)" +msgstr "" + +#: LogRotateHandler.py:1960 +msgid "" +"Neither 'target' nor 'statinfo' was given on calling _copy_file_metadata()." +msgstr "" + +#: LogRotateHandler.py:1965 LogRotateHandler.py:1983 +#, python-format +msgid "File or directory '%s' doesn't exists." +msgstr "" + +#: LogRotateHandler.py:1975 +#, python-format +msgid "Copying all file metadata to target '%s' ..." +msgstr "" + +#: LogRotateHandler.py:1991 +#, python-format +msgid "" +"Copying permissions and timestamps from source '%(src)s' to target " +"'%(target)s'." +msgstr "" + +#: LogRotateHandler.py:2007 +#, python-format +msgid "Setting atime and mtime of target '%s'." +msgstr "" + +#: LogRotateHandler.py:2013 +#, python-format +msgid "Error on setting times on target file '%(target)s': %(err)s" +msgstr "" + +#: LogRotateHandler.py:2022 +#, python-format +msgid "Setting permissions of '%(target)s' to %(mode)4o." +msgstr "" + +#: LogRotateHandler.py:2029 +#, python-format +msgid "Error on chmod of '%(target)s': %(err)s" +msgstr "" + +#: LogRotateHandler.py:2042 +msgid "Copying ownership from source to target." +msgstr "" + +#: LogRotateHandler.py:2046 +msgid "Only root may execute chown()." +msgstr "" + +#: LogRotateHandler.py:2084 +#, python-format +msgid "" +"Compressing source '%(source)s' to target'%(target)s' with module zipfile." +msgstr "" + +#: LogRotateHandler.py:2099 LogRotateHandler.py:2169 LogRotateHandler.py:2242 +#, python-format +msgid "Error on open file '%(file)s' on writing: %(err)s" +msgstr "" + +#: LogRotateHandler.py:2149 +#, python-format +msgid "Compressing source '%(source)s' to target'%(target)s' with module gzip." +msgstr "" + +#: LogRotateHandler.py:2159 LogRotateHandler.py:2232 +#, python-format +msgid "Error on open file '%(file)s' on reading: %(err)s" +msgstr "" + +#: LogRotateHandler.py:2222 +#, python-format +msgid "Compressing source '%(source)s' to target'%(target)s' with module bz2." +msgstr "" diff --git a/po/LogRotateScript.de.po b/po/LogRotateScript.de.po new file mode 100644 index 0000000..11fb4c2 --- /dev/null +++ b/po/LogRotateScript.de.po @@ -0,0 +1,61 @@ +# German translations for pylogrotate package. +# Copyright (C) 2011 Frank Brehm, Berlin +# This file is distributed under the same license as the pylogrotate package. +# Frank Brehm , 2011. +# +# $Id$ +# $URL$ +# +msgid "" +msgstr "" +"Project-Id-Version: pylogrotate 0.4\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-07-04 15:27+0200\n" +"PO-Revision-Date: 2011-07-04 15:31+0200\n" +"Last-Translator: Frank Brehm \n" +"Language-Team: German\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: LogRotateScript.py:243 LogRotateScript.py:266 +#, python-format +msgid "Invalid value for property '%s' given." +msgstr "Ungültiger Wert für Eigenschaft »%s« übergeben." + +#: LogRotateScript.py:384 +#, python-format +msgid "Logrotate script object '%s' will destroyed." +msgstr "Das Logrotate-Script-Objekt »%s« wird zerstört." + +#: LogRotateScript.py:461 +#, python-format +msgid "No command to execute defined in script '%s'." +msgstr "Kein Kommando zu Ausführung in Skript »%s« definiert." + +#: LogRotateScript.py:465 +#, python-format +msgid "Executing script '%(name)s' with command: '%(cmd)s'" +msgstr "Führe Skript »%(name)s« mit dem Kommando »%(cmd)s« aus." + +#: LogRotateScript.py:474 +#, python-format +msgid "Got returncode for script '%(name)s': '%(retcode)s'" +msgstr "Habe Rückggabewert »%(retcode)s« für Skript »%(name)s« erhalten." + +#: LogRotateScript.py:478 +#, python-format +msgid "Child in script '%(name)s' was terminated by signal %(retcode)d" +msgstr "Kindprozeß in Skript »%(name)s« wurde durch Signal %(retcode)d beendet." + +#: LogRotateScript.py:486 +#, python-format +msgid "Execution of script '%(name)s' failed: %(error)s" +msgstr "Die Ausführung des Skriptes »%(name)s« ging schief: %(error)s" + +#: LogRotateScript.py:510 +#, python-format +msgid "Checking, whether the script '%s' should be executed." +msgstr "Überprüfe, ob das Skript »%s« noch ausgeführt werden muß." diff --git a/po/LogRotateScript.pot b/po/LogRotateScript.pot new file mode 100644 index 0000000..4372076 --- /dev/null +++ b/po/LogRotateScript.pot @@ -0,0 +1,61 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011 Frank Brehm, Berlin +# This file is distributed under the same license as the pylogrotate package. +# Frank Brehm , 2011. +# +# $Id$ +# $URL$ +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: pylogrotate 0.4\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-07-04 15:27+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: LogRotateScript.py:243 LogRotateScript.py:266 +#, python-format +msgid "Invalid value for property '%s' given." +msgstr "" + +#: LogRotateScript.py:384 +#, python-format +msgid "Logrotate script object '%s' will destroyed." +msgstr "" + +#: LogRotateScript.py:461 +#, python-format +msgid "No command to execute defined in script '%s'." +msgstr "" + +#: LogRotateScript.py:465 +#, python-format +msgid "Executing script '%(name)s' with command: '%(cmd)s'" +msgstr "" + +#: LogRotateScript.py:474 +#, python-format +msgid "Got returncode for script '%(name)s': '%(retcode)s'" +msgstr "" + +#: LogRotateScript.py:478 +#, python-format +msgid "Child in script '%(name)s' was terminated by signal %(retcode)d" +msgstr "" + +#: LogRotateScript.py:486 +#, python-format +msgid "Execution of script '%(name)s' failed: %(error)s" +msgstr "" + +#: LogRotateScript.py:510 +#, python-format +msgid "Checking, whether the script '%s' should be executed." +msgstr "" diff --git a/po/LogRotateStatusFile.pot b/po/LogRotateStatusFile.pot index 54202f0..0f7548f 100644 --- a/po/LogRotateStatusFile.pot +++ b/po/LogRotateStatusFile.pot @@ -9,7 +9,7 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: pylogrotate 0.2\n" +"Project-Id-Version: pylogrotate 0.4\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2011-06-16 19:53+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" diff --git a/po/Makefile b/po/Makefile index fe71c0b..8e4ec11 100644 --- a/po/Makefile +++ b/po/Makefile @@ -7,7 +7,7 @@ .SUFFIXES: .mo .po -MODULE = pylogrotate LogRotateGetopts LogRotateConfig LogRotateStatusFile +MODULE = pylogrotate LogRotateGetopts LogRotateConfig LogRotateStatusFile LogRotateScript LogRotateHandler all: $(MODULE:=.de.mo)