? mollom-user_text-355328-18-HEAD.patch Index: mollom.module =================================================================== RCS file: /cvs/drupal/contributions/modules/mollom/mollom.module,v retrieving revision 1.50 diff -u -p -r1.50 mollom.module --- mollom.module 16 Jul 2010 10:51:20 -0000 1.50 +++ mollom.module 16 Jul 2010 15:17:37 -0000 @@ -1314,7 +1314,7 @@ function mollom_validate_captcha(&$form, // Empty the CAPTCHA field value, since the user has to re-enter a new one. $form['mollom']['captcha']['#value'] = ''; - 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)));
}
}
@@ -1636,16 +1636,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) {
- $captcha = theme('image', array('path' => url($response['url']), 'alt' => t('Mollom CAPTCHA'), 'getsize' => FALSE));
+ $captcha = theme('image', array('path' => url($response['url']), 'alt' => t('Type the characters you see in this picture.'), 'getsize' => FALSE));
$output = '' . $captcha . '';
- $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.36
diff -u -p -r1.36 mollom.test
--- tests/mollom.test 16 Jul 2010 10:40:26 -0000 1.36
+++ tests/mollom.test 16 Jul 2010 15:17:38 -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