From 82e606f7abf4dd90b8434b51b29f7a5cbbedc1f2 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Thu, 26 May 2005 23:39:25 +0000 Subject: [PATCH] - #23700: Fix some broken t()'s in common.inc --- includes/common.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/common.inc b/includes/common.inc index 208dc4efa72..6fd724c6d01 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1735,7 +1735,7 @@ function drupal_xml_parser_create(&$data) { $encoding = 'utf-8'; } else { - watchdog('php', t("Could not convert XML encoding '%s' to UTF-8.", $encoding), WATCHDOG_WARNING); + watchdog('php', t("Could not convert XML encoding '%s' to UTF-8.", array('%s' => $encoding)), WATCHDOG_WARNING); return 0; } } @@ -1768,7 +1768,7 @@ function drupal_convert_to_utf8($data, $encoding) { $out = @recode_string($encoding .'..utf-8', $data); } else { - watchdog('php', t("Unsupported encoding '%s'. Please install iconv, GNU recode or mbstring for PHP.", $encoding), WATCHDOG_ERROR); + watchdog('php', t("Unsupported encoding '%s'. Please install iconv, GNU recode or mbstring for PHP.", array('%s' => $encoding)), WATCHDOG_ERROR); return FALSE; }