From 51976ac13489876d5dabb98a96dbbdc55a152ba0 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 2 Oct 2003 08:35:33 +0000 Subject: - Fixed translation glitch in watchdog module. Thanks Stefan. --- modules/watchdog.module | 3 ++- modules/watchdog/watchdog.module | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/watchdog.module b/modules/watchdog.module index 82881e87c..38608c659 100644 --- a/modules/watchdog.module +++ b/modules/watchdog.module @@ -98,8 +98,9 @@ function watchdog_overview($type) { } if (!$rows) { - $rows[] = array(array("data" => t("No %s messages currently available.", array("%s" => $type)), "colspan" => "5")); + $rows[] = array(array("data" => t("No log messages available."), "colspan" => "5")); } + $pager = pager_display(NULL, 50, 0, "admin", tablesort_pager()); if (!empty($pager)) { $rows[] = array(array("data" => $pager, "colspan" => "5")); diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index 82881e87c..38608c659 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/watchdog.module @@ -98,8 +98,9 @@ function watchdog_overview($type) { } if (!$rows) { - $rows[] = array(array("data" => t("No %s messages currently available.", array("%s" => $type)), "colspan" => "5")); + $rows[] = array(array("data" => t("No log messages available."), "colspan" => "5")); } + $pager = pager_display(NULL, 50, 0, "admin", tablesort_pager()); if (!empty($pager)) { $rows[] = array(array("data" => $pager, "colspan" => "5")); -- cgit v1.2.3