------------------------------------------------------------
revno: 1364
committer: Mark Sapiro <m...@msapiro.net>
branch nick: 2.2
timestamp: Tue 2014-12-09 20:35:30 -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.2
https://code.launchpad.net/~mailman-coders/mailman/2.2

Your team Mailman Checkins is subscribed to branch lp:mailman/2.2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.2/+edit-subscription
=== modified file 'Mailman/Deliverer.py'
--- Mailman/Deliverer.py	2013-03-28 22:10:44 +0000
+++ Mailman/Deliverer.py	2014-12-10 04:35:30 +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:53:04 +0000
+++ NEWS	2014-12-10 04:35:30 +0000
@@ -77,6 +77,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