------------------------------------------------------------ revno: 1657 fixes bug: https://launchpad.net/bugs/1586505 committer: Mark Sapiro <m...@msapiro.net> branch nick: 2.1 timestamp: Fri 2016-05-27 12:18:59 -0700 message: Scrubber links in archives are now in the list's preferred_language. modified: Mailman/Queue/ArchRunner.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/Queue/ArchRunner.py' --- Mailman/Queue/ArchRunner.py 2006-02-03 07:04:32 +0000 +++ Mailman/Queue/ArchRunner.py 2016-05-27 19:18:59 +0000 @@ -1,4 +1,4 @@ -# Copyright (C) 2000,2001,2002 by the Free Software Foundation, Inc. +# Copyright (C) 2000-2016 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 @@ -19,6 +19,7 @@ import time from email.Utils import parsedate_tz, mktime_tz, formatdate +from Mailman import i18n from Mailman import mm_cfg from Mailman import LockFile from Mailman.Queue.Runner import Runner @@ -70,6 +71,9 @@ # oh well, try again later return 1 try: + # Archiving should be done in the list's preferred language, not + # the sender's language. + i18n.set_language(mlist.preferred_language) mlist.ArchiveMail(msg) mlist.Save() finally: === modified file 'NEWS' --- NEWS 2016-05-26 15:42:36 +0000 +++ NEWS 2016-05-27 19:18:59 +0000 @@ -32,6 +32,9 @@ Bug fixes and other patches + - Scrubber links in archives are now in the list's preferred_language + rather than the poster's language. (LP: #1586505) + - Improved logging of banned subscription and address change attempts. (LP: #1582856)
_______________________________________________ Mailman-checkins mailing list Mailman-checkins@python.org Unsubscribe: https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org