diff options
| author | bwarsaw | 2001-03-01 05:38:04 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-03-01 05:38:04 +0000 |
| commit | dec035478b2902cf4536d5f7bc60a9a1670ebba3 (patch) | |
| tree | 1b71951d8fbeb879abb304ed3074d2b1745565d1 | |
| parent | 18c7a072f89614ae65907f10246ecc15877704ce (diff) | |
| download | mailman-dec035478b2902cf4536d5f7bc60a9a1670ebba3.tar.gz mailman-dec035478b2902cf4536d5f7bc60a9a1670ebba3.tar.zst mailman-dec035478b2902cf4536d5f7bc60a9a1670ebba3.zip | |
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 _().
| -rw-r--r-- | Mailman/Cgi/subscribe.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 <em>deferred</em> " "because %(x)s. Your request has been " "forwarded to the list administrator. " |
