Index: captcha.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/captcha/captcha.module,v
retrieving revision 1.42.2.40
diff -u -p -r1.42.2.40 captcha.module
--- captcha.module	3 Dec 2007 01:16:42 -0000	1.42.2.40
+++ captcha.module	23 Apr 2008 01:57:42 -0000
@@ -4,7 +4,7 @@
 /**
  * @file
  * This module enables basic CAPTCHA functionality:
- * adminstrators can add a CAPTCHA to desired forms that users without
+ * administrators can add a CAPTCHA to desired forms that users without
  * the 'skip CAPTCHA' permission (typically anonymous visitors) have
  * to solve.
  *
@@ -39,7 +39,7 @@ function captcha_help($section = 'admin/
       return t('<p>A CAPTCHA can be added to virtually each Drupal form. Some default forms are already provided in the form list, but arbitrary forms can be easily added and managed when the option "%adminlinks" is enabled.</p><p>Users with the "%skipcaptcha" <a href="@perm">permission</a> won\'t be offered a challenge. Be sure to grant this permission to the trusted users (e.g. site administrators). If you want to test a protected form, be sure to do it as a user without the "%skipcaptcha" permission (e.g. as anonymous user).</p>',
         array(
           '@perm' => url('admin/user/access'),
-          '%adminlinks' => t('Add CAPTCHA adminstration links to forms'),
+          '%adminlinks' => t('Add CAPTCHA administration links to forms'),
           '%skipcaptcha' => 'skip CAPTCHA',
         ));
   }
@@ -166,19 +166,19 @@ function captcha_admin($form_id='', $op=
         // disable the CAPTCHA for the form: set the module and type to NULL
         db_query("UPDATE {captcha_points} SET module = NULL, type = NULL WHERE form_id = '%s'", $form_id);
         drupal_set_message(t('Disabled CAPTCHA for form %form_id.', array('%form_id' => $form_id)));
-        // goto the CAPTCHA adminstration or alternative destination if present in URI
+        // goto the CAPTCHA administration or alternative destination if present in URI
         drupal_goto('admin/user/captcha');
         break;
       case 'delete':
         db_query("DELETE FROM {captcha_points} WHERE form_id = '%s'", $form_id);
         drupal_set_message(t('Deleted CAPTCHA for form %form_id.', array('%form_id' => $form_id)));
-        // goto the CAPTCHA adminstration or alternative destination if present in URI
+        // goto the CAPTCHA administration or alternative destination if present in URI
         drupal_goto('admin/user/captcha');
         break;
       case 'enable':
         db_query("DELETE FROM {captcha_points} WHERE form_id = '%s'", $form_id);
         db_query("INSERT INTO {captcha_points} (form_id, module, type) VALUES ('%s', NULL, NULL)", $form_id);
-        // No drupal_goto() call because we have to go to the CAPTCHA adminstration
+        // No drupal_goto() call because we have to go to the CAPTCHA administration
         // form and not a different destination if that would be present in the
         // URI. So we call this form explicitly. The destination will be preserved
         // so after completing the form, the user will still be redirected.
@@ -196,10 +196,10 @@ function captcha_admin($form_id='', $op=
  * Form builder function for the general CAPTCHA configuration
  */
 function captcha_admin_settings() {
-  // field for the CAPTCHA adminstration mode
+  // field for the CAPTCHA administration mode
   $form['captcha_administration_mode'] = array(
     '#type' => 'checkbox',
-    '#title' => t('Add CAPTCHA adminstration links to forms'),
+    '#title' => t('Add CAPTCHA administration links to forms'),
     '#default_value' => variable_get('captcha_administration_mode', FALSE),
     '#description' => t('This option is very helpful to enable/disable challenges on forms. When enabled, users with the "%admincaptcha" permission will see CAPTCHA administration links on all forms (except on administrative pages, which shouldn\'t be accessible to untrusted users in the first place). These links make it possible to enable a challenge of the desired type or disable it.', array('%admincaptcha' => 'administer CAPTCHA settings')),
   );
@@ -207,7 +207,7 @@ function captcha_admin_settings() {
   $form['captcha_types'] = array(
     '#type' => 'fieldset',
     '#title' => t('Challenge type per form'),
-    '#description' => t('Select the challenge type you want for each of the listed forms (identified by their so called <em>form_id</em>\'s). You can easily add arbitrary forms with the help of the \'%CAPTCHA_admin_links\' option.', array('%CAPTCHA_admin_links'=>t('Add CAPTCHA adminstration links to forms'))),
+    '#description' => t('Select the challenge type you want for each of the listed forms (identified by their so called <em>form_id</em>\'s). You can easily add arbitrary forms with the help of the \'%CAPTCHA_admin_links\' option.', array('%CAPTCHA_admin_links'=>t('Add CAPTCHA administration links to forms'))),
     '#tree' => TRUE,
     '#collapsible' => TRUE,
     '#collapsed' => FALSE,
@@ -367,7 +367,7 @@ function captcha_captcha_point_settings_
   else {
     // illegal form_id
     drupal_set_message(t('Unavailable form_id %form_id ', array('%form_id' => $form_id)), 'error');
-    // goto the CAPTCHA adminstration or alternative destination if present in URI
+    // goto the CAPTCHA administration or alternative destination if present in URI
     drupal_goto('admin/user/captcha');
   }
 }
@@ -405,7 +405,7 @@ function _captcha_persistence_skip($form
  * Implementation of hook_form_alter().
  *
  * This function adds a CAPTCHA to forms for untrusted users if needed and adds
- * CAPTCHA adminstration links for site adminstrators if this option is enabled.
+ * CAPTCHA administration links for site administrators if this option is enabled.
  */
 function captcha_form_alter($form_id, &$form) {
 
