? 306971_watchdog_parameters_translation.patch Index: comment_notify.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/comment_notify/comment_notify.module,v retrieving revision 1.19 diff -u -p -r1.19 comment_notify.module --- comment_notify.module 8 Sep 2008 14:54:01 -0000 1.19 +++ comment_notify.module 11 Sep 2008 15:18:41 -0000 @@ -346,17 +346,17 @@ function _comment_notify_mailalert($comm $sent_to[] = $mail; if ($alert->uid != 0) { - $watchdog_message = t('Notified: @user_mail', - array('!url' => url('user/'. $alert->uid .'/edit'), '@user_mail' => $mail)) ; + $watchdog_message = 'Notified: @user_mail'.; } else { - $watchdog_message = t('Notified @user_mail', array('@user_mail' => $mail)); + $watchdog_message = 'Notified @user_mail'; } - // Add an entry to the watchdog log. - watchdog('comment_notify', $watchdog_message, + watchdog('comment_notify', $watchdog_message, array('!url' => url('user/'. $alert->uid .'/edit'), '@user_mail' => $mail)), WATCHDOG_NOTICE, l(t('source comment'), 'node/'. $nid, array('fragment' => 'comment-'. $alert->cid))); + // Add an entry to the watchdog log. + // revert to previous (site default) locale $language = $initial_language; }