From 474f4f7c18234d70d89699a8f2b7654f2f630a78 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 12 May 2011 05:28:19 +0000 Subject: [PATCH] =?utf8?q?Mit=20deutscher=20=C3=9Cbersetzung=20von=20LogRo?= =?utf8?q?tateConfig.py=20angefangen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.brehm-online.com/svn/my-stuff/python/PyLogrotate/trunk@236 ec8d2aa5-1599-4edb-8739-2b3a1bc399aa --- LogRotateConfig.py | 4 +- po/LogRotateConfig.de.po | 600 +++++++++++++++++++++++++++++++++++++++ po/LogRotateConfig.pot | 4 +- po/Makefile | 9 +- 4 files changed, 612 insertions(+), 5 deletions(-) create mode 100644 po/LogRotateConfig.de.po diff --git a/LogRotateConfig.py b/LogRotateConfig.py index 851d8f3..f5215c4 100755 --- a/LogRotateConfig.py +++ b/LogRotateConfig.py @@ -415,7 +415,7 @@ class LogrotateConfigurationReader(object): _ = self.t.lgettext if not pattern_type in pattern_types: - raise Exception( _('Invalid pattern type "%s" given') % (pattern_type) ) + raise Exception( _('Invalid taboo pattern type »%s« given') % (pattern_type) ) pattern = ( pattern_types[pattern_type] % pattern ) if self.verbose > 3: @@ -891,7 +891,7 @@ class LogrotateConfigurationReader(object): _ = self.t.lgettext if self.verbose > 4: self.logger.debug( - ( _("Checking line »%(line)s« for a logrotate option. (file »%(file)s«, line %(lnr)s)") + ( _("Checking line '%(line)s' for a logrotate option. (file '%(file)s', line %(lnr)s)") % {'line': line, 'file': filename, 'lnr': linenr}) ) diff --git a/po/LogRotateConfig.de.po b/po/LogRotateConfig.de.po new file mode 100644 index 0000000..fe48a03 --- /dev/null +++ b/po/LogRotateConfig.de.po @@ -0,0 +1,600 @@ +# German translations for pylogrotate package +# German messages for pylogrotate. +# Copyright (C) 2011 Frank Brehm +# This file is distributed under the same license as the pylogrotate package. +# Frank Brehm , 2011. +# +# $Id: LogRotateConfig.pot 235 2011-05-11 10:14:32Z frank $ +# $URL: http://svn.brehm-online.com/svn/my-stuff/python/PyLogrotate/trunk/po/LogRotateConfig.pot $ +# +msgid "" +msgstr "" +"Project-Id-Version: pylogrotate 0.3\n" +"Report-Msgid-Bugs-To: Frank Brehm \n" +"POT-Creation-Date: 2011-05-11 12:03+0200\n" +"PO-Revision-Date: 2011-05-12 07:00+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" + +#: LogRotateConfig.py:322 +msgid "Logrotate config reader initialised" +msgstr "Logrotate-Konfigurationsleser initialisiert" + +#: LogRotateConfig.py:360 +msgid "Resetting default values for directives to hard coded values" +msgstr "Setze Vorgabewerte für Direktiven auf hardkodierte Werte zurück" + +#: LogRotateConfig.py:418 +#, python-format +msgid "Invalid taboo pattern type »%s« given" +msgstr "Ungültiger Tabutyp »%s« gegeben" + +#: LogRotateConfig.py:422 +#, python-format +msgid "New taboo pattern: '%s'." +msgstr "Neues Tabu-Muster: »%s«." + +#: LogRotateConfig.py:451 LogRotateConfig.py:463 LogRotateConfig.py:473 +#, python-format +msgid "'%s' is not a directory" +msgstr "»%s« ist kein Verzeichnis" + +#: LogRotateConfig.py:522 LogRotateConfig.py:578 +#, python-format +msgid "Search path '%s' doesn't exists or is not a directory" +msgstr "Der Suchpfad »%s« existiert entweder nicht oder ist kein Verzeichnis" + +#: LogRotateConfig.py:525 +#, python-format +msgid "Shred command found: '%s'" +msgstr "Shred Befehl gefunden: »%s«" + +#: LogRotateConfig.py:529 +msgid "Shred command not found, shred disabled" +msgstr "Shred Befehl nicht gefunden, shred wird deaktiviert" + +#: LogRotateConfig.py:628 +#, python-format +msgid "File '%s' doesn't exists." +msgstr "Die Datei »%s« existiert nicht." + +#: LogRotateConfig.py:650 +#, python-format +msgid "Try reading configuration from »%s« ..." +msgstr "Versuche, die Konfiguration aus »%s« zu lesen ..." + +#: LogRotateConfig.py:653 +#, python-format +msgid "File »%s« doesn't exists." +msgstr "Die Datei »%s« existiert nicht." + +#: LogRotateConfig.py:656 +#, python-format +msgid "»%s« is not a regular file." +msgstr "»%s« ist keine reguläre Datei." + +#: LogRotateConfig.py:660 +#, python-format +msgid "Reading configuration from »%s« ..." +msgstr "Lese Konfiguration aus »%s« ..." + +#: LogRotateConfig.py:666 +#, python-format +msgid "Could not read configuration file »%s«" +msgstr "Konnte Konfigurationsdatei »%s« nicht lesen" + +#: LogRotateConfig.py:711 +#, python-format +msgid "Starting a logfile definition (file »%(file)s«, line %(line)s)" +msgstr "Beginne eine Logdateidefinition (Datei »%(file)s«, Zeil %(line)s)" + +#: LogRotateConfig.py:731 +#, python-format +msgid "" +"Logfile pattern definition not allowed inside a logfile definition (file " +"»%(file)s«, line %(line)s)" +msgstr "" + +#: LogRotateConfig.py:748 +#, python-format +msgid "Split into parts of: »%s«" +msgstr "" + +#: LogRotateConfig.py:755 +#, python-format +msgid "" +"Syntax error: open curly bracket inside a logfile pattern definition (file " +"»%(file)s«, line %(line)s)" +msgstr "" + +#: LogRotateConfig.py:779 +#, python-format +msgid "" +"Syntax error: unbalanced closing curly bracket found (file »%(file)s«, line " +"%(line)s)" +msgstr "" + +#: LogRotateConfig.py:784 +#, python-format +msgid "End of a logfile definition (file »%(file)s«, line %(line)s)" +msgstr "" + +#: LogRotateConfig.py:787 +#, python-format +msgid "" +"Needless content found at the end of a logfile definition found: " +"»%(rest)s« (file »%(file)s«, line %(line)s)" +msgstr "" + +#: LogRotateConfig.py:791 +msgid "New logfile definition:" +msgstr "" + +#: LogRotateConfig.py:804 +#, python-format +msgid "" +"Syntax error: include may not appear inside of log file definition (file " +"»%(file)s«, line %(line)s)" +msgstr "" + +#: LogRotateConfig.py:823 +#, python-format +msgid "" +"Found start of a regular script definition: type: »%(type)s«, name: " +"»%(name)s« (file »%(file)s«, line %(line)s)" +msgstr "" + +#: LogRotateConfig.py:837 +#, python-format +msgid "New log script name: »%s«." +msgstr "" + +#: LogRotateConfig.py:844 +#, python-format +msgid "" +"Found start of a external script definition. (file »%(file)s«, line %(line)s)" +msgstr "" + +#: LogRotateConfig.py:850 +#, python-format +msgid "" +"Syntax error: external script definition may not appear inside of a log file " +"definition (file »%(file)s«, line %(line)s)" +msgstr "" + +#: LogRotateConfig.py:860 +#, python-format +msgid "New external script name: »%s«." +msgstr "" + +#: LogRotateConfig.py:865 +#, python-format +msgid "Syntax error in file »%(file)s«, line %(line)s" +msgstr "" + +#: LogRotateConfig.py:894 +#, python-format +msgid "" +"Checking line '%(line)s' for a logrotate option. (file '%(file)s', line " +"%(lnr)s)" +msgstr "Überprüfe Zeile »%(line)s« nach einer Logrotate-Option. (Datei »%(file)s«, Zeile %(lnr)s)" + +#: LogRotateConfig.py:913 +#, python-format +msgid "Could not detect option in line »%s«." +msgstr "" + +#: LogRotateConfig.py:921 +#, python-format +msgid "Unsupported option »%(option)s«. (file »%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:934 +#, python-format +msgid "" +"Found value »%(value)s« behind the boolean option »%(option)s«, ignoring. " +"(file »%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:943 +#, python-format +msgid "" +"Setting boolean option »%(option)s« in »%(directive)s« to »%(value)s«. (file " +"»%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:959 +#, python-format +msgid "Option »%s« without a necessary value." +msgstr "" + +#: LogRotateConfig.py:968 +#, python-format +msgid "Option »%(option)s« has no integer value: %(msg)s." +msgstr "" + +#: LogRotateConfig.py:974 +#, python-format +msgid "Negative value %(value)s for option »%(option)s« is not allowed." +msgstr "" + +#: LogRotateConfig.py:980 +#, python-format +msgid "" +"Setting integer option »%(option)s« in »%(directive)s« to »%(value)s«. (file " +"»%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:994 LogRotateConfig.py:1026 +#, python-format +msgid "Senseless option value »%(value)s« after »%(option)s«." +msgstr "" + +#: LogRotateConfig.py:1001 +#, python-format +msgid "Invalid Mail address »%s«." +msgstr "" + +#: LogRotateConfig.py:1006 +#, python-format +msgid "" +"Setting mail address in »%(directive)s« to »%(addr)s«. (file »%(file)s«, " +"line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1021 +#, python-format +msgid "" +"Setting mailfirst in »%(directive)s« to »%(value)s«. (file »%(file)s«, line " +"%(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1039 LogRotateConfig.py:1064 +#, python-format +msgid "Option »%s« must have a value." +msgstr "" + +#: LogRotateConfig.py:1041 LogRotateConfig.py:1066 +#, python-format +msgid "Option »%s« without a value" +msgstr "" + +#: LogRotateConfig.py:1046 +#, python-format +msgid "Compress command »%s« not found." +msgstr "" + +#: LogRotateConfig.py:1060 +#, python-format +msgid "Option »%s« not allowed inside a logfile directive." +msgstr "" + +#: LogRotateConfig.py:1071 +#, python-format +msgid "Value »%(value)s« for option »%(option)s« is not an absolute path." +msgstr "" + +#: LogRotateConfig.py:1077 +#, python-format +msgid "" +"Setting %(option)s in »%(directive)s« to »%(value)s«. (file »%(file)s«, line " +"%(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1090 +#, python-format +msgid "" +"Checking »period«: key »%(key)s«, value »%(value)s«. (file »%(file)s«, line " +"%(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1097 +#, python-format +msgid "" +"Option »%(option)s« may not have a value (»%(value)s«). (file »%(file)s«, " +"line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1105 +#, python-format +msgid "Invalid period definition: »%s«" +msgstr "" + +#: LogRotateConfig.py:1109 +#, python-format +msgid "" +"Setting »period« in »%(directive)s« to %(days)f days. (file »%(file)s«, line " +"%(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1128 +#, python-format +msgid "Invalid maxage definition: »%s«" +msgstr "" + +#: LogRotateConfig.py:1132 +#, python-format +msgid "" +"Setting »maxage« in »%(directive)s« to %(days)f days. (file »%(file)s«, line " +"%(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1150 +#, python-format +msgid "" +"Checking »dateext«, negated: »%(negated)s«. (file »%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1167 +#, python-format +msgid "" +"»dateext«: first_val: »%(first_val)s«, option_value: »%(value)s«. (file " +"»%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1180 +#, python-format +msgid "" +"Setting »dateext« in »%(directive)s« to %(ext)s. (file »%(file)s«, line " +"%(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1188 +#, python-format +msgid "" +"Setting »datepattern« in »%(directive)s« to %(pattern)s. (file »%(file)s«, " +"line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1205 +#, python-format +msgid "Checking for »create« ... (file »%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1212 +#, python-format +msgid "Removing »create«. (file »%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1232 +#, python-format +msgid "" +"Trying to determine create mode »%(mode)s... (file »%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1241 +#, python-format +msgid "Invalid create mode »%s«." +msgstr "" + +#: LogRotateConfig.py:1249 +#, python-format +msgid "" +"Trying to determine create owner »%(owner)s... (file »%(file)s«, line " +"%(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1258 +#, python-format +msgid "Invalid owner »%s« in »create«." +msgstr "" + +#: LogRotateConfig.py:1266 +#, python-format +msgid "" +"Trying to determine create group »%(group)s... (file »%(file)s«, line " +"%(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1275 +#, python-format +msgid "Invalid group »%s« in »create«." +msgstr "" + +#: LogRotateConfig.py:1294 +#, python-format +msgid "Checking for »olddir« ... (file »%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1301 +#, python-format +msgid "Removing »olddir«. (file »%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1313 +msgid "Option »olddir« without a value given." +msgstr "" + +#: LogRotateConfig.py:1326 +#, python-format +msgid "" +"Trying to determine olddir create mode »%(mode)s... (file »%(file)s«, line " +"%(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1335 +#, python-format +msgid "Invalid create mode »%s« in »olddir«." +msgstr "" + +#: LogRotateConfig.py:1343 +#, python-format +msgid "" +"Trying to determine olddir owner »%(owner)s... (file »%(file)s«, line " +"%(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1352 +#, python-format +msgid "Invalid owner »%s« in »olddir«." +msgstr "" + +#: LogRotateConfig.py:1360 +#, python-format +msgid "" +"Trying to determine olddir group »%(group)s... (file »%(file)s«, line " +"%(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1369 +#, python-format +msgid "Invalid group »%s« in »olddir«." +msgstr "" + +#: LogRotateConfig.py:1384 +#, python-format +msgid "" +"Checking for option »size«, value: »%(value)s« ... (file »%(file)s«, line " +"%(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1388 +msgid "Failing size definition." +msgstr "" + +#: LogRotateConfig.py:1394 +#, python-format +msgid "Invalid definition for »size«: »%s«." +msgstr "" + +#: LogRotateConfig.py:1398 +#, python-format +msgid "" +"Got a rotation size in »%(directive)s« of %(bytes)d bytes. (file »%(file)s«, " +"line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1411 +#, python-format +msgid "" +"Checking for option »taboo%(type)s«, value: »%(value)s« ... (file " +"»%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1416 +#, python-format +msgid "Option »taboo%s« not allowed inside a logfile directive." +msgstr "" + +#: LogRotateConfig.py:1429 +#, python-format +msgid "Option »taboo%s« needs a value." +msgstr "" + +#. Option not found, I'm angry +#: LogRotateConfig.py:1440 +#, python-format +msgid "Unknown option »%s«." +msgstr "" + +#: LogRotateConfig.py:1470 +#, python-format +msgid "" +"No script name given in a script directive (file »%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1478 +#, python-format +msgid "" +"Only one script name is allowed in a script directive, the first one is " +"used. (file »%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1486 +#, python-format +msgid "" +"Script name »%(name)s« is allready declared, it will be overwritten. (file " +"»%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1528 +#, python-format +msgid "" +"No file or directory given in a include directive (file »%(file)s«, line " +"%(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1536 +#, python-format +msgid "" +"Only one declaration of a file or directory is allowed in a include " +"directive, the first one is used. (file »%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1545 +#, python-format +msgid "" +"Including object »%(include)s« doesn't exists. (file »%(file)s«, line " +"%(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1555 +#, python-format +msgid "" +"Including object »%(include)s« is neither a regular file nor a directory. " +"(file »%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1561 +#, python-format +msgid "Trying to include object »%s« ..." +msgstr "" + +#: LogRotateConfig.py:1567 LogRotateConfig.py:1620 +#, python-format +msgid "Recursive including of »%(include)s« (file »%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1576 +#, python-format +msgid "What the hell is this: »%(include)s«. (file »%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1582 +#, python-format +msgid "Including directory »%s« ..." +msgstr "" + +#: LogRotateConfig.py:1594 +#, python-format +msgid "Skip subdirectory »%s« in including." +msgstr "" + +#: LogRotateConfig.py:1599 +#, python-format +msgid "Item »%s« is not a regular file." +msgstr "" + +#: LogRotateConfig.py:1609 +#, python-format +msgid "Item »%(item)s« is matching pattern »%(pattern)s«, skiping." +msgstr "" + +#: LogRotateConfig.py:1653 +#, python-format +msgid "" +"Nested logfile definitions are not allowed (file »%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1659 +#, python-format +msgid "" +"No logfile pattern defined on starting a logfile definition (file " +"»%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1692 +#, python-format +msgid "" +"Directive »%(directive)s« is not allowed outside of a logfile definition " +"(file »%(file)s«, line %(lnr)s)" +msgstr "" + +#: LogRotateConfig.py:1757 +msgid "Starting a new log directive with default values" +msgstr "" diff --git a/po/LogRotateConfig.pot b/po/LogRotateConfig.pot index a4501af..a5d1542 100644 --- a/po/LogRotateConfig.pot +++ b/po/LogRotateConfig.pot @@ -30,12 +30,12 @@ msgstr "" #: LogRotateConfig.py:418 #, python-format -msgid "Invalid pattern type \"%s\" given" +msgid "Invalid taboo pattern type »%s« given" msgstr "" #: LogRotateConfig.py:422 #, python-format -msgid "New taboo pattern: '%s'." +msgid "New taboo pattern: »%s«." msgstr "" #: LogRotateConfig.py:451 LogRotateConfig.py:463 LogRotateConfig.py:473 diff --git a/po/Makefile b/po/Makefile index 330572c..d2f51d0 100644 --- a/po/Makefile +++ b/po/Makefile @@ -5,7 +5,7 @@ # $URL$ # -all: pylogrotate.de.mo LogRotateGetopts.de.mo +all: pylogrotate.de.mo LogRotateGetopts.de.mo LogRotateConfig.de.mo pylogrotate.de.mo: pylogrotate.de.po @echo @@ -21,3 +21,10 @@ LogRotateGetopts.de.mo: LogRotateGetopts.de.po @if [ ! -d de_DE/LC_MESSAGES ] ; then mkdir -vp de_DE/LC_MESSAGES; fi @cp -pv LogRotateGetopts.de.mo de_DE/LC_MESSAGES/LogRotateGetopts.mo +LogRotateConfig.de.mo: LogRotateConfig.de.po + @echo + @echo "Compiling $@ ..." + msgfmt -o LogRotateConfig.de.mo --check -v LogRotateConfig.de.po + @if [ ! -d de_DE/LC_MESSAGES ] ; then mkdir -vp de_DE/LC_MESSAGES; fi + @cp -pv LogRotateConfig.de.mo de_DE/LC_MESSAGES/LogRotateConfig.mo + -- 2.39.5