Index: conditional_fields.module
=========================================================
--- conditional_fields.module	(revision 1.8)
+++ conditional_fields.module	Mon Nov 30 03:31:07 CET 2009
@@ -31,7 +31,7 @@
     $output .= '<p>' . t('These are the requisites to make a field controllable:') . '</p>';
     $output .= '<ul>';
     $output .= '<li>'. t('The controlling field widget must be single or multiple select list, radio buttons or checkboxes.') .'</li>';
-    $output .= '<li>'. t("The controlling field must have allowed values.") .'</li>';
+    $output .= '<li>'. t('The controlling field must have allowed values.') .'</li>';
     $output .= '<li>'. t('If the controlled field is in a group, the controlling field must be in the same group.') .'</li>';
     $output .= '<li>'. t('If you want to make a group controllable, the controlling field should not be inside a group.') .'</li>';
     $output .= '</ul>';
@@ -86,8 +86,8 @@
     '#type' => 'radios',
     '#options' => array(
       C_FIELDS_JS_NO => t("Don't use javascript. Fields are only hidden on node view."),
-      C_FIELDS_JS_HIDE => t('Hide untriggered fields.'),
-      C_FIELDS_JS_DISABLE => t('Disable untriggered fields.')
+      C_FIELDS_JS_HIDE => t('Hide untriggered fields'),
+      C_FIELDS_JS_DISABLE => t('Disable untriggered fields')
     ),
     '#title' => 'Javascript',
     '#description' => t('Choose the desired javascript behaviour in node editing forms.'),
@@ -414,7 +414,7 @@
  * Controllable field settings form
  */
 function conditional_fields_content_admin_field_controllable(&$form, $type, $field_name, $available_fields, $allowed_values, $context) {
-  $description = '<p>' . t('Choose which allowed values of available controlling fields will trigger this @context, making it visible both in node editing and view. If no value is set, the @context will be always visible. Only fields and groups within the same group as this one, and with <em>Allowed values</em> set, are available for control.', array('@context' => t($context))) . '</p>';
+  $description = '<p>' . t('Choose which allowed values of available controlling fields will trigger this @context, making it visible both in node editing and view. If no value is set, the @context will be always visible. Only fields and groups within the same group as this one, and with <em>Allowed values</em> set, are available for control.', array('@context' => $context)) . '</p>';
 
   conditional_fields_content_admin_field_fieldset($form, $description, TRUE);
 
@@ -505,7 +505,7 @@
       if (count($trigger_values) > 1 || !$trigger_values['conditional_field_no_value']) {
         $count_selected++;
         if ($count_selected == 2) {
-          form_set_error('conditional_fields', t("You cannot select more than one controlling field."));
+          form_set_error('conditional_fields', t('You cannot select more than one controlling field.'));
         }
       }
       // Disallow selecting Not set and values at the same time
