summaryrefslogtreecommitdiff
path: root/Mailman
diff options
context:
space:
mode:
authorbwarsaw2002-02-11 23:28:30 +0000
committerbwarsaw2002-02-11 23:28:30 +0000
commitf6353c0a808f3b6b4a636d0a3504cbfeac732f47 (patch)
tree28feec74f33b67fd94e7d6c3f798f7924e8cccbb /Mailman
parent455faeae81a32aa5c683eef79e3d6fcff7ad3b8c (diff)
downloadmailman-f6353c0a808f3b6b4a636d0a3504cbfeac732f47.tar.gz
mailman-f6353c0a808f3b6b4a636d0a3504cbfeac732f47.tar.zst
mailman-f6353c0a808f3b6b4a636d0a3504cbfeac732f47.zip
create(): 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 'Mailman')
-rw-r--r--Mailman/MTA/Manual.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/MTA/Manual.py b/Mailman/MTA/Manual.py
index 5a60920c1..47022d0eb 100644
--- a/Mailman/MTA/Manual.py
+++ b/Mailman/MTA/Manual.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
@@ -81,7 +81,7 @@ equivalent) file by adding the following lines, and possibly running the
msg = Message.UserNotification(
siteowner, siteowner,
_('Mailing list creation request for list %(listname)s'),
- sfp.getvalue())
+ sfp.getvalue(), mlist.preferred_language)
outq = get_switchboard(mm_cfg.OUTQUEUE_DIR)
outq.enqueue(msg, recips=[siteowner])