aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2013-03-28 15:12:45 -0700
committerMark Sapiro <msapiro@value.net>2013-03-28 15:12:45 -0700
commitf8be4916b365a654723436092a23f56e305b6b7f (patch)
treef688bfd4d8e5ff09b4b44a5a6907d268100408aa
parentbd2a529358762ccbc0c1066da06a7c9e5f26da63 (diff)
downloadmailman2-f8be4916b365a654723436092a23f56e305b6b7f.tar.gz
mailman2-f8be4916b365a654723436092a23f56e305b6b7f.tar.xz
mailman2-f8be4916b365a654723436092a23f56e305b6b7f.zip
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.
-rw-r--r--Mailman/Deliverer.py3
-rw-r--r--Mailman/Queue/BounceRunner.py2
-rwxr-xr-xNEWS4
3 files changed, 7 insertions, 2 deletions
diff --git a/Mailman/Deliverer.py b/Mailman/Deliverer.py
index 0f8f26b8..2e65e87f 100644
--- a/Mailman/Deliverer.py
+++ b/Mailman/Deliverer.py
@@ -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 @@ your membership administrative address, %(addr)s.'''))
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'),
diff --git a/Mailman/Queue/BounceRunner.py b/Mailman/Queue/BounceRunner.py
index 08ebe859..fcd6e3fb 100644
--- a/Mailman/Queue/BounceRunner.py
+++ b/Mailman/Queue/BounceRunner.py
@@ -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
diff --git a/NEWS b/NEWS
index e3af32ff..2b592aaf 100755
--- a/NEWS
+++ b/NEWS
@@ -58,6 +58,10 @@ Here is a history of user visible changes to Mailman.
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)