diff options
author | Rafael Lucas <rafalucas.unicamp@gmail.com> | 2010-07-29 11:50:59 -0300 |
---|---|---|
committer | Rafael Lucas <rafalucas.unicamp@gmail.com> | 2010-07-29 11:50:59 -0300 |
commit | a697d396b27cad3e28a4a78a91b95f741507380e (patch) | |
tree | 44582042717a62cc648986eb16dd1b7a1d124c5d /usr/local/www/uploadconfig.php | |
parent | dccee52ae1c6aa8293a059d7fe171207b051bd01 (diff) | |
download | pfsense-a697d396b27cad3e28a4a78a91b95f741507380e.zip pfsense-a697d396b27cad3e28a4a78a91b95f741507380e.tar.gz |
Implement gettext() calls
Diffstat (limited to 'usr/local/www/uploadconfig.php')
-rw-r--r-- | usr/local/www/uploadconfig.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/uploadconfig.php b/usr/local/www/uploadconfig.php index af58111..5a6196c 100644 --- a/usr/local/www/uploadconfig.php +++ b/usr/local/www/uploadconfig.php @@ -45,7 +45,7 @@ header("Content-Type: text/plain"); if ($_POST['config']) { $fd = @fopen("{$g['tmp_path']}/config.xml", "w"); if (!$fd) { - echo "ERR Could not save configuration.\n"; + echo gettext("ERR Could not save configuration.")."\n"; exit(0); } fwrite($fd, $_POST['config']); @@ -54,10 +54,10 @@ if ($_POST['config']) { echo "OK\n"; system_reboot(); } else { - echo "ERR Could not install configuration.\n"; + echo gettext("ERR Could not install configuration.")."\n"; } } else { - echo "ERR Invalid configuration received.\n"; + echo gettext("ERR Invalid configuration received.")."\n"; } exit(0); |