diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-17 21:52:00 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-17 21:52:00 -0700 |
commit | 34dd08e150583f62d97ff7fd373d2f628649ea32 (patch) | |
tree | 4071ac590c25b301231838278bdece3f9dec567b /modules/recaptcha | |
parent | a6a9b256ae7ac686ed1f53c05275ae702fb37aad (diff) | |
parent | 753ce3e02596c9dc1bc072707c214197088b4611 (diff) |
Merge branch 'master' of git://github.com/unostar/gallery3
Diffstat (limited to 'modules/recaptcha')
-rw-r--r-- | modules/recaptcha/views/admin_recaptcha.html.php | 1 | ||||
-rw-r--r-- | modules/recaptcha/views/form_recaptcha.html.php | 7 |
2 files changed, 7 insertions, 1 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> 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> |