--- jq/jq.add.inc.orig  2008-10-01 12:02:09.000000000 +1000
+++ jq/jq.add.inc       2009-06-17 20:55:26.000000000 +1000
@@ -7,12 +7,13 @@
   if (!isset($invoked_plugins[$plugin])) {
     if (isset($plugin) && isset($jq)) {
       if (!variable_get('jq_allow_'. $plugin, TRUE)) {
-        $error = t('The %plugin jQuery plugin has been disabled.', array('%plugin' => $plugin));
+        $error = 'The %plugin jQuery plugin has been disabled.';
+        $error_args = array('%plugin' => $plugin);
         if ($log_errors) {
-          watchdog('jq', $error, WATCHDOG_NOTICE);
+          watchdog('jq', $error, $error_args, WATCHDOG_NOTICE);
         }
         if ($display_errors) {
-          drupal_set_message($error, 'error');
+          drupal_set_message(t($error, $error_args), 'error');
         }
         $invoked_plugins[$plugin] = FALSE;
       }
@@ -32,12 +33,13 @@
     }
     else {
       // log & display an error, but only if we haven't already. don't want to overwhelm with a lot of identical errors per page
-      $error = t('The %plugin jQuery plugin is not defined.', array('%plugin' => $plugin));
+      $error = 'The %plugin jQuery plugin is not defined.';
+      $error_args = array('%plugin' => $plugin);
       if ($log_errors) {
-        watchdog('jq', $error, WATCHDOG_ERROR);
+        watchdog('jq', $error, $error_args, WATCHDOG_ERROR);
       }
       if ($display_errors) {
-        drupal_set_message($error, 'error');
+        drupal_set_message(t($error, $error_args), 'error');
       }
       $invoked_plugins[$plugin] = FALSE;
     }
