From 93f47c6490b1ac6460c0ea0563b6e375275bd4e8 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sat, 26 May 2018 09:22:35 -0700 Subject: Internationalize the noscript note added to reCAPTCHA. --- Mailman/Cgi/listinfo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Mailman/Cgi') diff --git a/Mailman/Cgi/listinfo.py b/Mailman/Cgi/listinfo.py index 4f30108c..78fda942 100644 --- a/Mailman/Cgi/listinfo.py +++ b/Mailman/Cgi/listinfo.py @@ -245,14 +245,15 @@ def list_listinfo(mlist, lang): replacements[''] = mlist.FormatBox('fullname', size=30) # If reCAPTCHA is enabled, display its user interface if mm_cfg.RECAPTCHA_SITE_KEY: + noscript = _('This form requires JavaScript.') replacements[''] = ( """  - +
""" - % (lang, mm_cfg.RECAPTCHA_SITE_KEY)) + % (noscript, lang, mm_cfg.RECAPTCHA_SITE_KEY)) else: replacements[''] = '' -- cgit v1.2.3