? mollom-user_text-355328-18-DRUPAL-6--1.patch Index: mollom.module =================================================================== RCS file: /cvs/drupal/contributions/modules/mollom/mollom.module,v retrieving revision 1.2.2.147 diff -u -p -r1.2.2.147 mollom.module --- mollom.module 10 Jul 2010 01:03:52 -0000 1.2.2.147 +++ mollom.module 16 Jul 2010 15:19:25 -0000 @@ -1334,7 +1334,7 @@ function mollom_validate_captcha($form, // Bail out if no value was provided. if (empty($form_state['values']['mollom']['captcha'])) { - form_set_error('mollom][captcha', t('The CAPTCHA field is required.')); + form_set_error('mollom][captcha', t('The word verification field is required.')); return; } @@ -1358,7 +1358,7 @@ function mollom_validate_captcha($form, watchdog('mollom', 'Correct CAPTCHA:
@data', array('@data' => print_r($form_state['values'], TRUE)));
}
else {
- form_set_error('mollom][captcha', t('The CAPTCHA was not completed correctly. Please complete this new CAPTCHA and try again.'));
+ form_set_error('mollom][captcha', t('The word verification was not completed correctly. Please complete this new word verification and try again.'));
watchdog('mollom', 'Incorrect CAPTCHA: @data', array('@data' => print_r($form_state['values'], TRUE)));
}
}
@@ -1751,16 +1751,16 @@ function mollom_get_captcha($type, array
$output .= '';
$output = '' . $output . '';
- $output .= ' (' . t('use image CAPTCHA') . ')';
+ $output .= ' (' . t('verify using image') . ')';
}
break;
case 'image':
$response = mollom('mollom.getImageCaptcha', $data);
if ($response) {
- $output .= '
';
+ $output .= '
';
$output = '' . $output . '';
- $output .= ' (' . t('play audio CAPTCHA') . ')';
+ $output .= ' (' . t('verify using audio') . ')';
}
break;
}
Index: tests/mollom.test
===================================================================
RCS file: /cvs/drupal/contributions/modules/mollom/tests/mollom.test,v
retrieving revision 1.1.2.46
diff -u -p -r1.1.2.46 mollom.test
--- tests/mollom.test 30 Jun 2010 18:51:25 -0000 1.1.2.46
+++ tests/mollom.test 16 Jul 2010 15:19:26 -0000
@@ -52,7 +52,7 @@ class MollomWebTestCase extends DrupalWe
/**
* The text the user should see if they did not fill out the CAPTCHA correctly.
*/
- protected $incorrect_message = 'The CAPTCHA was not completed correctly. Please complete this new CAPTCHA and try again.';
+ protected $incorrect_message = 'The word verification was not completed correctly. Please complete this new word verification and try again.';
/**
* The text the user should see if the textual analysis was unsure about the