summaryrefslogtreecommitdiffstats
path: root/usr/local/www/uploadconfig.php
diff options
context:
space:
mode:
authorRafael Lucas <rafalucas.unicamp@gmail.com>2010-07-29 11:50:59 -0300
committerRafael Lucas <rafalucas.unicamp@gmail.com>2010-07-29 11:50:59 -0300
commita697d396b27cad3e28a4a78a91b95f741507380e (patch)
tree44582042717a62cc648986eb16dd1b7a1d124c5d /usr/local/www/uploadconfig.php
parentdccee52ae1c6aa8293a059d7fe171207b051bd01 (diff)
downloadpfsense-a697d396b27cad3e28a4a78a91b95f741507380e.zip
pfsense-a697d396b27cad3e28a4a78a91b95f741507380e.tar.gz
Implement gettext() calls
Diffstat (limited to 'usr/local/www/uploadconfig.php')
-rw-r--r--usr/local/www/uploadconfig.php6
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);
OpenPOWER on IntegriCloud