aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
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 /Mailman
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.
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/Deliverer.py3
-rw-r--r--Mailman/Queue/BounceRunner.py2
2 files changed, 3 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