From f73610bec64dbc81b8e5031ac6778c5f539cb730 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 24 Apr 2007 13:53:15 +0000 Subject: - Patch #76588 by Gabor: made log messages translatable. Yay. --- includes/unicode.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/unicode.inc') diff --git a/includes/unicode.inc b/includes/unicode.inc index 7f546d4f9..93ec81772 100644 --- a/includes/unicode.inc +++ b/includes/unicode.inc @@ -148,7 +148,7 @@ function drupal_xml_parser_create(&$data) { $data = ereg_replace('^(<\?xml[^>]+encoding)="([^"]+)"', '\\1="utf-8"', $out); } else { - watchdog('php', t("Could not convert XML encoding %s to UTF-8.", array('%s' => $encoding)), WATCHDOG_WARNING); + watchdog('php', 'Could not convert XML encoding %s to UTF-8.', array('%s' => $encoding), WATCHDOG_WARNING); return 0; } } @@ -181,7 +181,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.", array('%s' => $encoding)), WATCHDOG_ERROR); + watchdog('php', 'Unsupported encoding %s. Please install iconv, GNU recode or mbstring for PHP.', array('%s' => $encoding), WATCHDOG_ERROR); return FALSE; } -- cgit v1.2.3