summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizard.php
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-08-11 14:11:26 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-08-11 14:11:26 -0300
commit381af6598090277c49cfb0b5cb90102e317577f7 (patch)
tree63315d12344746c0208e2e732355849c9b523577 /usr/local/www/wizard.php
parent45a06eeb096c8c7ccbfbb31a98002f63f5b5620c (diff)
downloadpfsense-381af6598090277c49cfb0b5cb90102e317577f7.zip
pfsense-381af6598090277c49cfb0b5cb90102e317577f7.tar.gz
Small gettext() fixes
Diffstat (limited to 'usr/local/www/wizard.php')
-rwxr-xr-xusr/local/www/wizard.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php
index 0f2c319..4bf3735 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -62,13 +62,13 @@ if($_POST['xml'])
if(empty($xml)) {
$xml = "not_defined";
- print_info_box_np(gettext("ERROR: Could not open") . " " . $xml . ".");
+ print_info_box_np(sprintf(gettext("ERROR: Could not open %s."), $xml);
die;
} else {
if (file_exists("{$g['www_path']}/wizards/{$xml}"))
$pkg = parse_xml_config_pkg("{$g['www_path']}/wizards/" . $xml, "pfsensewizard");
else {
- print_info_box_np(gettext("ERROR: Could not open") . " " . $xml . ".");
+ print_info_box_np(sprintf(gettext("ERROR: Could not open %s."), $xml);
die;
}
}
OpenPOWER on IntegriCloud