diff options
author | Rafael Lucas <rafalucas.unicamp@gmail.com> | 2010-07-29 11:53:11 -0300 |
---|---|---|
committer | Rafael Lucas <rafalucas.unicamp@gmail.com> | 2010-07-29 11:53:11 -0300 |
commit | c1ff2246d30a3d16f7fd9d185de7bbaf08cdeb8f (patch) | |
tree | 3e597a2806549b72d04d6e920dce247f71e883bf /usr/local/www/restart_httpd.php | |
parent | a697d396b27cad3e28a4a78a91b95f741507380e (diff) | |
download | pfsense-c1ff2246d30a3d16f7fd9d185de7bbaf08cdeb8f.zip pfsense-c1ff2246d30a3d16f7fd9d185de7bbaf08cdeb8f.tar.gz |
Implement gettext calls on restart_httpd.php
Diffstat (limited to 'usr/local/www/restart_httpd.php')
-rwxr-xr-x | usr/local/www/restart_httpd.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/usr/local/www/restart_httpd.php b/usr/local/www/restart_httpd.php index 87fe5a2..e123ffe 100755 --- a/usr/local/www/restart_httpd.php +++ b/usr/local/www/restart_httpd.php @@ -39,7 +39,7 @@ require_once("guiconfig.inc"); -$pgtitle = array("Restarting httpd"); +$pgtitle = array(gettext("Restarting httpd")); include("head.inc"); ?> @@ -47,18 +47,18 @@ include("head.inc"); <form> <?php include("fbegin.inc"); ?> -Mounting file systems read/write... +<?=gettext("Mounting file systems read/write...");?> <?php flush(); sleep(1); conf_mount_rw(); ?> -Done.<br> -Forcing all PHP file permissions to 0755... +<?=gettext("Done.");?><br> +<?=gettext("Forcing all PHP file permissions to 0755...");?> <?php flush(); sleep(1); system('/bin/chmod -R 0755 /usr/local/www/*.php'); ?> -Done.<br> -Mounting file systems read only... +<?=gettext("Done.");?><br> +<?=gettext("Mounting file systems read only...");?> <?php flush(); sleep(1); conf_mount_ro(); ?> -Done.<br> -Restarting mini_httpd... +<?=gettext("Done.");?><br> +<?=gettext("Restarting mini_httpd...");?> <?php flush(); sleep(1); system_webgui_start(); ?> -Done.<br> +<?=gettext("Done.");?><br> <?php include("fend.inc"); |