--- active_translation.batch.inc.orig 2008-06-19 20:31:02.000000000 +0200 +++ active_translation.batch.inc 2009-06-23 16:50:32.000000000 +0200 @@ -1,6 +1,10 @@ tnid); if (empty($node->nid)) { - watchdog('active_translation', 'Could not load the node %nid.', array('%nid' => $row->tnid), WATCHDOG_ERROR); + watchdog(ACTIVE_TRANSL_WATCHDOG_TYPE, 'Could not load the node %nid.', array('%nid' => $row->tnid), WATCHDOG_ERROR); } else { $translation = active_translation_recompute($node); @@ -72,11 +76,11 @@ function _active_translation_batch_finished($success, $results, $operations) { if ($success) { - watchdog('active_translation', 'Sucessfully rebuilt the active translation table.'); + watchdog(ACTIVE_TRANSL_WATCHDOG_TYPE, 'Sucessfully rebuilt the active translation table.'); drupal_set_message(t('The active translation table has rebuilt.')); } else { - watchdog('active_translation', 'There was an error that prevented the active translation table from being properly rebuilt.', array(), WATCHDOG_ERROR); + watchdog(ACTIVE_TRANSL_WATCHDOG_TYPE, 'There was an error that prevented the active translation table from being properly rebuilt.', array(), WATCHDOG_ERROR); drupal_set_message(t('The active translation table has not been properly rebuilt.'), 'error'); } cache_clear_all();