From 2dafb24c309f6cd9a343fb993ea86a147ae10fb8 Mon Sep 17 00:00:00 2001 From: "heitor.lessa" Date: Sun, 1 Aug 2010 18:37:12 -0300 Subject: [PATCH] Implement gettext calls() on halt.php --- usr/local/www/halt.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/local/www/halt.php b/usr/local/www/halt.php index 0867b602a8..ae349b029d 100755 --- a/usr/local/www/halt.php +++ b/usr/local/www/halt.php @@ -49,14 +49,14 @@ require("captiveportal.inc"); if ($_POST) { if ($_POST['Submit'] != " No ") { system_halt(); - $rebootmsg = "The system is halting now. This may take one minute."; + $rebootmsg = sprintf(gettext"The system is halting now. This may take one minute."); } else { - header("Location: index.php"); + header(gettext("Location: index.php")); exit; } } -$pgtitle = array("Diagnostics","Halt system"); +$pgtitle = array(gettext("Diagnostics"),gettext("Halt system")); include('head.inc'); ?> @@ -64,7 +64,7 @@ include('head.inc');
-

Are you sure you want to halt the system?

+