This patch series implements FS#31850. The preparatory work is quite invasive and includes a complete rewrite of the notification module. The last patch adds the new translatable strings to our message catalog. Comments welcome! Lukas Fleischer (6): notify.py: Do not add stray newlines t2500: Add test cases for all notifications Refactor the notification script Localize notification emails Use modern format strings in notification messages Update message catalog aurweb/l10n.py | 16 + aurweb/scripts/notify.py | 880 +++++++++++++++++++++------------------ po/Makefile | 21 +- po/aur.pot | 136 +++++- test/setup.sh | 18 +- test/t2500-notify.sh | 350 +++++++++++++++- 6 files changed, 1003 insertions(+), 418 deletions(-) create mode 100644 aurweb/l10n.py -- 2.17.0