aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/MailList.py
diff options
context:
space:
mode:
authorYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2018-06-16 02:46:52 +0900
committerYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2018-06-16 02:46:52 +0900
commitf8d6bcc2c18e6a3d857dd99be24084c6488590c4 (patch)
tree2c3883ecc9a28f013afaedc6321bbac993363038 /Mailman/MailList.py
parent719ba7e2b6c0da9caf2506b95b192ea51559f6ba (diff)
downloadmailman2-f8d6bcc2c18e6a3d857dd99be24084c6488590c4.tar.gz
mailman2-f8d6bcc2c18e6a3d857dd99be24084c6488590c4.tar.xz
mailman2-f8d6bcc2c18e6a3d857dd99be24084c6488590c4.zip
enhance i18n in admin(un)?subscribeack messages
Diffstat (limited to '')
-rwxr-xr-xMailman/MailList.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index cc1be3b5..72b50a11 100755
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -1075,7 +1075,7 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin,
"adminsubscribeack.txt",
{"listname" : realname,
"member" : formataddr((name, email)),
- "whence" : "" if whence is None else "(" + whence + ")"
+ "whence" : "" if whence is None else "(" + _(whence) + ")"
}, mlist=self)
msg = Message.OwnerNotification(self, subject, text)
msg.send(self)
@@ -1112,7 +1112,7 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin,
'adminunsubscribeack.txt',
{'member' : name,
'listname': self.real_name,
- "whence" : "" if whence is None else "(" + whence + ")"
+ "whence" : "" if whence is None else "(" + _(whence) + ")"
}, mlist=self)
msg = Message.OwnerNotification(self, subject, text)
msg.send(self)