summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizard.php
diff options
context:
space:
mode:
authorRafael Lucas <rafalucas.unicamp@gmail.com>2010-07-29 09:42:04 -0300
committerRafael Lucas <rafalucas.unicamp@gmail.com>2010-07-29 09:42:04 -0300
commit2ddac0943ff338fba3b49f8043335ee359151405 (patch)
treedd89f90b24c91b29534cea777f6e1115af5a57cf /usr/local/www/wizard.php
parentde63649b554b51602b6e21ab170521bb723e8b24 (diff)
downloadpfsense-2ddac0943ff338fba3b49f8043335ee359151405.zip
pfsense-2ddac0943ff338fba3b49f8043335ee359151405.tar.gz
Implement gettext() calls on wizard.php
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 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