aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Cgi/listinfo.py
diff options
context:
space:
mode:
authorYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2018-05-27 02:06:40 +0900
committerYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2018-05-27 02:06:40 +0900
commitfc361f4c04a6ff83c3e5dd7c56cf902dbbf87609 (patch)
tree3d6d7b08cba050ce65d87699efcf7623f6674b4a /Mailman/Cgi/listinfo.py
parentea6edf95c50c4c80005397def9a827eb4f81ac6f (diff)
parent93f47c6490b1ac6460c0ea0563b6e375275bd4e8 (diff)
downloadmailman2-fc361f4c04a6ff83c3e5dd7c56cf902dbbf87609.tar.gz
mailman2-fc361f4c04a6ff83c3e5dd7c56cf902dbbf87609.tar.xz
mailman2-fc361f4c04a6ff83c3e5dd7c56cf902dbbf87609.zip
merge lp:mailman/2.1 Rev 1757 and then update ja translation for it
Diffstat (limited to 'Mailman/Cgi/listinfo.py')
-rw-r--r--Mailman/Cgi/listinfo.py5
1 files changed, 3 insertions, 2 deletions
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['<mm-fullname-box>'] = 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['<mm-recaptcha-ui>'] = (
"""<tr><td>&nbsp;</td><td>
- <noscript>This form requires JavaScript.</noscript>
+ <noscript>%s</noscript>
<script src="https://www.google.com/recaptcha/api.js?hl=%s">
</script>
<div class="g-recaptcha" data-sitekey="%s"></div>
</td></tr>"""
- % (lang, mm_cfg.RECAPTCHA_SITE_KEY))
+ % (noscript, lang, mm_cfg.RECAPTCHA_SITE_KEY))
else:
replacements['<mm-recaptcha-ui>'] = ''