diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2010-10-01 10:17:13 -0300 |
---|---|---|
committer | Renato Botelho <renato.botelho@bluepex.com> | 2010-10-01 10:17:13 -0300 |
commit | addc0439931fb28c626c7024b1e9857adfe29f29 (patch) | |
tree | f6774da34d43b238c3a14a3a43a5b71da0a2f249 /etc/inc/xmlparse.inc | |
parent | 788c1288bae791ac0b3f2a19eb8c6aac8d7a7c22 (diff) | |
download | pfsense-addc0439931fb28c626c7024b1e9857adfe29f29.zip pfsense-addc0439931fb28c626c7024b1e9857adfe29f29.tar.gz |
Fix quotes to use %N$X on gettext calls
Diffstat (limited to 'etc/inc/xmlparse.inc')
-rw-r--r-- | etc/inc/xmlparse.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/xmlparse.inc b/etc/inc/xmlparse.inc index 79bbad0..1738370 100644 --- a/etc/inc/xmlparse.inc +++ b/etc/inc/xmlparse.inc @@ -82,7 +82,7 @@ function startElement($parser, $name, $attrs) { } else if (isset($ptr)) { /* multiple entries not allowed for this element, bail out */ - die(sprintf(gettext("XML error: %1$s at line %2$d cannot occur more than once") . "\n", + die(sprintf(gettext('XML error: %1$s at line %2$d cannot occur more than once') . "\n", $name, xml_get_current_line_number($parser))); } @@ -179,7 +179,7 @@ function parse_xml_config_raw($cffile, $rootobj, $isstring = "false") { while ($data = fread($fp, 4096)) { if (!xml_parse($xml_parser, $data, feof($fp))) { - log_error(sprintf(gettext("XML error: %1$s at line %2$d") . "\n", + log_error(sprintf(gettext('XML error: %1$s at line %2$d') . "\n", xml_error_string(xml_get_error_code($xml_parser)), xml_get_current_line_number($xml_parser))); return -1; |