diff --git a/patches/captcha-6.x-1.0-rc2/README b/patches/captcha-6.x-1.0-rc2/README deleted file mode 100644 index b8222ac..0000000 --- a/patches/captcha-6.x-1.0-rc2/README +++ /dev/null @@ -1,7 +0,0 @@ -The captcha module can be found at http://drupal.org/project/captcha - -These patches were built for Captcha 6.x-1.0-rc2. They are not guaranteed to -work on other versions. Use at your own risk. - -These patches must be applied from the root of the captcha module directory. -For help on applying patches, see http://drupal.org/node/60108. \ No newline at end of file diff --git a/patches/captcha-6.x-1.0-rc2/captcha.module.patch b/patches/captcha-6.x-1.0-rc2/captcha.module.patch deleted file mode 100644 index 66d5826..0000000 --- a/patches/captcha-6.x-1.0-rc2/captcha.module.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- captcha.module 2008-11-14 02:28:11.000000000 -0800 -+++ captcha.module.new 2008-11-14 03:02:59.000000000 -0800 -@@ -240,7 +240,14 @@ function captcha_form_alter(&$form, $for - '#type' => 'value', - '#value' => $captcha['solution'], - ); -- -+ $form['captcha']['captcha_query'] = array( -+ '#type' => 'value', -+ '#value' => $captcha['query'] -+ ); -+ $form['captcha']['captcha_type'] = array( -+ '#type' => 'value', -+ '#value' => $captcha['type'] -+ ); - // The CAPTCHA token is used to differentiate between different instances - // of the same form. This makes it possible to request the same form a - // couple of times before submitting them. The solution of the CAPTCHA of -@@ -446,12 +453,15 @@ function captcha_captcha($op, $captcha_t - $answer = mt_rand(1, 20); - $x = mt_rand(1, $answer); - $y = $answer - $x; -+ $query = t('@x + @y = ', array('@x' => $x, '@y' => $y)); - $result['solution'] = "$answer"; -+ $result['query'] = $query; -+ $result['type'] = 'math'; - $result['form']['captcha_response'] = array( - '#type' => 'textfield', - '#title' => t('Math Question'), - '#description' => t('Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.'), -- '#field_prefix' => t('@x + @y = ', array('@x' => $x, '@y' => $y)), -+ '#field_prefix' => $query, - '#size' => 4, - '#maxlength' => 2, - '#required' => TRUE, diff --git a/patches/captcha-6.x-1.0-rc2/image_captcha.module.patch b/patches/captcha-6.x-1.0-rc2/image_captcha.module.patch deleted file mode 100644 index ab01595..0000000 --- a/patches/captcha-6.x-1.0-rc2/image_captcha.module.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- image_captcha/image_captcha.module 2008-11-14 09:45:54.000000000 -0800 -+++ image_captcha/image_captcha.module.new 2008-11-14 02:41:10.000000000 -0800 -@@ -133,11 +133,14 @@ function image_captcha_captcha($op, $cap - $seed = mt_rand(); - $_SESSION['image_captcha'][$seed] = $code; - // build the result to return -+ $query = ''. t('Image CAPTCHA') .''; - $result = array(); - $result['solution'] = $code; -+ $result['query'] = $query; -+ $result['type'] = 'image'; - $result['form']['captcha_image'] = array( - '#type' => 'markup', -- '#value' => ''. t('Image CAPTCHA') .'', -+ '#value' => $query, - '#weight' => -2, - ); - $result['form']['captcha_response'] = array( diff --git a/patches/captcha-6.x-1.0-rc2/text_captcha.module.patch b/patches/captcha-6.x-1.0-rc2/text_captcha.module.patch deleted file mode 100644 index bc5525e..0000000 --- a/patches/captcha-6.x-1.0-rc2/text_captcha.module.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- text_captcha/text_captcha.module 2008-11-14 09:46:15.000000000 -0800 -+++ text_captcha/text_captcha.module.new 2008-11-14 02:40:50.000000000 -0800 -@@ -52,11 +52,14 @@ function text_captcha_captcha($op, $capt - $key = array_rand($words, 1); - $answer = $words[$key]; - // store the answer and build the form elements -+ $query = t('What is the @nth word in the phrase "@words"?', array('@nth' => _text_captcha_ordinal($key+1), '@words' => implode(' ', $words))); - $result = array(); - $result['solution'] = $answer; -+ $result['query'] = $query; -+ $result['type'] = 'text'; - $result['form']['captcha_response'] = array( - '#type' => 'textfield', -- '#title' => t('What is the @nth word in the phrase "@words"?', array('@nth' => _text_captcha_ordinal($key+1), '@words' => implode(' ', $words))), -+ '#title' => $query, - '#weight' => 0, - '#size' => 15, - '#required' => TRUE, diff --git a/patches/captcha/README b/patches/captcha/README deleted file mode 100644 index b8222ac..0000000 --- a/patches/captcha/README +++ /dev/null @@ -1,7 +0,0 @@ -The captcha module can be found at http://drupal.org/project/captcha - -These patches were built for Captcha 6.x-1.0-rc2. They are not guaranteed to -work on other versions. Use at your own risk. - -These patches must be applied from the root of the captcha module directory. -For help on applying patches, see http://drupal.org/node/60108. \ No newline at end of file diff --git a/patches/captcha/captcha.module.patch b/patches/captcha/captcha.module.patch deleted file mode 100644 index 66d5826..0000000 --- a/patches/captcha/captcha.module.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- captcha.module 2008-11-14 02:28:11.000000000 -0800 -+++ captcha.module.new 2008-11-14 03:02:59.000000000 -0800 -@@ -240,7 +240,14 @@ function captcha_form_alter(&$form, $for - '#type' => 'value', - '#value' => $captcha['solution'], - ); -- -+ $form['captcha']['captcha_query'] = array( -+ '#type' => 'value', -+ '#value' => $captcha['query'] -+ ); -+ $form['captcha']['captcha_type'] = array( -+ '#type' => 'value', -+ '#value' => $captcha['type'] -+ ); - // The CAPTCHA token is used to differentiate between different instances - // of the same form. This makes it possible to request the same form a - // couple of times before submitting them. The solution of the CAPTCHA of -@@ -446,12 +453,15 @@ function captcha_captcha($op, $captcha_t - $answer = mt_rand(1, 20); - $x = mt_rand(1, $answer); - $y = $answer - $x; -+ $query = t('@x + @y = ', array('@x' => $x, '@y' => $y)); - $result['solution'] = "$answer"; -+ $result['query'] = $query; -+ $result['type'] = 'math'; - $result['form']['captcha_response'] = array( - '#type' => 'textfield', - '#title' => t('Math Question'), - '#description' => t('Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.'), -- '#field_prefix' => t('@x + @y = ', array('@x' => $x, '@y' => $y)), -+ '#field_prefix' => $query, - '#size' => 4, - '#maxlength' => 2, - '#required' => TRUE, diff --git a/patches/captcha/image_captcha.module.patch b/patches/captcha/image_captcha.module.patch deleted file mode 100644 index ab01595..0000000 --- a/patches/captcha/image_captcha.module.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- image_captcha/image_captcha.module 2008-11-14 09:45:54.000000000 -0800 -+++ image_captcha/image_captcha.module.new 2008-11-14 02:41:10.000000000 -0800 -@@ -133,11 +133,14 @@ function image_captcha_captcha($op, $cap - $seed = mt_rand(); - $_SESSION['image_captcha'][$seed] = $code; - // build the result to return -+ $query = ''. t('Image CAPTCHA') .''; - $result = array(); - $result['solution'] = $code; -+ $result['query'] = $query; -+ $result['type'] = 'image'; - $result['form']['captcha_image'] = array( - '#type' => 'markup', -- '#value' => ''. t('Image CAPTCHA') .'', -+ '#value' => $query, - '#weight' => -2, - ); - $result['form']['captcha_response'] = array( diff --git a/patches/captcha/text_captcha.module.patch b/patches/captcha/text_captcha.module.patch deleted file mode 100644 index bc5525e..0000000 --- a/patches/captcha/text_captcha.module.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- text_captcha/text_captcha.module 2008-11-14 09:46:15.000000000 -0800 -+++ text_captcha/text_captcha.module.new 2008-11-14 02:40:50.000000000 -0800 -@@ -52,11 +52,14 @@ function text_captcha_captcha($op, $capt - $key = array_rand($words, 1); - $answer = $words[$key]; - // store the answer and build the form elements -+ $query = t('What is the @nth word in the phrase "@words"?', array('@nth' => _text_captcha_ordinal($key+1), '@words' => implode(' ', $words))); - $result = array(); - $result['solution'] = $answer; -+ $result['query'] = $query; -+ $result['type'] = 'text'; - $result['form']['captcha_response'] = array( - '#type' => 'textfield', -- '#title' => t('What is the @nth word in the phrase "@words"?', array('@nth' => _text_captcha_ordinal($key+1), '@words' => implode(' ', $words))), -+ '#title' => $query, - '#weight' => 0, - '#size' => 15, - '#required' => TRUE, diff --git a/translations/ja.po b/translations/ja.po deleted file mode 100644 index c80701f..0000000 --- a/translations/ja.po +++ /dev/null @@ -1,50 +0,0 @@ -# $Id$ -# ----------------------------------------------------------------------------- -# Japanese translation of Drupal (modules-zzzz_ajax) -# -# Copyright (c) 2008 Drupal Japan ( http://drupal.jp/ ) / -# Takafumi ( jp.drupal@imagine **reverse order**) -# -# Generated from file: -# zzzz_ajax.module: n/a -# zzzz_ajax.info: n/a -# -# ----------------------------------------------------------------------------- -msgid "" -msgstr "" -"POT-Creation-Date: 2008-10-25 16:57+0900\n" -"Last-Translator: Takafumi \n" -"Language-Team: Drupal Japan\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n!=1);\n" - -#: zzzz_ajax.module:13 -msgid "Ajax Forms Settings" -msgstr "Ajaxフォームの設定" - -#: zzzz_ajax.module:14 -msgid "Controls which forms should use AJAX submissions." -msgstr "AJAX送信を使用するフォームをコントロールします。" - -#: zzzz_ajax.module:72 -msgid "Forms to Use AJAX Submissions" -msgstr "AJAX送信を使用するフォーム" - -#: zzzz_ajax.module:75 -msgid "Select the forms you wish to use AJAX submissions." -msgstr "AJAX送信を使用したいフォームを指定してください。" - -#: zzzz_ajax.module:0 -msgid "zzzz_ajax" -msgstr "zzzz_ajax" - -#: zzzz_ajax.info:0;0 -msgid "ZZZZ AJAX Forms" -msgstr "ZZZZ AJAX Forms" - -#: zzzz_ajax.info:0 -msgid "Automatically validates and submits any Drupal form using AJAX. This module needs to run last." -msgstr "任意のDrupalフォームでAJAXを使用した自動的な検証と送信を行います。 このモジュールは最後に実行される必要があります。" -