summaryrefslogtreecommitdiff
path: root/includes/unicode.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-04-24 13:53:15 +0000
committerDries Buytaert <dries@buytaert.net>2007-04-24 13:53:15 +0000
commitf73610bec64dbc81b8e5031ac6778c5f539cb730 (patch)
tree473284ff160a3ea8818c90d84043cac13bf336af /includes/unicode.inc
parentffe4dc84d449e601561b7128212daf9758b6d9b0 (diff)
downloadbrdo-f73610bec64dbc81b8e5031ac6778c5f539cb730.tar.gz
brdo-f73610bec64dbc81b8e5031ac6778c5f539cb730.tar.bz2
- Patch #76588 by Gabor: made log messages translatable. Yay.
Diffstat (limited to 'includes/unicode.inc')
-rw-r--r--includes/unicode.inc4
1 files changed, 2 insertions, 2 deletions
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;
}