aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Bouncer.py
diff options
context:
space:
mode:
authorYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2018-06-16 02:46:52 +0900
committerYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2018-06-16 02:46:52 +0900
commitf8d6bcc2c18e6a3d857dd99be24084c6488590c4 (patch)
tree2c3883ecc9a28f013afaedc6321bbac993363038 /Mailman/Bouncer.py
parent719ba7e2b6c0da9caf2506b95b192ea51559f6ba (diff)
downloadmailman2-f8d6bcc2c18e6a3d857dd99be24084c6488590c4.tar.gz
mailman2-f8d6bcc2c18e6a3d857dd99be24084c6488590c4.tar.xz
mailman2-f8d6bcc2c18e6a3d857dd99be24084c6488590c4.zip
enhance i18n in admin(un)?subscribeack messages
Diffstat (limited to '')
-rw-r--r--Mailman/Bouncer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Bouncer.py b/Mailman/Bouncer.py
index 2a1cb539..21a4df38 100644
--- a/Mailman/Bouncer.py
+++ b/Mailman/Bouncer.py
@@ -49,6 +49,7 @@ REASONS = {MemberAdaptor.BYBOUNCE: _('due to excessive bounces'),
}
_ = i18n._
+D_ = i18n.D_
@@ -265,7 +266,7 @@ class Bouncer:
if info.noticesleft <= 0:
# BAW: Remove them now, with a notification message
self.ApprovedDeleteMember(
- member, 'disabled address',
+ member, D_('disabled address'),
admin_notif=self.bounce_notify_owner_on_removal,
userack=1)
# Expunge the pending cookie for the user. We throw away the