### Eclipse Workspace Patch 1.0
#P drupal-contrib-cvs
Index: modules/views/js/tabs.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/js/tabs.js,v
retrieving revision 1.2
diff -u -r1.2 tabs.js
--- modules/views/js/tabs.js	29 Jan 2008 02:34:39 -0000	1.2
+++ modules/views/js/tabs.js	30 Mar 2008 14:53:14 -0000
@@ -329,7 +329,7 @@
           }, 0);*/
 
         } else {
-          throw 'jQuery UI Tabs: Mismatching fragment identifier.';
+          throw Drupal.t('jQuery UI Tabs: Mismatching fragment identifier.');
         }
 
         this.blur(); // prevent IE from keeping other link focussed when using the back button
@@ -364,7 +364,7 @@
         this.tabify();
         o.add(this.$tabs[position - 1], this.$containers[position - 1]); // callback
       } else {
-        throw 'jQuery UI Tabs: Not enough arguments to add tab.';
+        throw Drupal.t('jQuery UI Tabs: Not enough arguments to add tab.');
       }       
     },
     remove: function(position) {
Index: modules/views/js/ajax_view.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/js/ajax_view.js,v
retrieving revision 1.1
diff -u -r1.1 ajax_view.js
--- modules/views/js/ajax_view.js	29 Mar 2008 00:58:35 -0000	1.1
+++ modules/views/js/ajax_view.js	30 Mar 2008 14:53:14 -0000
@@ -67,7 +67,7 @@
                 });
               }
             },
-            error: function() { alert("An error occurred"); },
+            error: function() { alert(Drupal.t("An error occurred")); },
             dataType: 'json'
           });
   
@@ -98,7 +98,7 @@
                     });
                   }
                 },
-                error: function() { $(this).removeClass('views-throbbing'); alert("An error occurred"); },
+                error: function() { $(this).removeClass('views-throbbing'); alert(Drupal.t("An error occurred")); },
                 dataType: 'json'
               });
 
@@ -130,7 +130,7 @@
                     });
                   }
                 },
-                error: function() { $(this).removeClass('views-throbbing'); alert("An error occurred"); },
+                error: function() { $(this).removeClass('views-throbbing'); alert(Drupal.t("An error occurred")); },
                 dataType: 'json'
               });
 
Index: modules/views/js/ajax.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/js/ajax.js,v
retrieving revision 1.16
diff -u -r1.16 ajax.js
--- modules/views/js/ajax.js	29 Mar 2008 00:57:38 -0000	1.16
+++ modules/views/js/ajax.js	30 Mar 2008 14:53:14 -0000
@@ -70,7 +70,7 @@
           data: '',
           type: 'POST',
           success: Drupal.Views.Ajax.ajaxResponse,
-          error: function() { $('span.views-throbbing').remove(); alert("An error occurred."); },
+          error: function() { $('span.views-throbbing').remove(); alert(Drupal.t("An error occurred.")); },
           dataType: 'json'
         });
         return false;
@@ -178,7 +178,7 @@
           data: '',
           type: 'POST',
           success: Drupal.Views.Ajax.previewResponse,
-          error: function() { $('span.views-throbbing').remove(); alert("An error occurred."); },
+          error: function() { $('span.views-throbbing').remove(); alert(Drupal.t("An error occurred.")); },
           dataType: 'json'
         });
         return false;
@@ -199,7 +199,7 @@
     data: '',
     type: 'POST',
     success: Drupal.Views.Ajax.previewResponse,
-    error: function() { $('span.views-throbbing').remove(); alert("An error occurred."); },
+    error: function() { $('span.views-throbbing').remove(); alert(Drupal.t("An error occurred.")); },
     dataType: 'json'
   });
 
@@ -216,7 +216,7 @@
     data: '',
     type: 'GET',
     success: Drupal.Views.Ajax.previewResponse,
-    error: function() { $('span.views-throbbing').remove(); alert("An error occurred."); },
+    error: function() { $('span.views-throbbing').remove(); alert(Drupal.t("An error occurred.")); },
     dataType: 'json'
   });
 
@@ -236,7 +236,7 @@
     data: '',
     type: 'GET',
     success: Drupal.Views.Ajax.previewResponse,
-    error: function() { $(this).removeClass('views-throbbing'); alert("An error occurred."); },
+    error: function() { $(this).removeClass('views-throbbing'); alert(Drupal.t("An error occurred.")); },
     dataType: 'json'
   });
 
@@ -263,7 +263,7 @@
       url: url,
       data: '',
       success: Drupal.Views.Ajax.ajaxResponse,
-      error: function() { $(this).removeClass('views-throbbing'); alert("An error occurred."); },
+      error: function() { $(this).removeClass('views-throbbing'); alert(Drupal.t("An error occurred.")); },
       dataType: 'json'
     });
     
@@ -282,7 +282,7 @@
       data: '',
       type: 'POST',
       success: Drupal.Views.Ajax.ajaxResponse,
-      error: function() { $('span.views-throbbing').remove(); alert("An error occurred."); },
+      error: function() { $('span.views-throbbing').remove(); alert(Drupal.t("An error occurred.")); },
       dataType: 'json'
     });
 
