aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/ListAdmin.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Mailman/ListAdmin.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/ListAdmin.py b/Mailman/ListAdmin.py
index d91ab618..a290a358 100644
--- a/Mailman/ListAdmin.py
+++ b/Mailman/ListAdmin.py
@@ -292,9 +292,11 @@ class ListAdmin:
elif value == mm_cfg.REJECT:
# Rejected
rejection = 'Refused'
+ lang = self.getMemberLanguage(sender)
+ subject = Utils.oneline(subject, Utils.GetCharSet(lang))
self.__refuse(_('Posting of your message titled "%(subject)s"'),
sender, comment or _('[No reason given]'),
- lang=self.getMemberLanguage(sender))
+ lang=lang)
else:
assert value == mm_cfg.DISCARD
# Discarded