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:
Christian Boltz 2024-07-15 17:18:03 +02:00
parent 728e0ab1b7
commit c85958dae4
Failed to generate hash of commit

View file

@ -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'))