From f8d6bcc2c18e6a3d857dd99be24084c6488590c4 Mon Sep 17 00:00:00 2001 From: Yasuhito FUTATSUKI at POEM Date: Sat, 16 Jun 2018 02:46:52 +0900 Subject: enhance i18n in admin(un)?subscribeack messages --- Mailman/Bouncer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Mailman/Bouncer.py') 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 -- cgit v1.2.3