diff options
author | unostar <unostar@danalan.info> | 2009-06-17 01:26:47 -0700 |
---|---|---|
committer | unostar <unostar@danalan.info> | 2009-06-17 01:26:47 -0700 |
commit | 753ce3e02596c9dc1bc072707c214197088b4611 (patch) | |
tree | aeeb36be8ffd3495756e521c2fdbcfb29d7a951e /modules/recaptcha | |
parent | 1a911d4b5c5b8b337806209611f5eae07dfe9abd (diff) |
Add "custom_translations" instruction to captcha form builder to add possibility to localize and customize form.
Diffstat (limited to 'modules/recaptcha')
-rw-r--r-- | modules/recaptcha/views/admin_recaptcha.html.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/recaptcha/views/admin_recaptcha.html.php b/modules/recaptcha/views/admin_recaptcha.html.php index 74932a96..06a664e1 100644 --- a/modules/recaptcha/views/admin_recaptcha.html.php +++ b/modules/recaptcha/views/admin_recaptcha.html.php @@ -23,6 +23,7 @@ Recaptcha.create("<?= $public_key ?>", "gRecaptcha", { callback: Recaptcha.focus_response_field, lang: "en", + custom_translations : { instructions_visual : "<?= t("Type words to check:") ?>"}, theme: "white" }); </script> |