aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2014-04-16 14:38:47 -0700
committerMark Sapiro <msapiro@value.net>2014-04-16 14:38:47 -0700
commit564e43ba30f5f54c45003087c35d761cdf9d5a0a (patch)
treedb067471335d5a10ee411bf0bb30ddd7d13574db /Mailman
parent96dd7c7b5133e629ff9bdf62ff189202cc637b05 (diff)
downloadmailman2-564e43ba30f5f54c45003087c35d761cdf9d5a0a.tar.gz
mailman2-564e43ba30f5f54c45003087c35d761cdf9d5a0a.tar.xz
mailman2-564e43ba30f5f54c45003087c35d761cdf9d5a0a.zip
Fixed a long standing issue in which a notice sent to a user whose
language is other than that of the list can cause subsequent things which should be in the list's language to be in the user's language instead.
Diffstat (limited to '')
-rwxr-xr-xMailman/MailList.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index bc771f4c..02646b7e 100755
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -1049,7 +1049,8 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin,
# And send an acknowledgement to the user...
if userack:
self.SendUnsubscribeAck(emailaddr, userlang)
- # ...and to the administrator
+ # ...and to the administrator in the correct language. (LP: #1308655)
+ i18n.set_language(self.preferred_language)
if admin_notif:
realname = self.real_name
subject = _('%(realname)s unsubscribe notification')