diff options
author | unostar <unostar@danalan.info> | 2009-06-15 05:54:45 -0700 |
---|---|---|
committer | unostar <unostar@danalan.info> | 2009-06-15 05:54:45 -0700 |
commit | 1081eee201cefa0278e189a2296545097c6f1db4 (patch) | |
tree | 43fc5f546af4157c01bbb095c9726181ce46febf /modules/recaptcha/views | |
parent | 2a5ffaae7e656636bf8c9411358bf4f33c31dde8 (diff) |
Added "cutom_translations" instruction to Recaptcha to localize & cutomize recaptcha message.
Diffstat (limited to 'modules/recaptcha/views')
-rw-r--r-- | modules/recaptcha/views/form_recaptcha.html.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/recaptcha/views/form_recaptcha.html.php b/modules/recaptcha/views/form_recaptcha.html.php index abdf8428..d4031586 100644 --- a/modules/recaptcha/views/form_recaptcha.html.php +++ b/modules/recaptcha/views/form_recaptcha.html.php @@ -6,7 +6,12 @@ Recaptcha.create( "<?= $public_key ?>", "gRecaptcha", - { theme: "white", callback: Recaptcha.focus_response_field }); + { + theme: "white", + custom_translations : { instructions_visual : "<?= t("Type words to check:") ?>"}, + callback: Recaptcha.focus_response_field + } + ); }, 0); </script> |