From a43ac605524078ab7fdeaa07c922f5c4bd7bde8e Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Thu, 21 Nov 2013 10:17:29 +0100 Subject: [PATCH] translate deletion and activation links --- isso/ext/notifications.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/isso/ext/notifications.py b/isso/ext/notifications.py index 78e366a..98f8436 100644 --- a/isso/ext/notifications.py +++ b/isso/ext/notifications.py @@ -96,10 +96,10 @@ class SMTP(object): key = self.isso.sign(comment["id"]) rv.write("---\n") - rv.write("Kommentar löschen: %s\n" % (uri + "/delete/" + key)) + rv.write("Delete comment: %s\n" % (uri + "/delete/" + key)) if comment["mode"] == 2: - rv.write("Kommentar freischalten: %s\n" % (uri + "/activate/" + key)) + rv.write("Activate comment: %s\n" % (uri + "/activate/" + key)) rv.seek(0) return rv.read()