From 111177b9a65b0b8ea7ec2ff076ece5b03aa2b7c1 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Tue, 9 Dec 2014 20:33:56 -0800 Subject: The Subject: of the list welcome message wasn't always in the user's preferred language. Fixed. --- Mailman/Deliverer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Mailman') 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: -- cgit v1.2.3