diff options
Diffstat (limited to 'Mailman/Deliverer.py')
-rw-r--r-- | Mailman/Deliverer.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mailman/Deliverer.py b/Mailman/Deliverer.py index 0f8f26b8..dc867006 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-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: @@ -81,6 +83,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'), |