summaryrefslogtreecommitdiff
path: root/src/mailman/queue/command.py
diff options
context:
space:
mode:
authorBarry Warsaw2009-02-12 20:36:21 -0500
committerBarry Warsaw2009-02-12 20:36:21 -0500
commit62f4c909f90535986614a411db982bdcccaec3a1 (patch)
tree2fe5dd3316cea73f63cb34230d848758050eade3 /src/mailman/queue/command.py
parent2b28803e7165e91d812cd9e9e3804a6d9bdce8a1 (diff)
downloadmailman-62f4c909f90535986614a411db982bdcccaec3a1.tar.gz
mailman-62f4c909f90535986614a411db982bdcccaec3a1.tar.zst
mailman-62f4c909f90535986614a411db982bdcccaec3a1.zip
Diffstat (limited to 'src/mailman/queue/command.py')
-rw-r--r--src/mailman/queue/command.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman/queue/command.py b/src/mailman/queue/command.py
index 8a7793e9e..d32361cf9 100644
--- a/src/mailman/queue/command.py
+++ b/src/mailman/queue/command.py
@@ -195,9 +195,10 @@ class CommandRunner(Runner):
# Send a reply, but do not attach the original message. This is a
# compromise because the original message is often helpful in tracking
# down problems, but it's also a vector for backscatter spam.
+ language = config.languages[msgdata['lang']]
reply = UserNotification(msg.sender, mlist.bounces_address,
_('The results of your email commands'),
- lang=msgdata['lang'])
+ lang=language)
# Find a charset for the response body. Try ascii first, then
# latin-1 and finally falling back to utf-8.
reply_body = unicode(results)