diff options
author | Mark Sapiro <mark@msapiro.net> | 2014-12-09 20:33:56 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2014-12-09 20:33:56 -0800 |
commit | 111177b9a65b0b8ea7ec2ff076ece5b03aa2b7c1 (patch) | |
tree | 87bfad57f20249a4a4186efe21c247828b464520 | |
parent | cb8225458e7044a4f096bbbb6fb5a3126d691f41 (diff) | |
download | mailman2-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 '')
-rw-r--r-- | Mailman/Deliverer.py | 4 | ||||
-rwxr-xr-x | NEWS | 3 |
2 files changed, 6 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: @@ -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) |