mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 06:45:38 +00:00
aa-notify: fix translation of an error message
... which so far was not translatable because it was formatted before being translated.
This commit is contained in:
@@ -130,7 +130,7 @@ def notify_about_new_entries(logfile, filters, wait=0):
|
|||||||
debug_logger.info(format_event(event, logfile))
|
debug_logger.info(format_event(event, logfile))
|
||||||
yield (format_event(event, logfile))
|
yield (format_event(event, logfile))
|
||||||
except PermissionError:
|
except PermissionError:
|
||||||
sys.exit(_("ERROR: Cannot read {}. Please check permissions.".format(logfile)))
|
sys.exit(_("ERROR: Cannot read {}. Please check permissions.").format(logfile))
|
||||||
|
|
||||||
else:
|
else:
|
||||||
print(_('Notification emitter started in the background'))
|
print(_('Notification emitter started in the background'))
|
||||||
|
Reference in New Issue
Block a user