diff options
| author | bwarsaw | 2002-02-11 23:16:50 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-02-11 23:16:50 +0000 |
| commit | b4767845e1daad8ea0ce33c027300f697bd7a27b (patch) | |
| tree | f61f302ce08669f2f9a52a95171fc274f09bc27a /Mailman/Cgi/create.py | |
| parent | 3f6d56ab83e26311ad8d6f8e1bf825bd8cfc6f04 (diff) | |
| download | mailman-b4767845e1daad8ea0ce33c027300f697bd7a27b.tar.gz mailman-b4767845e1daad8ea0ce33c027300f697bd7a27b.tar.zst mailman-b4767845e1daad8ea0ce33c027300f697bd7a27b.zip | |
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.
Diffstat (limited to '')
| -rw-r--r-- | Mailman/Cgi/create.py | 4 |
1 files changed, 2 insertions, 2 deletions
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! |
