aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xMailman/ListAdmin.py3
-rw-r--r--NEWS5
2 files changed, 8 insertions, 0 deletions
diff --git a/Mailman/ListAdmin.py b/Mailman/ListAdmin.py
index 4a188057..af579331 100755
--- a/Mailman/ListAdmin.py
+++ b/Mailman/ListAdmin.py
@@ -390,6 +390,7 @@ class ListAdmin:
self.internal_name(), addr)
# Possibly notify the administrator in default list language
if self.admin_immed_notify:
+ i18n.set_language(self.preferred_language)
realname = self.real_name
subject = _(
'New subscription request to list %(realname)s from %(addr)s')
@@ -406,6 +407,8 @@ class ListAdmin:
msg = Message.UserNotification(owneraddr, owneraddr, subject, text,
self.preferred_language)
msg.send(self, **{'tomoderators': 1})
+ # Restore the user's preferred language.
+ i18n.set_language(lang)
def __handlesubscription(self, record, value, comment):
stime, addr, fullname, password, digest, lang = record
diff --git a/NEWS b/NEWS
index e4dcc5bb..3ddb680a 100644
--- a/NEWS
+++ b/NEWS
@@ -98,6 +98,11 @@ Here is a history of user visible changes to Mailman.
Bug Fixes and other patches
+ - Fixed a bug that could send an admin notice of a held subscription with
+ the subject in the user's preferred language instead of the list's
+ preferred language and possibly not properly RFC 2047 encoded.
+ (LP: #998949)
+
- Fixed a possible CPU bound loop in OutgoingRunner if the attempt to
Connect to the SMTP server throws a socket.error. (LP: #966531)