mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Merge aa-notify: fix translation of an error message
... which so far was not translatable because it was formatted before being translated. I propose this fix for master, 4.0 and 3.x MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1271 Approved-by: Georgia Garcia <georgia.garcia@canonical.com> Merged-by: Christian Boltz <apparmor@cboltz.de> (cherry picked from commit67021bf911
)c85958da
aa-notify: fix translation of an error message Co-authored-by: Christian Boltz <apparmor@cboltz.de>
This commit is contained in:
parent
0310a122d4
commit
24a0ebb5ef
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,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'))
|
||||
|
|
Loading…
Add table
Reference in a new issue