]> Frank Brehm's Git Trees - my-stuff/py-logrotate.git/commitdiff
Mit Localisation von LogRotateConfig.py angefangen
authorFrank Brehm <frank@brehm-online.com>
Wed, 11 May 2011 10:14:32 +0000 (10:14 +0000)
committerFrank Brehm <frank@brehm-online.com>
Wed, 11 May 2011 10:14:32 +0000 (10:14 +0000)
git-svn-id: http://svn.brehm-online.com/svn/my-stuff/python/PyLogrotate/trunk@235 ec8d2aa5-1599-4edb-8739-2b3a1bc399aa

LogRotateConfig.py
LogRotateHandler.py
po/LogRotateConfig.pot [new file with mode: 0644]

index 06f51c642be1d2485aa02301f15b54c7c7c9f327..851d8f358ba5a416bce2697f1162e9401590c193 100755 (executable)
@@ -1394,7 +1394,6 @@ class LogrotateConfigurationReader(object):
                 self.logger.warning( ( _("Invalid definition for »size«: »%s«.") %(size_str)))
                 return False
             if self.verbose > 4:
-                self.logger.debug( ( _("Got a rotation size of %d bytes. (file »%s«, line %s)") % (size_bytes, filename, linenr)))
                 self.logger.debug(
                     ( _("Got a rotation size in »%(directive)s« of %(bytes)d bytes. (file »%(file)s«, line %(lnr)s)")
                         % {'directive': directive_str, 'bytes': size_bytes, 'file': filename, 'lnr': linenr})
@@ -1408,7 +1407,10 @@ class LogrotateConfigurationReader(object):
         if match:
             key = match.group(1).lower()
             if self.verbose > 5:
-                self.logger.debug( ( _("Checking for option »taboo%s«, value: »%s« ... (file »%s«, line %s)") % (key, val, filename, linenr)))
+                self.logger.debug(
+                    ( _("Checking for option »taboo%(type)s«, value: »%(value)s« ... (file »%(file)s«, line %(lnr)s)")
+                        % {'type': key, 'value': val, 'file': filename, 'lnr': linenr})
+                )
 
             if in_fd:
                 self.logger.warning( ( _("Option »taboo%s« not allowed inside a logfile directive.") %(key)))
@@ -1465,32 +1467,24 @@ class LogrotateConfigurationReader(object):
         # insufficient arguments to include ...
         if len(values) < 1:
             self.logger.warning(
-                ( _("No script name given in a script directive "
-                    + "(file »%s«, line %s)")
-                    % (filename, linenr)
-                )
+                ( _("No script name given in a script directive (file »%(file)s«, line %(lnr)s)")
+                    % {'file': filename, 'lnr': linenr})
             )
             return None
 
         # to much arguments to include ...
         if len(values) > 1:
             self.logger.warning(
-                ( _("Only one script name is allowed "
-                    + "in a script directive, the first one is used. "
-                    + "(file »%s«, line %s)")
-                    % (filename, linenr)
-                )
+                ( _("Only one script name is allowed in a script directive, the first one is used. (file »%(file)s«, line %(lnr)s)")
+                    % {'file': filename, 'lnr': linenr})
             )
 
         script_name = values[0]
 
         if script_name in self.scripts:
             self.logger.warning(
-                ( _("Script name »%s« is allready declared, "
-                    + "it will be overwritten. "
-                    + "(file »%s«, line %s)")
-                    % (script_name, filename, linenr)
-                )
+                ( _("Script name »%(name)s« is allready declared, it will be overwritten. (file »%(file)s«, line %(lnr)s)")
+                    % {'name': script_name, 'file': filename, 'lnr': linenr})
             )
 
         self.scripts[script_name] = {}
@@ -1530,27 +1524,37 @@ class LogrotateConfigurationReader(object):
 
         # insufficient arguments to include ...
         if len(values) < 1:
-            self.logger.warning( ( _("No file or directory given in a include directive (file »%s«, line %s)") % (filename, linenr)))
+            self.logger.warning(
+                ( _("No file or directory given in a include directive (file »%(file)s«, line %(lnr)s)")
+                    % {'file': filename, 'lnr': linenr})
+            )
             return False
 
         # to much arguments to include ...
         if len(values) > 1:
             self.logger.warning(
-                ( _("Only one declaration of a file or directory is allowed in a include directive, the first one is used. (file »%s«, line %s)") % (filename, linenr))
+                ( _("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)")
+                    % {'file': filename, 'lnr': linenr})
             )
 
         include = values[0]
 
         # including object doesn't exists
         if not os.path.exists(include):
-            self.logger.warning( ( _("Including object »%s« doesn't exists. (file »%s«, line %s)") % (include, filename, linenr)))
+            self.logger.warning(
+                ( _("Including object »%(include)s« doesn't exists. (file »%(file)s«, line %(lnr)s)")
+                    % {'include': include, 'file': filename, 'lnr': linenr})
+            )
             return False
 
         include = os.path.abspath(include)
 
         # including object is neither a regular file nor a directory
         if not (os.path.isfile(include) or os.path.isdir(include)):
-            self.logger.warning( ( _("Including object »%s« is neither a regular file  nor a directory. (file »%s«, line %s)") % (include, filename, linenr)))
+            self.logger.warning(
+                ( _("Including object »%(include)s« is neither a regular file  nor a directory. (file »%(file)s«, line %(lnr)s)")
+                    % {'include': include, 'file': filename, 'lnr': linenr})
+            )
             return False
 
         if self.verbose > 1:
@@ -1559,13 +1563,19 @@ class LogrotateConfigurationReader(object):
         # including object is a regular file
         if os.path.isfile(include):
             if include in self.config_files:
-                self.logger.warning( ( _("Recursive including of »%s« (file »%s«, line %s)") % (include, filename, linenr)))
+                self.logger.warning(
+                    ( _("Recursive including of »%(include)s« (file »%(file)s«, line %(lnr)s)")
+                        % {'include': include, 'file': filename, 'lnr': linenr})
+                )
                 return False
             return self._read(include)
 
         # This should never happen ...
         if not os.path.isdir(include):
-            raise Exception( ( _("What the hell is this: »%s«. (file »%s«, line %s)") % (include, filename, linenr)))
+            raise Exception(
+                ( _("What the hell is this: »%(include)s«. (file »%(file)s«, line %(lnr)s)")
+                    % {'include': include, 'file': filename, 'lnr': linenr})
+            )
 
         # including object is a directory - include all files
         if self.verbose > 1:
@@ -1595,7 +1605,10 @@ class LogrotateConfigurationReader(object):
                 match = re.search(pattern, item)
                 if match:
                     if self.verbose > 1:
-                        self.logger.debug( ( _("Item »%s« is matching pattern »%s«, skiping.") % (item, pattern)))
+                        self.logger.debug(
+                            ( _("Item »%(item)s« is matching pattern »%(pattern)s«, skiping.")
+                                % {'item': item, 'pattern': pattern})
+                        )
                     taboo_found = True
                     break
             if taboo_found:
@@ -1603,7 +1616,10 @@ class LogrotateConfigurationReader(object):
 
             # Check, whther it was former included
             if item_path in self.config_files:
-                self.logger.warning( ( _("Recursive including of »%s« (file »%s«, line %s)") % (item_path, filename, linenr)))
+                self.logger.warning(
+                    ( _("Recursive including of »%(include)s« (file »%(file)s«, line %(lnr)s)")
+                        % {'include': item_path, 'file': filename, 'lnr': linenr})
+                )
                 return False
             self._read(item_path)
 
@@ -1633,10 +1649,16 @@ class LogrotateConfigurationReader(object):
         _ = self.t.lgettext
 
         if in_fd:
-            raise LogrotateConfigurationError( ( _("Nested logfile definitions are not allowed (file »%s«, line %s)") % (filename, linenr) ))
+            raise LogrotateConfigurationError(
+                ( _("Nested logfile definitions are not allowed (file »%(file)s«, line %(lnr)s)")
+                    % {'file': filename, 'lnr': linenr})
+            )
 
         if not in_logfile_list:
-            raise LogrotateConfigurationError( ( _("No logfile pattern defined on starting a logfile definition (file »%s«, line %s)") % (filename, linenr) ))
+            raise LogrotateConfigurationError(
+                ( _("No logfile pattern defined on starting a logfile definition (file »%(file)s«, line %(lnr)s)")
+                    % {'file': filename, 'lnr': linenr})
+            )
 
     #------------------------------------------------------------
     def _start_log_script_definition( self, script_type, script_name, line, filename, in_fd, linenr):
@@ -1666,7 +1688,10 @@ class LogrotateConfigurationReader(object):
         _ = self.t.lgettext
 
         if not in_fd:
-            raise LogrotateConfigurationError( ( _("Directive »%s« is not allowed outside of a logfile definition (file »%s«, line %s)") % (script_type, filename, linenr) ))
+            raise LogrotateConfigurationError(
+                ( _("Directive »%(directive)s« is not allowed outside of a logfile definition (file »%(file)s«, line %(lnr)s)")
+                    % {'directive': script_type, 'file': filename, 'lnr': linenr})
+            )
 
         if script_name:
             self.new_log[script_type] = script_name
index c9a1224cf3d7f24b12b64c3fc709bd8f9dc3cb55..4c89d339ba9b580b029167a567405594d35ff8fd 100755 (executable)
@@ -32,7 +32,7 @@ revision = re.sub( r'\s*$', '', revision )
 __author__    = 'Frank Brehm'
 __copyright__ = '(C) 2011 by Frank Brehm, Berlin'
 __contact__    = 'frank@brehm-online.com'
-__version__    = '0.1.0 ' + revision
+__version__    = '0.3.0 ' + revision
 __license__    = 'GPL3'
 
 
diff --git a/po/LogRotateConfig.pot b/po/LogRotateConfig.pot
new file mode 100644 (file)
index 0000000..a4501af
--- /dev/null
@@ -0,0 +1,599 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# Frank Brehm <frank@brehm-online.com>, 2011.
+#
+# $Id$
+# $URL$
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: pylogrotate 0.3\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-05-11 12:03+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: LogRotateConfig.py:322
+msgid "Logrotate config reader initialised"
+msgstr ""
+
+#: LogRotateConfig.py:360
+msgid "Resetting default values for directives to hard coded values"
+msgstr ""
+
+#: LogRotateConfig.py:418
+#, python-format
+msgid "Invalid pattern type \"%s\" given"
+msgstr ""
+
+#: LogRotateConfig.py:422
+#, python-format
+msgid "New taboo pattern: '%s'."
+msgstr ""
+
+#: LogRotateConfig.py:451 LogRotateConfig.py:463 LogRotateConfig.py:473
+#, python-format
+msgid "'%s' is not a directory"
+msgstr ""
+
+#: LogRotateConfig.py:522 LogRotateConfig.py:578
+#, python-format
+msgid "Search path '%s' doesn't exists or is not a directory"
+msgstr ""
+
+#: LogRotateConfig.py:525
+#, python-format
+msgid "Shred command found: '%s'"
+msgstr ""
+
+#: LogRotateConfig.py:529
+msgid "Shred command not found, shred disabled"
+msgstr ""
+
+#: LogRotateConfig.py:628
+#, python-format
+msgid "File '%s' doesn't exists."
+msgstr ""
+
+#: LogRotateConfig.py:650
+#, python-format
+msgid "Try reading configuration from »%s« ..."
+msgstr ""
+
+#: LogRotateConfig.py:653
+#, python-format
+msgid "File »%s« doesn't exists."
+msgstr ""
+
+#: LogRotateConfig.py:656
+#, python-format
+msgid "»%s« is not a regular file."
+msgstr ""
+
+#: LogRotateConfig.py:660
+#, python-format
+msgid "Reading configuration from »%s« ..."
+msgstr ""
+
+#: LogRotateConfig.py:666
+#, python-format
+msgid "Could not read configuration file »%s«"
+msgstr ""
+
+#: LogRotateConfig.py:711
+#, python-format
+msgid "Starting a logfile definition (file »%(file)s«, line %(line)s)"
+msgstr ""
+
+#: 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 ""
+
+#: 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 ""