From dec035478b2902cf4536d5f7bc60a9a1670ebba3 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Thu, 1 Mar 2001 05:38:04 +0000 Subject: process_form(): In the MMNeedApproval exception clause, we need to get the local variables interpolated into the exception message. Easiest way to do that is to pass it through _(). --- Mailman/Cgi/subscribe.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Mailman/Cgi/subscribe.py b/Mailman/Cgi/subscribe.py index 56ef2081f..650353b4d 100644 --- a/Mailman/Cgi/subscribe.py +++ b/Mailman/Cgi/subscribe.py @@ -203,6 +203,9 @@ def process_form(mlist, doc, cgidata, lang): "confirm your subscription.")) except Errors.MMNeedApproval, x: + # We need to interpolate into x + realname = mlist.real_name + x = _(x) results += (_("Subscription was deferred " "because %(x)s. Your request has been " "forwarded to the list administrator. " -- cgit v1.3.1