diff options
Diffstat (limited to 'src/usr/local/www/diag_reboot.php')
-rwxr-xr-x | src/usr/local/www/diag_reboot.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/diag_reboot.php b/src/usr/local/www/diag_reboot.php index d1f3393..b347d30 100755 --- a/src/usr/local/www/diag_reboot.php +++ b/src/usr/local/www/diag_reboot.php @@ -79,7 +79,7 @@ include("head.inc"); if ($_SERVER['REQUEST_METHOD'] == 'POST') { if (DEBUG) { - print_info_box("Not actually rebooting (DEBUG is set true)", 'success'); + print_info_box(gettext("Not actually rebooting (DEBUG is set true)"), 'success'); } else { print('<div><pre>'); system_reboot(); @@ -94,7 +94,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { //<![CDATA[ events.push(function() { - var timeoutmsg = '<h4>Rebooting<br />Page will automatically reload in '; + var timeoutmsg = '<h4><?=gettext("Rebooting");?><br /><?=gettext("Page will automatically reload in ");?>'; var time = 0; function checkonline() { @@ -110,11 +110,11 @@ events.push(function() { function startCountdown() { setInterval(function() { if (time > 0) { - $('#countdown').html(timeoutmsg + time + ' seconds.</h4>'); + $('#countdown').html(timeoutmsg + time + ' <?=gettext("seconds");?>.</h4>'); time--; } else { time = "<?=$guiretry?>"; - timeoutmsg = '<h4>Not yet ready<br />Retrying in another '; + timeoutmsg = '<h4><?=gettext("Not yet ready");?><br /><?=gettext("Retrying in another ");?>'; checkonline(); } }, 1000); |