directive[key] = option_value
if key == 'copy' and option_value:
if directive['copytruncate']:
- msg = (_("Option '%(by)s' disables option '%(what)'.")
+ msg = (_("Option '%(by)s' disables option '%(what)s'.")
% {'by': 'copy', 'what': 'copytruncate'})
msg += " " + ( _("(file '%(file)s', line %(lnr)s)")
% {'file': filename, 'lnr': linenr})
self.logger.warning(msg)
directive['copytruncate'] = False
if directive['create']['enabled']:
- msg = (_("Option '%(by)s' disables option '%(what)'.")
+ msg = (_("Option '%(by)s' disables option '%(what)s'.")
% {'by': 'copy', 'what': 'create'})
msg += " " + ( _("(file '%(file)s', line %(lnr)s)")
% {'file': filename, 'lnr': linenr})
directive['create']['enabled'] = False
elif key == 'copytruncate' and option_value:
if directive['copy']:
- msg = (_("Option '%(by)s' disables option '%(what)'.")
+ msg = (_("Option '%(by)s' disables option '%(what)s'.")
% {'by': 'copytruncate', 'what': 'copy'})
msg += " " + ( _("(file '%(file)s', line %(lnr)s)")
% {'file': filename, 'lnr': linenr})
self.logger.warning(msg)
directive['copy'] = False
if directive['create']['enabled']:
- msg = (_("Option '%(by)s' disables option '%(what)'.")
+ msg = (_("Option '%(by)s' disables option '%(what)s'.")
% {'by': 'copytruncate', 'what': 'create'})
msg += " " + ( _("(file '%(file)s', line %(lnr)s)")
% {'file': filename, 'lnr': linenr})
msgstr ""
"Project-Id-Version: pylogrotate 0.6.0\n"
"Report-Msgid-Bugs-To: frank@brehm-online.com\n"
-"POT-Creation-Date: 2011-07-15 22:00+0200\n"
-"PO-Revision-Date: 2011-07-15 22:20+0200\n"
+"POT-Creation-Date: 2011-07-15 22:52+0200\n"
+"PO-Revision-Date: 2011-07-15 22:56+0200\n"
"Last-Translator: Frank Brehm <frank@brehm-online.com>\n"
"Language-Team: de <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
#: LogRotate/Config.py:1089 LogRotate/Config.py:1096 LogRotate/Config.py:1104
#: LogRotate/Config.py:1111
-#, python-format
-msgid "Option '%(by)s' disables option '%(what)'."
-msgstr "Die Option »%(by)s« setzt Option »%(what)« außer Kraft."
+#, python-format
+msgid "Option '%(by)s' disables option '%(what)s'."
+msgstr "Die Option »%(by)s« setzt Option »%(what)s« außer Kraft."
#: LogRotate/Config.py:1138
#, python-format
msgstr ""
"Project-Id-Version: pylogrotate 0.6.0\n"
"Report-Msgid-Bugs-To: frank@brehm-online.com\n"
-"POT-Creation-Date: 2011-07-15 22:00+0200\n"
+"POT-Creation-Date: 2011-07-15 22:52+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"
#: LogRotate/Config.py:1089 LogRotate/Config.py:1096 LogRotate/Config.py:1104
#: LogRotate/Config.py:1111
#, python-format
-msgid "Option '%(by)s' disables option '%(what)'."
+msgid "Option '%(by)s' disables option '%(what)s'."
msgstr ""
#: LogRotate/Config.py:1138