Index: comment_upload.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/comment_upload/comment_upload.module,v
retrieving revision 1.7.2.24
diff -u -r1.7.2.24 comment_upload.module
--- comment_upload.module	6 Jun 2009 01:51:55 -0000	1.7.2.24
+++ comment_upload.module	4 Jul 2009 18:08:52 -0000
@@ -535,7 +535,7 @@
  * @param array $form_state
  */
 function comment_upload_comment_form_validate($form, &$form_state) {
-  if (empty($form_state['values']['op']) && (isset($form_state['clicked_button']) && $form_state['clicked_button']['#value'] != 'Attach')) {
+  if (empty($form_state['values']['op']) && (isset($form_state['clicked_button']) && $form_state['clicked_button']['#value'] != t('Attach'))) {
     return;
   }
   elseif(!empty($form_state['rebuild'])) {
@@ -553,7 +553,7 @@
       $form_state['storage']['comment_upload_storage'][$fid] = $form['#comment_upload_storage'][$fid];
     }
   }
-  if ((isset($form_state['values']['op']) && $form_state['values']['op'] == 'Preview') || (isset($form_state['clicked_button']) && $form_state['clicked_button']['#value'] == 'Attach')) {
+  if ((isset($form_state['values']['op']) && $form_state['values']['op'] == t('Preview')) || (isset($form_state['clicked_button']) && $form_state['clicked_button']['#value'] == t('Attach'))) {
     $form_state['rebuild'] = TRUE;
   }
   elseif (!empty($form_state['submitted'])) {

