mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 22:35:35 +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))
|
||||
yield (format_event(event, logfile))
|
||||
except PermissionError:
|
||||
sys.exit(_("ERROR: Cannot read {}. Please check permissions.".format(logfile)))
|
||||
sys.exit(_("ERROR: Cannot read {}. Please check permissions.").format(logfile))
|
||||
|
||||
else:
|
||||
print(_('Notification emitter started in the background'))
|
||||
|
Reference in New Issue
Block a user