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 +++- NEWS | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) 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: diff --git a/NEWS b/NEWS index d2013f40..8d62ae38 100755 --- a/NEWS +++ b/NEWS @@ -33,6 +33,9 @@ Here is a history of user visible changes to Mailman. Bug fixes and other patches + - The Subject: of the list welcome message wasn't always in the user's + preferred language. Fixed. (LP: #1400988) + - Accept email command in Subject: prefixed with Re: or similar with no intervening space. (LP: #1400200) -- cgit v1.2.3