Index: mollom.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/mollom/mollom.module,v
retrieving revision 1.2.2.126
diff -u -p -r1.2.2.126 mollom.module
--- mollom.module 5 Feb 2010 22:04:35 -0000 1.2.2.126
+++ mollom.module 6 Feb 2010 13:54:22 -0000
@@ -1096,7 +1096,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;
}
@@ -1166,10 +1166,10 @@ function mollom_pre_render_mollom($eleme
// If we get a response, add the image CAPTCHA to the form element.
if (isset($result['session_id']) && isset($result['url'])) {
- $captcha = '';
- $captcha .= '
';
+ $captcha = '';
+ $captcha .= '
';
// @todo This suffix needs to be injected via JavaScript.
- $captcha .= ' (' . t('play audio CAPTCHA') . ')';
+ $captcha .= ' (' . t('play as audio') . ')';
$element['captcha']['#field_prefix'] = $captcha;
// Assign the session ID returned by Mollom.
Index: mollom.pages.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/mollom/mollom.pages.inc,v
retrieving revision 1.1.2.11
diff -u -p -r1.1.2.11 mollom.pages.inc
--- mollom.pages.inc 5 Feb 2010 22:04:35 -0000 1.1.2.11
+++ mollom.pages.inc 6 Feb 2010 13:57:07 -0000
@@ -38,17 +38,17 @@ function mollom_captcha_js($type, $sessi
$output .= '';
$output = '' . $output . '';
- $output .= ' (' . t('use image CAPTCHA') . ')';
+ $output .= ' (' . t('display image') . ')';
}
break;
case 'image':
$response = mollom('mollom.getImageCaptcha', $data);
if ($response) {
- $output .= '
';
+ $output = '
';
- $output = '' . $output . '';
- $output .= ' (' . t('play audio CAPTCHA') . ')';
+ $output = '' . $output . '';
+ $output .= ' (' . t('play as audio') . ')';
}
break;
}