aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2014-12-09 20:33:56 -0800
committerMark Sapiro <mark@msapiro.net>2014-12-09 20:33:56 -0800
commit111177b9a65b0b8ea7ec2ff076ece5b03aa2b7c1 (patch)
tree87bfad57f20249a4a4186efe21c247828b464520 /Mailman
parentcb8225458e7044a4f096bbbb6fb5a3126d691f41 (diff)
downloadmailman2-111177b9a65b0b8ea7ec2ff076ece5b03aa2b7c1.tar.gz
mailman2-111177b9a65b0b8ea7ec2ff076ece5b03aa2b7c1.tar.xz
mailman2-111177b9a65b0b8ea7ec2ff076ece5b03aa2b7c1.zip
The Subject: of the list welcome message wasn't always in the user's
preferred language. Fixed.
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/Deliverer.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/Deliverer.py b/Mailman/Deliverer.py
index 2e65e87f..dc867006 100644
--- a/Mailman/Deliverer.py
+++ b/Mailman/Deliverer.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2013 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2014 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
@@ -42,6 +42,8 @@ except NameError:
class Deliverer:
def SendSubscribeAck(self, name, password, digest, text=''):
pluser = self.getMemberLanguage(name)
+ # Need to set this here to get the proper l10n of the Subject:
+ i18n.set_language(pluser)
if self.welcome_msg:
welcome = Utils.wrap(self.welcome_msg) + '\n'
else: