try:
option_value = period2days(val, verbose = self.verbose)
except ValueError, e:
- self.logger.warning( ( _("Invalid maxage definition: »%s«") %(val) ))
+ self.logger.warning( ( _("Invalid maxage definition: '%s'") %(val) ))
return False
if self.verbose > 4:
self.logger.debug(
- ( _("Setting »maxage« in »%(directive)s« to %(days)f days. (file »%(file)s«, line %(lnr)s)")
+ ( _("Setting 'maxage' in '%(directive)s' to %(days)f days. (file '%(file)s', line %(lnr)s)")
% {'directive': directive_str, 'days': option_value, 'file': filename, 'lnr': linenr})
)
directive['maxage'] = option_value
if self.verbose > 4:
self.logger.debug(
- ( _("Checking »dateext«, negated: »%(negated)s«. (file »%(file)s«, line %(lnr)s)")
+ ( _("Checking 'dateext', negated: '%(negated)s'. (file '%(file)s', line %(lnr)s)")
% {'negated': str(negated), 'file': filename, 'lnr': linenr})
)
values = []
option_value = 'true'
if self.verbose > 5:
self.logger.debug(
- ( _("»dateext«: first_val: »%(first_val)s«, option_value: »%(value)s«. (file »%(file)s«, line %(lnr)s)")
+ ( _("'dateext': first_val: '%(first_val)s', option_value: '%(value)s'. (file '%(file)s', line %(lnr)s)")
% {'first_val': first_val, 'value': option_value, 'file': filename, 'lnr': linenr})
)
if option_value in yes_values:
if self.verbose > 4:
self.logger.debug(
- ( _("Setting »dateext« in »%(directive)s« to %(ext)s. (file »%(file)s«, line %(lnr)s)")
+ ( _("Setting 'dateext' in '%(directive)s' to %(ext)s. (file '%(file)s', line %(lnr)s)")
% {'directive': directive_str, 'ext': str(use_dateext), 'file': filename, 'lnr': linenr})
)
directive['dateext'] = use_dateext
if dateext is not None:
if self.verbose > 4:
self.logger.debug(
- ( _("Setting »datepattern« in »%(directive)s« to %(pattern)s. (file »%(file)s«, line %(lnr)s)")
+ ( _("Setting 'datepattern' in '%(directive)s' to '%(pattern)s'. (file '%(file)s', line %(lnr)s)")
% {'directive': directive_str, 'pattern': dateext, 'file': filename, 'lnr': linenr})
)
directive['datepattern'] = dateext
if self.verbose > 5:
self.logger.debug(
- ( _("Checking for »create« ... (file »%(file)s«, line %(lnr)s)")
+ ( _("Checking for 'create' ... (file '%(file)s', line %(lnr)s)")
% {'file': filename, 'lnr': linenr})
)
if negated:
if self.verbose > 4:
self.logger.debug(
- ( _("Removing »create«. (file »%(file)s«, line %(lnr)s)")
+ ( _("Removing 'create'. (file '%(file)s', line %(lnr)s)")
% {'file': filename, 'lnr': linenr})
)
directive['create']['enabled'] = False
if len(values) > 0:
if self.verbose > 5:
self.logger.debug(
- ( _("Trying to determine create mode »%(mode)s... (file »%(file)s«, line %(lnr)s)")
+ ( _("Trying to determine create mode '%(mode)s'... (file '%(file)s', line %(lnr)s)")
% {'mode': values[0], 'file': filename, 'lnr': linenr})
)
mode_octal = values[0]
try:
mode = int(mode_octal, 8)
except ValueError:
- self.logger.warning( ( _("Invalid create mode »%s«.") %(values[1])))
+ self.logger.warning( ( _("Invalid create mode '%s'.") %(values[1])))
return False
# Check for Owner (user, uid)
owner_raw = values[1]
if self.verbose > 5:
self.logger.debug(
- ( _("Trying to determine create owner »%(owner)s... (file »%(file)s«, line %(lnr)s)")
+ ( _("Trying to determine create owner '%(owner)s'... (file '%(file)s', line %(lnr)s)")
% {'owner': owner_raw, 'file': filename, 'lnr': linenr})
)
if re.search(r'^[1-9]\d*$', owner_raw) is not None:
try:
owner = pwd.getpwnam(owner_raw)[2]
except KeyError:
- self.logger.warning( ( _("Invalid owner »%s« in »create«.") %(owner_raw)))
+ self.logger.warning( ( _("Invalid owner '%s' in 'create'.") %(owner_raw)))
return False
# Check for Group (gid)
group_raw = values[2]
if self.verbose > 5:
self.logger.debug(
- ( _("Trying to determine create group »%(group)s... (file »%(file)s«, line %(lnr)s)")
+ ( _("Trying to determine create group '%(group)s'... (file '%(file)s', line %(lnr)s)")
% {'group': group_raw, 'file': filename, 'lnr': linenr})
)
if re.search(r'^[1-9]\d*$', group_raw) is not None:
try:
group = grp.getgrnam(group_raw)[2]
except KeyError:
- self.logger.warning( ( _("Invalid group »%s« in »create«.") %(group_raw)))
+ self.logger.warning( ( _("Invalid group '%s' in 'create'.") %(group_raw)))
return False
# Give values back ...
#: LogRotateConfig.py:1128
#, python-format
-msgid "Invalid maxage definition: »%s«"
-msgstr ""
+msgid "Invalid maxage definition: '%s'"
+msgstr "Ungültige Definition von »maxage«: »%s«"
#: LogRotateConfig.py:1132
#, python-format
msgid ""
-"Setting »maxage« in »%(directive)s« to %(days)f days. (file »%(file)s«, line "
-"%(lnr)s)"
-msgstr ""
+"Setting 'maxage' in '%(directive)s' to %(days)f days. (file '%(file)s', line %(lnr)s)"
+msgstr "Setze »maxage« in »%(directive)s« auf %(days)f Tage. (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:1150
#, python-format
msgid ""
-"Checking »dateext«, negated: »%(negated)s«. (file »%(file)s«, line %(lnr)s)"
-msgstr ""
+"Checking 'dateext', negated: '%(negated)s'. (file '%(file)s', line %(lnr)s)"
+msgstr "Überprüfe »dateext«, negiert: »%(negated)s«. (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:1167
#, python-format
msgid ""
-"»dateext«: first_val: »%(first_val)s«, option_value: »%(value)s«. (file "
-"»%(file)s«, line %(lnr)s)"
-msgstr ""
+"'dateext': first_val: '%(first_val)s', option_value: '%(value)s'. (file '%(file)s', line %(lnr)s)"
+msgstr "»dateext«: first_val: »%(first_val)s«, option_value: »%(value)s«. (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:1180
#, python-format
msgid ""
-"Setting »dateext« in »%(directive)s« to %(ext)s. (file »%(file)s«, line "
-"%(lnr)s)"
-msgstr ""
+"Setting 'dateext' in '%(directive)s' to %(ext)s. (file '%(file)s', line %(lnr)s)"
+msgstr "Setze »dateext« in »%(directive)s« auf %(ext)s. (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:1188
#, python-format
msgid ""
-"Setting »datepattern« in »%(directive)s« to %(pattern)s. (file »%(file)s«, "
-"line %(lnr)s)"
-msgstr ""
+"Setting 'datepattern' in '%(directive)s' to '%(pattern)s'. (file '%(file)s', line %(lnr)s)"
+msgstr "Setze »datepattern« in »%(directive)s« auf »%(pattern)s«. (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:1205
#, python-format
-msgid "Checking for »create« ... (file »%(file)s«, line %(lnr)s)"
-msgstr ""
+msgid "Checking for 'create' ... (file '%(file)s', line %(lnr)s)"
+msgstr "Schaue nach »create« ... (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:1212
#, python-format
-msgid "Removing »create«. (file »%(file)s«, line %(lnr)s)"
-msgstr ""
+msgid "Removing 'create'. (file '%(file)s', line %(lnr)s)"
+msgstr "Entferne »create«. (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:1232
#, python-format
msgid ""
-"Trying to determine create mode »%(mode)s... (file »%(file)s«, line %(lnr)s)"
-msgstr ""
+"Trying to determine create mode '%(mode)s'... (file '%(file)s', line %(lnr)s)"
+msgstr "Versuche Erstellungsmodus »%(mode)s« festzustellen ... (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:1241
#, python-format
-msgid "Invalid create mode »%s«."
-msgstr ""
+msgid "Invalid create mode '%s'."
+msgstr "Ungültiger Erstellungsmodus »%s«."
#: LogRotateConfig.py:1249
#, python-format
msgid ""
-"Trying to determine create owner »%(owner)s... (file »%(file)s«, line "
-"%(lnr)s)"
-msgstr ""
+"Trying to determine create owner '%(owner)s'... (file '%(file)s', line %(lnr)s)"
+msgstr "Versuche Erstellungsnutzer »%(owner)s« festzustellen ... (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:1258
#, python-format
-msgid "Invalid owner »%s« in »create«."
-msgstr ""
+msgid "Invalid owner '%s' in 'create'."
+msgstr "Ungültiger Nutzer »%s« in »create«."
#: LogRotateConfig.py:1266
#, python-format
msgid ""
-"Trying to determine create group »%(group)s... (file »%(file)s«, line "
-"%(lnr)s)"
-msgstr ""
+"Trying to determine create group '%(group)s'... (file '%(file)s', line %(lnr)s)"
+msgstr "Versuche Erstellungsgruppe »%(group)s« festzustellen ... (Datei »%(file)s«, Zeile %(lnr)s)"
#: LogRotateConfig.py:1275
#, python-format
-msgid "Invalid group »%s« in »create«."
-msgstr ""
+msgid "Invalid group '%s' in 'create'."
+msgstr "Ugültige Gruppe »%s« in »create«."
#: LogRotateConfig.py:1294
#, python-format