translate deletion and activation links

This commit is contained in:
Martin Zimmermann 2013-11-21 10:17:29 +01:00
parent e77ae273f4
commit 63a7df1099

View File

@ -96,10 +96,10 @@ class SMTP(object):
key = self.isso.sign(comment["id"]) key = self.isso.sign(comment["id"])
rv.write("---\n") 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: 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) rv.seek(0)
return rv.read() return rv.read()