diff options
author | Rafael Lucas <rafalucas.unicamp@gmail.com> | 2010-07-29 09:42:04 -0300 |
---|---|---|
committer | Rafael Lucas <rafalucas.unicamp@gmail.com> | 2010-07-29 09:42:04 -0300 |
commit | 2ddac0943ff338fba3b49f8043335ee359151405 (patch) | |
tree | dd89f90b24c91b29534cea777f6e1115af5a57cf | |
parent | de63649b554b51602b6e21ab170521bb723e8b24 (diff) | |
download | pfsense-2ddac0943ff338fba3b49f8043335ee359151405.zip pfsense-2ddac0943ff338fba3b49f8043335ee359151405.tar.gz |
Implement gettext() calls on wizard.php
-rwxr-xr-x | usr/local/www/wizard.php | 4 |
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; } |