diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2010-08-17 09:36:17 -0300 |
---|---|---|
committer | Renato Botelho <renato.botelho@bluepex.com> | 2010-08-17 09:36:17 -0300 |
commit | 61349b3fa848091e84ff0cd9e7e8d2386d51eee8 (patch) | |
tree | fcf5efd7db2c203281ed37fe29f7d177c5a08a68 /etc/inc | |
parent | ada992bd115db157ef8f21090e79135b1c26c152 (diff) | |
download | pfsense-61349b3fa848091e84ff0cd9e7e8d2386d51eee8.zip pfsense-61349b3fa848091e84ff0cd9e7e8d2386d51eee8.tar.gz |
Implement gettext() on xmlreader.inc
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/xmlreader.inc | 2 |
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]; } |