From b4767845e1daad8ea0ce33c027300f697bd7a27b Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Mon, 11 Feb 2002 23:16:50 +0000 Subject: process_request(): When creating the UserNotification message object, pass in the language that the message should be in. This allows us to get the character set and header encodings right. Patch by Ben Gertzfield. --- Mailman/Cgi/create.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Mailman/Cgi') diff --git a/Mailman/Cgi/create.py b/Mailman/Cgi/create.py index 5c1014fee..adb59c34d 100644 --- a/Mailman/Cgi/create.py +++ b/Mailman/Cgi/create.py @@ -1,4 +1,4 @@ -# Copyright (C) 2001 by the Free Software Foundation, Inc. +# Copyright (C) 2001,2002 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 @@ -219,7 +219,7 @@ def process_request(doc, cgidata): msg = Message.UserNotification( owner, siteadmin, _('Your new mailing list: %(listname)s'), - text) + text, mlist.preferred_language) msg.send(mlist) # Success! -- cgit v1.2.3-70-g09d2