? .git
Index: plugins/views_plugin_exposed_form.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/plugins/Attic/views_plugin_exposed_form.inc,v
retrieving revision 1.1.2.5
diff -u -p -r1.1.2.5 views_plugin_exposed_form.inc
--- plugins/views_plugin_exposed_form.inc	3 Dec 2009 23:28:53 -0000	1.1.2.5
+++ plugins/views_plugin_exposed_form.inc	15 Dec 2009 12:39:08 -0000
@@ -33,6 +33,7 @@ class views_plugin_exposed_form extends 
     $options = parent::option_definition();
     $options['submit_button'] = array('default' => t('Apply'), 'translatable' => TRUE);
     $options['reset_button'] = array('default' => FALSE, 'bool' => TRUE);
+    $options['reset_button_label'] = array('default' => 'Reset', 'translatable' => TRUE);
     return $options;
   }
 
@@ -44,12 +45,24 @@ class views_plugin_exposed_form extends 
       '#default_value' => $this->options['submit_button'],
     );
 
-    $form['reset_button'] = array (
+    $form['reset_button'] = array(
       '#type' => 'checkbox',
       '#title' => t('Include reset button'),
       '#description' => t('If checked the exposed form will provide a button to reset all the applied exposed filters'),
       '#default_value' => $this->options['reset_button'],
     );
+
+    $form['reset_button_label'] = array(
+      '#type' => 'textfield',
+      '#title' => t('Reset button label'),
+      '#description' => t('Text to display in the reset button of the exposed form.'),
+      '#default_value' => $this->options['reset_button_label'],
+      '#required' => TRUE,
+      '#dependency' => array(
+        'edit-exposed-form-options-reset-button' => array(1)
+      ),
+      '#process' => array('views_process_dependency'),
+    );
   }
 
   /**
@@ -102,7 +115,7 @@ class views_plugin_exposed_form extends 
   function exposed_form_alter(&$form, &$form_state) {
     if (!empty($this->options['reset_button'])) {
       $form['reset'] = array(
-        '#value' => t('Reset'),
+        '#value' => t($this->options['reset_button_label']),
         '#type' => 'submit',
       );
     }
