summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-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 540236c..8281d2a 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -62,7 +62,7 @@ if($_POST['xml'])
if(empty($xml)) {
$xml = "not_defined";
- print_info_box_np("ERROR: Could not open " . $xml . ".");
+ print_info_box_np(gettext("ERROR: Could not open ") . $xml . ".");
die;
} else {
if (file_exists("{$g['www_path']}/wizards/{$xml}"))
@@ -74,7 +74,7 @@ if(empty($xml)) {
}
if (!is_array($pkg)) {
- print_info_box_np("ERROR: Could not parse {$g['www_path']}/wizards/{$xml} file.");
+ print_info_box_np(printf(gettext("ERROR: Could not parse %s/wizards/%s file."),$g['www_path'],$xml));
die;
}
OpenPOWER on IntegriCloud