------------------------------------------------------------
revno: 1381
fixes bug: https://launchpad.net/bugs/1161445
committer: Mark Sapiro <msap...@value.net>
branch nick: 2.1
timestamp: Thu 2013-03-28 15:12:45 -0700
message:
  Fixed a bug where the Subject: of the user notification of a
  bin/remove_members unsubscribe was not in the user's language.
  (LP: 1161445)
  
  Also updated BounceRunner copyright for previous change.
modified:
  Mailman/Deliverer.py
  Mailman/Queue/BounceRunner.py
  NEWS


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

Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Deliverer.py'
--- Mailman/Deliverer.py	2006-07-24 15:20:36 +0000
+++ Mailman/Deliverer.py	2013-03-28 22:12:45 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2006 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2013 by the Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
@@ -81,6 +81,7 @@
 
     def SendUnsubscribeAck(self, addr, lang):
         realname = self.real_name
+        i18n.set_language(lang)
         msg = Message.UserNotification(
             self.GetMemberAdminEmail(addr), self.GetBouncesEmail(),
             _('You have been unsubscribed from the %(realname)s mailing list'),

=== modified file 'Mailman/Queue/BounceRunner.py'
--- Mailman/Queue/BounceRunner.py	2013-03-28 21:20:32 +0000
+++ Mailman/Queue/BounceRunner.py	2013-03-28 22:12:45 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2008 by the Free Software Foundation, Inc.
+# Copyright (C) 2001-2013 by the Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License

=== modified file 'NEWS'
--- NEWS	2013-03-28 21:20:32 +0000
+++ NEWS	2013-03-28 22:12:45 +0000
@@ -58,6 +58,10 @@
 
   Bug Fixes and other patches
 
+    - Fixed a bug where the Subject: of the user notification of a
+      bin/remove_members unsubscribe was not in the user's language.
+      (LP: 1161445)
+
     - Fixed a bug where BounceRunner could create and leave behind zero length
       bounce-events files.  (LP: 1161610)
 

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

Reply via email to