/modules/dblog/dblog.admin.inc@219-224 there should be (note the added t() ):

function dblog_filters() {
  $filters = array();

  foreach (_dblog_get_message_types() as $type) {
    $types[$type] = t($type);
  }

Comments

derjochenmeyer’s picture

Title: Untranslatable strings » Add t() for $type in dblog_filters()
Version: 7.0-alpha7 » 7.x-dev
Status: Active » Fixed

This has already been implemented.

dblog_filters

function dblog_filters() {
  $filters = array();

  foreach (_dblog_get_message_types() as $type) {
    $types[$type] = t($type);
  }

  if (!empty($types)) {
    $filters['type'] = array(
      'title' => t('Type'), 
      'where' => "w.type = ?", 
      'options' => $types,
    );
  }

  $filters['severity'] = array(
    'title' => t('Severity'), 
    'where' => 'w.severity = ?', 
    'options' => watchdog_severity_levels(),
  );

  return $filters;
}

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.