return False
if self.verbose > 4:
self.logger.debug(
- ( _("Setting integer option »%(option)s« in »%(directive)s« to »%(value)s«. (file »%(file)s«, line %(lnr)s)")
+ ( _("Setting integer 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
directive['mailaddress'] = None
if val is not None and val != '':
self.logger.warning(
- ( _("Senseless option value »%(value)s« after »%(option)s«.")
+ ( _("Senseless option value '%(value)s' after '%(option)s'.")
% {'value': val, 'option': option.lower()})
)
return False
return True
if not email_valid(val):
directive['mailaddress'] = None
- self.logger.warning( ( _("Invalid Mail address »%s«.") % (val)))
+ self.logger.warning( ( _("Invalid Mail address '%s'.") % (val)))
return False
directive['mailaddress'] = val
if self.verbose > 4:
self.logger.debug(
- ( _("Setting mail address in »%(directive)s« to »%(addr)s«. (file »%(file)s«, line %(lnr)s)")
+ ( _("Setting mail address in '%(directive)s' to '%(addr)s'. (file '%(file)s', line %(lnr)s)")
% {'directive': directive_str, 'addr': val, 'file': filename, 'lnr': linenr})
)
return True
directive['mailfirst'] = option_value
if self.verbose > 4:
self.logger.debug(
- ( _("Setting mailfirst in »%(directive)s« to »%(value)s«. (file »%(file)s«, line %(lnr)s)")
+ ( _("Setting mailfirst in '%(directive)s' to '%(value)s'. (file '%(file)s', line %(lnr)s)")
% {'directive': directive_str, 'value': str(option_value), 'file': filename, 'lnr': linenr})
)
if val is not None and val != '':
self.logger.warning(
- ( _("Senseless option value »%(value)s« after »%(option)s«.")
+ ( _("Senseless option value »%(value)s« after '%(option)s'.")
% {'value': val, 'option': option.lower()})
)
return False
key = match.group(1).lower()
if key in options_with_values:
if self.verbose > 5:
- self.logger.debug( ( _("Option »%s« must have a value.") %(key)))
+ self.logger.debug( ( _("Option '%s' must have a value.") %(key)))
if (val is None) or (re.search(r'^\s*$', val) is None):
- self.logger.warning( ( _("Option »%s« without a value") %(key)))
+ self.logger.warning( ( _("Option '%s' without a value") %(key)))
return False
if key == 'compresscmd':
prog = self.check_compress_command(val)
if prog is None:
- self.logger.warning( ( _("Compress command »%s« not found.") %(val)))
+ self.logger.warning( ( _("Compress command '%s' not found.") %(val)))
return False
val = prog
if key == 'compressoptions' and val is None:
if match:
key = match.group(1).lower()
if in_fd:
- self.logger.warning( ( _("Option »%s« not allowed inside a logfile directive.") %(key)))
+ self.logger.warning( ( _("Option '%s' not allowed inside a logfile directive.") %(key)))
return False
if key in options_with_values:
if self.verbose > 5:
- self.logger.debug( ( _("Option »%s« must have a value.") %(key)))
+ self.logger.debug( ( _("Option '%s' must have a value.") %(key)))
if (val is None) or (re.search(r'^\s*$', val) is not None):
- self.logger.warning( ( _("Option »%s« without a value") %(key)))
+ self.logger.warning( ( _("Option '%s' without a value") %(key)))
return False
if key in path_options:
if not os.path.abspath(val):
self.logger.warning(
- ( _("Value »%(value)s« for option »%(option)s« is not an absolute path.")
+ ( _("Value '%(value)s' for option '%(option)s' is not an absolute path.")
% {'value': val, 'option': key} )
)
return False
if self.verbose > 4:
self.logger.debug(
- ( _("Setting %(option)s in »%(directive)s« to »%(value)s«. (file »%(file)s«, line %(lnr)s)")
+ ( _("Setting '%(option)s' in '%(directive)s' to '%(value)s'. (file '%(file)s', line %(lnr)s)")
% {'option': key, 'directive': directive_str, 'value': str(val), 'file': filename, 'lnr': linenr})
)
directive[key] = val
key = match.group(1).lower()
if self.verbose > 4:
self.logger.debug(
- ( _("Checking »period«: key »%(key)s«, value »%(value)s«. (file »%(file)s«, line %(lnr)s)")
+ ( _("Checking 'period': key '%(key)s', value '%(value)s'. (file '%(file)s', line %(lnr)s)")
% {'key': key, 'value': str(val), 'file': filename, 'lnr': linenr})
)
option_value = 1
if key in valid_periods:
if (val is not None) and (re.search(r'^\s*$', val) is None):
self.logger.warning(
- ( _("Option »%(option)s« may not have a value (»%(value)s«). (file »%(file)s«, line %(lnr)s)")
+ ( _("Option '%(option)s' may not have a value ('%(value)s'). (file '%(file)s', line %(lnr)s)")
% {'option': key, 'value': val, 'file': filename, 'lnr': linenr})
)
option_value = valid_periods[key]
try:
option_value = period2days(val, verbose = self.verbose)
except ValueError, e:
- self.logger.warning( ( _("Invalid period definition: »%s«") %(val) ))
+ self.logger.warning( ( _("Invalid period definition: '%s'") %(val) ))
return False
if self.verbose > 4:
self.logger.debug(
- ( _("Setting »period« in »%(directive)s« to %(days)f days. (file »%(file)s«, line %(lnr)s)")
+ ( _("Setting 'period' in '%(directive)s' to %(days)f days. (file '%(file)s', line %(lnr)s)")
% {'directive': directive_str, 'days': option_value, 'file': filename, 'lnr': linenr})
)
directive['period'] = option_value
#: LogRotateConfig.py:980
#, python-format
msgid ""
-"Setting integer option »%(option)s« in »%(directive)s« to »%(value)s«. (file "
-"»%(file)s«, line %(lnr)s)"
-msgstr ""
+"Setting integer option '%(option)s' in '%(directive)s' to '%(value)s'. (file "
+"'%(file)s', line %(lnr)s)"
+msgstr "Setze die Integer-Option '%(option)s' in '%(directive)s' auf '%(value)s'. (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:994 LogRotateConfig.py:1026
#, python-format
-msgid "Senseless option value »%(value)s« after »%(option)s«."
-msgstr ""
+msgid "Senseless option value '%(value)s' after '%(option)s'."
+msgstr "Sinnloser Optionswert »%(value)s« nach »%(option)s«."
#: LogRotateConfig.py:1001
#, python-format
-msgid "Invalid Mail address »%s«."
-msgstr ""
+msgid "Invalid Mail address '%s'."
+msgstr "Ungültige E-Mail-Adresse »%s«."
#: LogRotateConfig.py:1006
#, python-format
msgid ""
-"Setting mail address in »%(directive)s« to »%(addr)s«. (file »%(file)s«, "
+"Setting mail address in '%(directive)s' to '%(addr)s'. (file '%(file)s', "
"line %(lnr)s)"
-msgstr ""
+msgstr "Setze Mailadresse in »%(directive)s« auf »%(addr)s«. (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:1021
#, python-format
msgid ""
-"Setting mailfirst in »%(directive)s« to »%(value)s«. (file »%(file)s«, line "
+"Setting mailfirst in '%(directive)s' to '%(value)s'. (file '%(file)s', line "
"%(lnr)s)"
-msgstr ""
+msgstr "Setze mailfirst in »%(directive)s« auf »%(value)s«. (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:1039 LogRotateConfig.py:1064
#, python-format
-msgid "Option »%s« must have a value."
-msgstr ""
+msgid "Option '%s' must have a value."
+msgstr "Die Option »%s« muss einen Wert haben."
#: LogRotateConfig.py:1041 LogRotateConfig.py:1066
#, python-format
-msgid "Option »%s« without a value"
-msgstr ""
+msgid "Option '%s' without a value"
+msgstr "Die Option »%s« hat keinen Optionswert."
#: LogRotateConfig.py:1046
#, python-format
-msgid "Compress command »%s« not found."
-msgstr ""
+msgid "Compress command '%s' not found."
+msgstr "Das Komprimierungskommando »%s« wurde nicht gefunden."
#: LogRotateConfig.py:1060
#, python-format
-msgid "Option »%s« not allowed inside a logfile directive."
-msgstr ""
+msgid "Option '%s' not allowed inside a logfile directive."
+msgstr "Die Option »%s« ist innerhalb einer Logdateidefinition nicht erlaubt."
#: LogRotateConfig.py:1071
#, python-format
-msgid "Value »%(value)s« for option »%(option)s« is not an absolute path."
-msgstr ""
+msgid "Value '%(value)s' for option '%(option)s' is not an absolute path."
+msgstr "Der Wert »%(value)s« für die Option »%(option)s« ist keine absolute Pfadangabe."
#: LogRotateConfig.py:1077
#, python-format
msgid ""
-"Setting %(option)s in »%(directive)s« to »%(value)s«. (file »%(file)s«, line "
+"Setting '%(option)s' in '%(directive)s' to '%(value)s'. (file '%(file)s', line "
"%(lnr)s)"
-msgstr ""
+msgstr "Setze »%(option)s« in »%(directive)s« auf »%(value)s«. (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:1090
#, python-format
msgid ""
-"Checking »period«: key »%(key)s«, value »%(value)s«. (file »%(file)s«, line "
+"Checking 'period': key '%(key)s', value '%(value)s'. (file '%(file)s', line "
"%(lnr)s)"
-msgstr ""
+msgstr "Überprüfe »period«: Schlüssel »%(key)s«, Wert »%(value)s«. (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:1097
#, python-format
msgid ""
-"Option »%(option)s« may not have a value (»%(value)s«). (file »%(file)s«, "
+"Option '%(option)s' may not have a value ('%(value)s'). (file '%(file)s', "
"line %(lnr)s)"
-msgstr ""
+msgstr "Die Option »%(option)s« darf keinen Wert aufweisen (»%(value)s«). (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:1105
#, python-format
-msgid "Invalid period definition: »%s«"
-msgstr ""
+msgid "Invalid period definition: '%s'"
+msgstr "Ungültige Angabe einer Rotationsperiode: »%s«"
#: LogRotateConfig.py:1109
#, python-format
msgid ""
-"Setting »period« in »%(directive)s« to %(days)f days. (file »%(file)s«, line "
+"Setting 'period' in '%(directive)s' to %(days)f days. (file '%(file)s', line "
"%(lnr)s)"
-msgstr ""
+msgstr "Setze Rotationsperiode in »%(directive)s« auf %(days)f Tage. (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:1128
#, python-format