Index: autoassignrole.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/autoassignrole/autoassignrole.module,v
retrieving revision 1.4.2.4
diff -u -p -r1.4.2.4 autoassignrole.module
--- autoassignrole.module	24 Aug 2008 07:05:49 -0000	1.4.2.4
+++ autoassignrole.module	8 Nov 2008 21:08:09 -0000
@@ -35,18 +35,16 @@ function autoassignrole_settings() {
     '#collapsible' => TRUE,
     '#collapsed' => TRUE,
   );
-  $desc = "Automatic role assignment occurs when the user first logins to the ";
-  $desc .= "account.  This happens without the users knowledge.";
   $form['autoassignrole_settings_auto']['AUTOASSIGNROLE_ROLE_ACTIVE'] = array(
     '#type' => 'radios',
     '#title' => t('Automatic role assignment'),
-    '#description' => t($desc),
+    '#description' => t('Automatic role assignment occurs when the user first logins to the account. This happens without the users knowledge'),
     '#default_value' => variable_get('AUTOASSIGNROLE_ROLE_ACTIVE', 0),
     '#options' => array(1 => t('Enabled'), 0 => t('Disabled')),
   );
   $form['autoassignrole_settings_auto']['AUTOASSIGNROLE_ROLE'] = array(
     '#type' => 'checkboxes',
-    '#title' => t('Role'),
+    '#title' => t('Role(s)'),
     '#default_value' => variable_get('AUTOASSIGNROLE_ROLE', ''),
     '#options' => user_roles(),
     '#description' => t('Select the roles to assign new users.'),
@@ -57,13 +55,11 @@ function autoassignrole_settings() {
     '#collapsible' => TRUE,
     '#collapsed' => TRUE,
   );
-  $desc = "The end user will be allowed to select the following roles when ";
-  $desc .= "they log in.";
   $form['autoassignrole_settings_user']['AUTOASSIGNROLE_ROLE_USER_ACTIVE'] =
     array(
       '#type' => 'radios',
       '#title' => t('User Role Assignment'),
-      '#description' => t($desc),
+      '#description' => t('The end user will be allowed to select the following roles when they log in.'),
       '#default_value' => variable_get('AUTOASSIGNROLE_ROLE_USER_ACTIVE', 0),
       '#options' => array(1 => t('Enabled'), 0 => t('Disabled')),
     );
@@ -75,13 +71,11 @@ function autoassignrole_settings() {
       '#options' => user_roles(),
       '#description' => t('Select the roles that are offered to new users.'),
     );
-  $desc = "Should the end user be allowed to choose a single role or can they ";
-  $desc .= "choose multiple roles?";
   $form['autoassignrole_settings_user']['AUTOASSIGNROLE_ROLE_USER_MULTIPLE'] =
     array(
       '#type' => 'radios',
       '#title' => t('User Role Selection'),
-      '#description' => t($desc),
+      '#description' => t('Should the end user be allowed to choose a single role or can they choose multiple roles?'),
       '#default_value' => variable_get('AUTOASSIGNROLE_ROLE_USER_MULTIPLE', 0),
       '#options' => array(0 => t('Single Role'), 1 => t('Multiple Roles')),
     );
@@ -102,37 +96,32 @@ function autoassignrole_settings() {
       'SORT_DESC' => t('Descending')
     ),
   );
-  $desc = "The title of the fieldset that contains role options.";
   $form['autoassignrole_settings_user']['AUTOASSIGNROLE_ROLE_USER_FIELDSET'] =
     array(
       '#type' => 'textfield',
       '#title' => t('User Role Fieldset Title'),
-      '#description' => t($desc),
+      '#description' => t('The title of the fieldset that contains role options.'),
       '#default_value' => variable_get('AUTOASSIGNROLE_ROLE_USER_FIELDSET',
         t('User Role Selection')),
       '#size' => 60,
       '#maxlength' => 128,
       '#required' => FALSE,
   );
-    $desc = "The title of the field that contains the role options the end ";
-    $desc .= "user sees during registration.";
   $form['autoassignrole_settings_user']['AUTOASSIGNROLE_ROLE_USER_TITLE'] =
     array(
       '#type' => 'textfield',
       '#title' => t('User Role Title'),
-      '#description' => t($desc),
+      '#description' => t('The title of the field that contains the role options the end user sees during registration.'),
       '#default_value' => variable_get('AUTOASSIGNROLE_ROLE_USER_TITLE', ""),
       '#size' => 60,
       '#maxlength' => 128,
       '#required' => FALSE,
     );
-    $desc = "The description displayed to the end user when they are ";
-    $desc .= "selecting thier role during registration.";
   $form['autoassignrole_settings_user']['AUTOASSIGNROLE_ROLE_USER_DESCRIPTION'] =
     array(
       '#type' => 'textarea',
       '#title' => t('User Role Description'),
-      '#description' => t($desc),
+      '#description' => t('The description displayed to the end user when they are selecting thier role during registration.'),
       '#default_value' => variable_get('AUTOASSIGNROLE_ROLE_USER_DESCRIPTION'
         , ""),
       '#required' => FALSE,
