------------------------------------------------------------
revno: 1319
committer: Mark Sapiro <msap...@value.net>
branch nick: 2.2
timestamp: Wed 2014-04-16 14:45:55 -0700
message:
  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.
modified:
  Mailman/MailList.py
  NEWS


--
lp:mailman/2.2
https://code.launchpad.net/~mailman-coders/mailman/2.2

Your team Mailman Checkins is subscribed to branch lp:mailman/2.2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.2/+edit-subscription
=== modified file 'Mailman/MailList.py'
--- Mailman/MailList.py	2014-04-15 20:55:52 +0000
+++ Mailman/MailList.py	2014-04-16 21:45:55 +0000
@@ -1055,7 +1055,8 @@
         # 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')

=== modified file 'NEWS'
--- NEWS	2014-04-16 02:46:52 +0000
+++ NEWS	2014-04-16 21:45:55 +0000
@@ -87,6 +87,11 @@
 
   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)
 

_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to