aboutsummaryrefslogtreecommitdiffstats
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
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
-rwxr-xr-xNEWS5
2 files changed, 7 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')
diff --git a/NEWS b/NEWS
index c92c0f47..f7a97e8d 100755
--- a/NEWS
+++ b/NEWS
@@ -43,6 +43,11 @@ Here is a history of user visible changes to Mailman.
Bug Fixes and other patches
+ - 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. (LP: #1308655)
+
- Fixed the admin Membership List so a search string if any is not lost
when visiting subsequent fragments of a chunked list. (LP: #1307454)