From 81938a3cdc7b9bd13d58e355c59d9835e830fea4 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Fri, 18 Aug 2006 12:17:00 +0000 Subject: #76802: Introduce placeholder magic into t() See: http://drupal.org/node/64279#t-placeholders --- modules/watchdog/watchdog.module | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/watchdog/watchdog.module') diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index 07a4c9cba..ec33bb9d9 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/watchdog.module @@ -22,11 +22,11 @@ function watchdog_help($section) { $output .= '

'. t('The watchdog log is simply a list of recorded events containing usage data, performance data, errors, warnings and operational information. Administrators should check the watchdog report on a regular basis to ensure their site is working properly.') .'

'; $output .= t('

You can

-', array('%admin-watchdog' => url('admin/logs/watchdog'), '%admin-watchdog-events' => url('admin/logs/watchdog/events'))); - $output .= '

'. t('For more information please read the configuration and customization handbook Watchdog page.', array('%watchdog' => 'http://drupal.org/handbook/modules/watchdog/')) .'

'; +', array('@admin-watchdog' => url('admin/logs/watchdog'), '@admin-watchdog-events' => url('admin/logs/watchdog/events'))); + $output .= '

'. t('For more information please read the configuration and customization handbook Watchdog page.', array('@watchdog' => 'http://drupal.org/handbook/modules/watchdog/')) .'

'; return $output; case 'admin/settings/modules#description': return t('Logs and records system events.'); @@ -94,7 +94,7 @@ function watchdog_overview() { $names['all'] = t('all messages'); foreach (_watchdog_get_message_types() as $type) { - $names[$type] = t('%type messages', array('%type' => t($type))); + $names[$type] = t('!type messages', array('!type' => t($type))); } if (empty($_SESSION['watchdog_overview_filter'])) { -- cgit v1.2.3