summaryrefslogtreecommitdiffstats
path: root/etc/inc/xmlparse_attr.inc
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-10-01 10:17:13 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-10-01 10:17:13 -0300
commitaddc0439931fb28c626c7024b1e9857adfe29f29 (patch)
treef6774da34d43b238c3a14a3a43a5b71da0a2f249 /etc/inc/xmlparse_attr.inc
parent788c1288bae791ac0b3f2a19eb8c6aac8d7a7c22 (diff)
downloadpfsense-addc0439931fb28c626c7024b1e9857adfe29f29.zip
pfsense-addc0439931fb28c626c7024b1e9857adfe29f29.tar.gz
Fix quotes to use %N$X on gettext calls
Diffstat (limited to 'etc/inc/xmlparse_attr.inc')
-rw-r--r--etc/inc/xmlparse_attr.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/xmlparse_attr.inc b/etc/inc/xmlparse_attr.inc
index 534ffb5..933caba 100644
--- a/etc/inc/xmlparse_attr.inc
+++ b/etc/inc/xmlparse_attr.inc
@@ -75,7 +75,7 @@ function startElement_attr($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)));
} else if (isset($writeattrs)) {
@@ -194,7 +194,7 @@ function parse_xml_config_raw_attr($cffile, $rootobj, &$parsed_attributes, $isst
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)));
if (isset($parsed_attributes)) {
OpenPOWER on IntegriCloud