Index: modules/watchdog.module =================================================================== RCS file: /cvs/drupal/drupal/modules/watchdog.module,v retrieving revision 1.119 diff -u -r1.119 watchdog.module --- modules/watchdog.module 9 Jan 2005 09:22:40 -0000 1.119 +++ modules/watchdog.module 21 Jan 2005 15:25:26 -0000 @@ -71,7 +71,7 @@ $names['all'] = t('all messages'); $queries['all'] = ''; foreach (_watchdog_get_message_types() as $type) { - $names[$type] = t('%type messages', array('%type' => $type)); + $names[$type] = t('%type messages', array('%type' => t($type))); $queries[$type] = "WHERE type = '". db_escape_string($type) ."'"; } @@ -103,7 +103,7 @@ array( // Cells $icons[$watchdog->severity], - $watchdog->type, + t($watchdog->type), format_date($watchdog->timestamp, 'small'), truncate_utf8($watchdog->message, 64), format_name($watchdog), @@ -139,7 +139,7 @@ $result = db_query('SELECT w.*, u.name, u.uid FROM {watchdog} w INNER JOIN {users} u ON w.uid = u.uid WHERE w.wid = %d', $id); if ($watchdog = db_fetch_object($result)) { $output .= '
'. t('Type') ." | $watchdog->type |
---|---|
'. t('Type') .' | ' . t($watchdog->type) . ' |
'. t('Date') .' | '. format_date($watchdog->timestamp, 'large') .' |
'. t('User') .' | '. format_name($watchdog) .' |
'. t('Location') ." | ". l($watchdog->location, $watchdog->location) ." |