From 1081eee201cefa0278e189a2296545097c6f1db4 Mon Sep 17 00:00:00 2001 From: unostar Date: Mon, 15 Jun 2009 05:54:45 -0700 Subject: Added "cutom_translations" instruction to Recaptcha to localize & cutomize recaptcha message. --- modules/recaptcha/views/form_recaptcha.html.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/recaptcha/views') 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( "", "gRecaptcha", - { theme: "white", callback: Recaptcha.focus_response_field }); + { + theme: "white", + custom_translations : { instructions_visual : ""}, + callback: Recaptcha.focus_response_field + } + ); }, 0); -- cgit v1.2.3 From 753ce3e02596c9dc1bc072707c214197088b4611 Mon Sep 17 00:00:00 2001 From: unostar Date: Wed, 17 Jun 2009 01:26:47 -0700 Subject: Add "custom_translations" instruction to captcha form builder to add possibility to localize and customize form. --- modules/recaptcha/views/admin_recaptcha.html.php | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/recaptcha/views') 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("", "gRecaptcha", { callback: Recaptcha.focus_response_field, lang: "en", + custom_translations : { instructions_visual : ""}, theme: "white" }); -- cgit v1.2.3 From 76f688a070c7c36eb84dc22b21b165f00440a4a4 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 27 Jun 2009 16:41:05 -0700 Subject: Clean up poor english. Use the latest recaptcha info from their website. Fixes ticket #470. --- modules/recaptcha/views/admin_recaptcha.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/recaptcha/views') diff --git a/modules/recaptcha/views/admin_recaptcha.html.php b/modules/recaptcha/views/admin_recaptcha.html.php index 06a664e1..4c041ba2 100644 --- a/modules/recaptcha/views/admin_recaptcha.html.php +++ b/modules/recaptcha/views/admin_recaptcha.html.php @@ -2,7 +2,7 @@

- ReCaptcha Public/Private Key pair, which is also free. Once registered, the challenge and response strings are evaluated at recaptcha.net to determine if the form content has been entered by a bot.", + ReCaptcha Public/Private Key pair, which is also free. Once registered, the challenge and response strings are evaluated at recaptcha.net to determine if the form content has been entered by a bot.", array("domain_url" => $form->get_key_url, "recaptcha_url" => "http://recaptcha.net")) ?>

-- cgit v1.2.3