aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Deliverer.py
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/Deliverer.py
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/Deliverer.py')
-rw-r--r--Mailman/Deliverer.py3
1 files changed, 2 insertions, 1 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'),