------------------------------------------------------------
revno: 1507
fixes bug: https://launchpad.net/bugs/1400988
committer: Mark Sapiro <m...@msapiro.net>
branch nick: 2.1
timestamp: Tue 2014-12-09 20:33:56 -0800
message:
  The Subject: of the list welcome message wasn't always in the user's
  preferred language.  Fixed.
modified:
  Mailman/Deliverer.py
  NEWS


--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1

Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Deliverer.py'
--- Mailman/Deliverer.py	2013-03-28 22:12:45 +0000
+++ Mailman/Deliverer.py	2014-12-10 04:33:56 +0000
@@ -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 @@
 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:

=== modified file 'NEWS'
--- NEWS	2014-12-08 04:51:42 +0000
+++ NEWS	2014-12-10 04:33:56 +0000
@@ -33,6 +33,9 @@
 
   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)
 

_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to