rest = match.group(1)
if in_fd or in_logfile_list:
self.logger.warning(
- ( _("Syntax error: include may not appear inside of log file definition (file »%(file)s«, line %(line)s)")
+ ( _("Syntax error: include may not appear inside of log file definition (file '%(file)s', line %(line)s)")
% {'file': configfile, 'line': linenr})
)
continue
script_name = values[0]
if self.verbose > 3:
self.logger.debug(
- ( _("Found start of a regular script definition: type: »%(type)s«, name: »%(name)s« (file »%(file)s«, line %(line)s)")
+ ( _("Found start of a regular script definition: type: '%(type)s', name: '%(name)s' (file '%(file)s', line %(line)s)")
% {'type': script_type, 'name': script_name, 'file': configfile, 'line': linenr})
)
newscript = self._start_log_script_definition(
if newscript:
in_script = True
if self.verbose > 3:
- self.logger.debug( ( _("New log script name: »%s«.") % (newscript) ))
+ self.logger.debug( ( _("New log script name: '%s'.") % (newscript) ))
continue
# start of an explicite external script definition
match = re.search(r'^script(\s+.*)?$', line, re.IGNORECASE)
if match:
if self.verbose > 3:
- self.logger.debug( ( _("Found start of a external script definition. (file »%(file)s«, line %(line)s)")
+ self.logger.debug( ( _("Found start of a external script definition. (file '%(file)s', line %(line)s)")
% {'file': configfile, 'line': linenr})
)
rest = match.group(1)
if in_fd or in_logfile_list:
self.logger.warning(
- ( _("Syntax error: external script definition may not appear inside of a log file definition (file »%(file)s«, line %(line)s)")
+ ( _("Syntax error: external script definition may not appear inside of a log file definition (file '%(file)s', line %(line)s)")
% {'file': configfile, 'line': linenr})
)
continue
if newscript:
in_script = True
if self.verbose > 3:
- self.logger.debug( ( _("New external script name: »%s«.") % (newscript) ))
+ self.logger.debug( ( _("New external script name: '%s'.") % (newscript) ))
continue
# all other options
if not self._option(line, in_fd, configfile, linenr):
- self.logger.warning( ( _("Syntax error in file »%(file)s«, line %(line)s")
+ self.logger.warning( ( _("Syntax error in file '%(file)s', line %(line)s")
% {'file': configfile, 'line': linenr})
)
option = match.group(1).lower()
val = match.group(2)
else:
- self.logger.warning( ( _("Could not detect option in line »%s«.") % (line)))
+ self.logger.warning( ( _("Could not detect option in line '%s'.") % (line)))
return False
# Check for unsupported options
match = re.search(pattern, option, re.IGNORECASE)
if match:
self.logger.info(
- ( _("Unsupported option »%(option)s«. (file »%(file)s«, line %(lnr)s)")
+ ( _("Unsupported option '%(option)s'. (file '%(file)s', line %(lnr)s)")
% {'option': match.group(1).lower(), 'file': filename, 'lnr': linenr})
)
return True
key = match.group(2).lower()
if val:
self.logger.warning(
- ( _("Found value »%(value)s« behind the boolean option »%(option)s«, ignoring. (file »%(file)s«, line %(lnr)s)")
+ ( _("Found value '%(value)s' behind the boolean option '%(option)s', ignoring. (file '%(file)s', line %(lnr)s)")
% {'value': val, 'option': option, 'file': filename, 'lnr': linenr})
)
if negated is None:
option_value = False
if self.verbose > 4:
self.logger.debug(
- ( _("Setting boolean option »%(option)s« in »%(directive)s« to »%(value)s«. (file »%(file)s«, line %(lnr)s)")
+ ( _("Setting boolean option '%(option)s' in '%(directive)s' to '%(value)s'. (file '%(file)s', line %(lnr)s)")
% {'option': key, 'directive': directive_str, 'value': str(option_value), 'file': filename, 'lnr': linenr})
)
directive[key] = option_value
if negated is None:
if key in options_with_values:
if val is None or val == '':
- self.logger.warning( ( _("Option »%s« without a necessary value.") % (key)))
+ self.logger.warning( ( _("Option '%s' without a necessary value.") % (key)))
return False
else:
if val is None or val == '':
option_value = long(val)
except ValueError, e:
self.logger.warning(
- ( _("Option »%(option)s« has no integer value: %(msg)s.")
+ ( _("Option '%(option)s' has no integer value: %(msg)s.")
% {'option': key, 'msg': str(e)})
)
return False
if option_value < 0:
self.logger.warning(
- ( _("Negative value %(value)s for option »%(option)s« is not allowed.")
+ ( _("Negative value %(value)s for option '%(option)s' is not allowed.")
% {'value': str(option_value), 'option': key})
)
return False
#: LogRotateConfig.py:784
#, python-format
msgid "End of a logfile definition (file '%(file)s', line %(line)s)"
-msgstr "Ende einer Logdateidefinition (Datei »%(file)s«, Zeil %(line)s)"
+msgstr "Ende einer Logdateidefinition (Datei »%(file)s«, Zeile %(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 "Nutzloser Inhalt am Ende einer Logdateidefinition gefunden: »%(rest)s« (Datei »%(file)s«, Zeil %(line)s)"
+msgstr "Nutzloser Inhalt am Ende einer Logdateidefinition gefunden: »%(rest)s« (Datei »%(file)s«, Zeile %(line)s)"
#: LogRotateConfig.py:791
msgid "New logfile definition:"
#, python-format
msgid ""
"Syntax error: include may not appear inside of log file definition (file "
-"»%(file)s«, line %(line)s)"
-msgstr ""
+"'%(file)s', line %(line)s)"
+msgstr "Syntaxfehler: Eine include-Anweisung darf nicht einer Logdateidefinition auftreten Datei »%(file)s«, Zeile %(line)s)"
#: 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 ""
+"Found start of a regular script definition: type: '%(type)s', name: "
+"'%(name)s' (file '%(file)s', line %(line)s)"
+msgstr "Beginn einer regulären Scriptdefinition gefunden: »%(type)s«, Name: »%(name)s« (Datei »%(file)s«, Zeile %(line)s)"
#: LogRotateConfig.py:837
#, python-format
-msgid "New log script name: »%s«."
-msgstr ""
+msgid "New log script name: '%s'."
+msgstr "Neuer Scriptname: »%s«"
#: LogRotateConfig.py:844
#, python-format
msgid ""
-"Found start of a external script definition. (file »%(file)s«, line %(line)s)"
-msgstr ""
+"Found start of a external script definition. (file '%(file)s', line %(line)s)"
+msgstr "Beginn einer externen Scriptdefinition gefunden. (Datei »%(file)s«, Zeile %(line)s)"
#: 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 ""
+"definition (file '%(file)s', line %(line)s)"
+msgstr "Syntaxfehler: eine externe Scriptdefinition darf nicht innerhalb einer Logdateidefinition auftreten (Datei »%(file)s«, Zeile %(line)s)"
#: LogRotateConfig.py:860
#, python-format
-msgid "New external script name: »%s«."
-msgstr ""
+msgid "New external script name: '%s'."
+msgstr "Neuer externer Scriptname: »%s«"
#: LogRotateConfig.py:865
#, python-format
-msgid "Syntax error in file »%(file)s«, line %(line)s"
-msgstr ""
+msgid "Syntax error in file '%(file)s', line %(line)s"
+msgstr "Syntaxfehler in Datei Datei »%(file)s«, Zeile %(line)s"
#: LogRotateConfig.py:894
#, python-format
#: LogRotateConfig.py:913
#, python-format
-msgid "Could not detect option in line »%s«."
-msgstr ""
+msgid "Could not detect option in line '%s'."
+msgstr "Konnte keine Option in Zeile »%s« ermitteln."
#: LogRotateConfig.py:921
#, python-format
-msgid "Unsupported option »%(option)s«. (file »%(file)s«, line %(lnr)s)"
-msgstr ""
+msgid "Unsupported option '%(option)s'. (file '%(file)s', line %(lnr)s)"
+msgstr "Nicht unterstützte Option »%(option)s«. (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:934
#, python-format
msgid ""
-"Found value »%(value)s« behind the boolean option »%(option)s«, ignoring. "
-"(file »%(file)s«, line %(lnr)s)"
-msgstr ""
+"Found value '%(value)s' behind the boolean option '%(option)s', ignoring. "
+"(file '%(file)s', line %(lnr)s)"
+msgstr "Wert »%(value)s« nach boolscher Option »%(option)s« gefunden, wird ignoriert. (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:943
#, python-format
msgid ""
-"Setting boolean option »%(option)s« in »%(directive)s« to »%(value)s«. (file "
-"»%(file)s«, line %(lnr)s)"
-msgstr ""
+"Setting boolean option '%(option)s' in '%(directive)s' to '%(value)s'. (file "
+"'%(file)s', line %(lnr)s)"
+msgstr "Setze boolsche Option »%(option)s« in »%(directive)s« auf »%(value)s«. (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:959
#, python-format
-msgid "Option »%s« without a necessary value."
-msgstr ""
+msgid "Option '%s' without a necessary value."
+msgstr "Der Option »%s« wurde kein Wert zugewiesen."
#: LogRotateConfig.py:968
#, python-format
-msgid "Option »%(option)s« has no integer value: %(msg)s."
-msgstr ""
+msgid "Option '%(option)s' has no integer value: %(msg)s."
+msgstr "Der Option »%(option)s« wurde kein Integerwert zugewiesen: %(msg)s."
#: LogRotateConfig.py:974
#, python-format
-msgid "Negative value %(value)s for option »%(option)s« is not allowed."
-msgstr ""
+msgid "Negative value %(value)s for option '%(option)s' is not allowed."
+msgstr "Der negative Wert %(value)s für die Option »%(option)s« ist nicht erlaubt."
#: LogRotateConfig.py:980
#, python-format