summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-08-17 09:36:17 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-08-17 09:36:17 -0300
commit61349b3fa848091e84ff0cd9e7e8d2386d51eee8 (patch)
treefcf5efd7db2c203281ed37fe29f7d177c5a08a68 /etc/inc
parentada992bd115db157ef8f21090e79135b1c26c152 (diff)
downloadpfsense-61349b3fa848091e84ff0cd9e7e8d2386d51eee8.zip
pfsense-61349b3fa848091e84ff0cd9e7e8d2386d51eee8.tar.gz
Implement gettext() on xmlreader.inc
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/xmlreader.inc2
1 files changed, 1 insertions, 1 deletions
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];
}
OpenPOWER on IntegriCloud