From 61349b3fa848091e84ff0cd9e7e8d2386d51eee8 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 17 Aug 2010 09:36:17 -0300 Subject: Implement gettext() on xmlreader.inc --- etc/inc/xmlreader.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc/xmlreader.inc') diff --git a/etc/inc/xmlreader.inc b/etc/inc/xmlreader.inc index 41f2938..9c6eb99 100644 --- a/etc/inc/xmlreader.inc +++ b/etc/inc/xmlreader.inc @@ -126,7 +126,7 @@ function parse_xml_config_raw($cffile, $rootobj, $isstring = "false") { add_elements($parsedcfg, $par); $par->close(); } else - log_error("Error returned while trying to parse {$cffile}"); + log_error(sprintf(gettext("Error returned while trying to parse %s"), $cffile")); return $parsedcfg[$rootobj]; } -- cgit v1.1