]> Frank Brehm's Git Trees - my-stuff/py-logrotate.git/commitdiff
Mit deutscher Übersetzung von LogRotateConfig.py weitergemacht
authorFrank Brehm <frank@brehm-online.com>
Thu, 12 May 2011 21:06:06 +0000 (21:06 +0000)
committerFrank Brehm <frank@brehm-online.com>
Thu, 12 May 2011 21:06:06 +0000 (21:06 +0000)
git-svn-id: http://svn.brehm-online.com/svn/my-stuff/python/PyLogrotate/trunk@237 ec8d2aa5-1599-4edb-8739-2b3a1bc399aa

LogRotateConfig.py
po/LogRotateConfig.de.po

index f5215c4ac2ca543311899ecd2125cc5f0133e61e..167edde84ef3081ff2c7ae27e7de73395515ae0e 100755 (executable)
@@ -415,7 +415,7 @@ class LogrotateConfigurationReader(object):
         _ = self.t.lgettext
 
         if not pattern_type in pattern_types:
-            raise Exception( _('Invalid taboo 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:
@@ -647,23 +647,23 @@ class LogrotateConfigurationReader(object):
 
         _ = self.t.lgettext
         pp = pprint.PrettyPrinter(indent=4)
-        self.logger.debug( _("Try reading configuration from »%s« ...") % (configfile) )
+        self.logger.debug( _("Try reading configuration from '%s' ...") % (configfile) )
 
         if not os.path.exists(configfile):
-            raise LogrotateConfigurationError( _("File »%s« doesn't exists.") % (configfile))
+            raise LogrotateConfigurationError( _("File '%s' doesn't exists.") % (configfile))
 
         if not os.path.isfile(configfile):
-            raise LogrotateConfigurationError( _("»%s« is not a regular file.") % (configfile))
+            raise LogrotateConfigurationError( _("'%s' is not a regular file.") % (configfile))
 
         self.config_files[configfile] = True
 
-        self.logger.info( _("Reading configuration from »%s« ...") % (configfile) )
+        self.logger.info( _("Reading configuration from '%s' ...") % (configfile) )
 
         cfile = None
         try:
             cfile = open(configfile, 'Ur')
         except IOError, e:
-            raise LogrotateConfigurationError( ( _("Could not read configuration file »%s«") % (configfile) ) + ': ' + str(e))
+            raise LogrotateConfigurationError( ( _("Could not read configuration file '%s'") % (configfile) ) + ': ' + str(e))
         lines = cfile.readlines()
         cfile.close()
 
@@ -708,7 +708,7 @@ class LogrotateConfigurationReader(object):
             if line == '{':
 
                 if self.verbose > 3:
-                    self.logger.debug( ( _("Starting a logfile definition (file »%(file)s«, line %(line)s)") 
+                    self.logger.debug( ( _("Starting a logfile definition (file '%(file)s', line %(line)s)") 
                                         % {'file': configfile, 'line': linenr}))
 
                 self._start_logfile_definition( 
@@ -728,7 +728,7 @@ class LogrotateConfigurationReader(object):
 
                 if in_fd:
                     raise LogrotateConfigurationError(
-                        ( _("Logfile pattern definition not allowed inside a logfile definition (file »%(file)s«, line %(line)s)")
+                        ( _("Logfile pattern definition not allowed inside a logfile definition (file '%(file)s', line %(line)s)")
                             % {'file': configfile, 'line': linenr})
                     )
                 do_start_logfile_definition = False
@@ -745,14 +745,14 @@ class LogrotateConfigurationReader(object):
                 parts = split_parts(line)
                 if self.verbose > 3:
                     self.logger.debug(
-                        ( _("Split into parts of: »%s«") % (line))
+                        ( _("Split into parts of: '%s'") % (line))
                         + ":\n" + pp.pformat(parts)
                     )
 
                 for pattern in parts:
                     if pattern == '{':
                         raise LogrotateConfigurationError(
-                            ( _("Syntax error: open curly bracket inside a logfile pattern definition (file »%(file)s«, line %(line)s)")
+                            ( _("Syntax error: open curly bracket inside a logfile pattern definition (file '%(file)s', line %(line)s)")
                                 % {'file': configfile, 'line': linenr})
                         )
                     self.new_log['file_patterns'].append(pattern)
@@ -776,15 +776,15 @@ class LogrotateConfigurationReader(object):
             if match:
                 if not in_fd:
                     raise LogrotateConfigurationError(
-                        ( _("Syntax error: unbalanced closing curly bracket found (file »%(file)s«, line %(line)s)")
+                        ( _("Syntax error: unbalanced closing curly bracket found (file '%(file)s', line %(line)s)")
                             % {'file': configfile, 'line': linenr})
                     )
                 rest = match.group(1)
                 if self.verbose > 2:
-                    self.logger.debug( ( _("End of a logfile definition (file »%(file)s«, line %(line)s)") % {'file': configfile, 'line': linenr}))
+                    self.logger.debug( ( _("End of a logfile definition (file '%(file)s', line %(line)s)") % {'file': configfile, 'line': linenr}))
                 if rest:
                     self.logger.warning(
-                        ( _("Needless content found at the end of a logfile definition found: »%(rest)s« (file »%(file)s«, line %(line)s)")
+                        ( _("Needless content found at the end of a logfile definition found: '%(rest)s' (file '%(file)s', line %(line)s)")
                             % { 'rest': str(rest), 'file': configfile, 'line': linenr})
                     )
                 if self.verbose > 3:
index fe48a0300c2d715f182c8a08fa1996765fded46d..3d4552b98e8e570d1970bd82377f4bffc1cff9cf 100644 (file)
@@ -31,7 +31,7 @@ msgstr "Setze Vorgabewerte für Direktiven auf hardkodierte Werte zurück"
 
 #: LogRotateConfig.py:418
 #, python-format
-msgid "Invalid taboo pattern type »%s« given"
+msgid "Invalid taboo pattern type '%s' given"
 msgstr "Ungültiger Tabutyp »%s« gegeben"
 
 #: LogRotateConfig.py:422
@@ -58,82 +58,77 @@ msgstr "Shred Befehl gefunden: »%s«"
 msgid "Shred command not found, shred disabled"
 msgstr "Shred Befehl nicht gefunden, shred wird deaktiviert"
 
-#: LogRotateConfig.py:628
+#: LogRotateConfig.py:628 LogRotateConfig.py:653
 #, 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« ..."
+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."
+msgid "'%s' is not a regular file."
 msgstr "»%s« ist keine reguläre Datei."
 
 #: LogRotateConfig.py:660
 #, python-format
-msgid "Reading configuration from »%s« ..."
+msgid "Reading configuration from '%s' ..."
 msgstr "Lese Konfiguration aus »%s« ..."
 
 #: LogRotateConfig.py:666
 #, python-format
-msgid "Could not read configuration file »%s«"
+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)"
+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 ""
+"'%(file)s', line %(line)s)"
+msgstr "Die Definition eines Logdateimusters ist innerhalb einer Logdateidefinition nicht erlaubt. Datei »%(file)s«, Zeil %(line)s)"
 
 #: LogRotateConfig.py:748
 #, python-format
-msgid "Split into parts of: »%s«"
-msgstr ""
+msgid "Split into parts of: '%s'"
+msgstr "Zerteile: »%s«"
 
 #: LogRotateConfig.py:755
 #, python-format
 msgid ""
 "Syntax error: open curly bracket inside a logfile pattern definition (file "
-"»%(file)s«, line %(line)s)"
-msgstr ""
+"'%(file)s', line %(line)s)"
+msgstr "Syntaxfehler: öffnende geschweifte Klammer innerhalb einer Logdateidefinition (Datei »%(file)s«, Zeile %(line)s)"
 
 #: LogRotateConfig.py:779
 #, python-format
 msgid ""
-"Syntax error: unbalanced closing curly bracket found (file »%(file)s«, line "
+"Syntax error: unbalanced closing curly bracket found (file '%(file)s', line "
 "%(line)s)"
-msgstr ""
+msgstr "Syntaxfehler: unausgeglichene Zahl von öffnenden und schließenden Klammern (Datei »%(file)s«, Zeile %(line)s)"
 
 #: LogRotateConfig.py:784
 #, python-format
-msgid "End of a logfile definition (file »%(file)s«, line %(line)s)"
-msgstr ""
+msgid "End of a logfile definition (file '%(file)s', line %(line)s)"
+msgstr "Ende einer Logdateidefinition (Datei »%(file)s«, Zeil %(line)s)"
 
 #: 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 ""
+"'%(rest)s' (file '%(file)s', line %(line)s)"
+msgstr "Nutzloser Inhalt am Ende einer Logdateidefinition gefunden: »%(rest)s« (Datei »%(file)s«, Zeil %(line)s)"
 
 #: LogRotateConfig.py:791
 msgid "New logfile definition:"
-msgstr ""
+msgstr "Neue Logdateidefinition:"
 
 #: LogRotateConfig.py:804
 #, python-format