--- old/captcha.module	2005-02-10 09:08:32.000000000 +0100
+++ new/captcha.module	2005-02-10 09:08:34.000000000 +0100
@@ -82,16 +82,16 @@
   // make sure this is a registration, and captcha is enabled for registration
   if (_captcha_istrue("captcha_user_register") && !$newuser->uid && !$user->uid)
   switch ($type) {
-    case t("register"):
-    // Add two items to the resigtration form.
+    case 'register':
+    // Add two items to the registration form.
     
     $output .= form_item("", '<img src="'.url('captcha/image/'.time()).'" alt="Captcha Image: you will need to recognize the text in it."/>');
-    $output .= form_textfield(t('Word'), 'captchaword', NULL, 15, 15, 'Please type in the letters/numbers that are shown in the image above.', NULL, TRUE);
+    $output .= form_textfield(t('Word'), 'captchaword', NULL, 15, 15, t('Please type in the letters/numbers that are shown in the image above.'), NULL, TRUE);
 
     return array(array('title' => t('Verify Registration'), 'data'=>$output));
 
     break;
-    case t("validate"):
+    case 'validate':
     // The user has filled out the form and checked the "accept" box.
     if (strtolower($edit['captchaword']) == strtolower($_SESSION['captcha'])) {
       // on success return the values you want to store
@@ -104,6 +104,7 @@
     }
     break;
   }
+
 }
 
 /**
