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') 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') 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