From 564e43ba30f5f54c45003087c35d761cdf9d5a0a Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Wed, 16 Apr 2014 14:38:47 -0700 Subject: 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. --- Mailman/MailList.py | 3 ++- NEWS | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3