summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-05-26 23:39:25 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-05-26 23:39:25 +0000
commit82e606f7abf4dd90b8434b51b29f7a5cbbedc1f2 (patch)
tree56ce6542ad8463a12f4647188667aa4eee58d8a5
parentd0390be0bdb10dbf13d0a5517096c50dab08b43c (diff)
downloadbrdo-82e606f7abf4dd90b8434b51b29f7a5cbbedc1f2.tar.gz
brdo-82e606f7abf4dd90b8434b51b29f7a5cbbedc1f2.tar.bz2
- #23700: Fix some broken t()'s in common.inc
-rw-r--r--includes/common.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 208dc4efa..6fd724c6d 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;
}