From b8e27fbb70346a43ce3e08990bdf03c77eda27fe Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Ramos Date: Wed, 21 Jul 2010 22:09:30 -0300 Subject: Implement gettext() calls on status_gateways.php --- usr/local/www/status_gateways.php | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'usr/local/www') diff --git a/usr/local/www/status_gateways.php b/usr/local/www/status_gateways.php index 72e14b2..e2e5484 100755 --- a/usr/local/www/status_gateways.php +++ b/usr/local/www/status_gateways.php @@ -48,7 +48,7 @@ $gateways_status = return_gateways_status(); $now = time(); $year = date("Y"); -$pgtitle = array("Status","Gateways"); +$pgtitle = array(gettext("Status"),gettext("Gateways")); include("head.inc"); ?> @@ -59,8 +59,8 @@ include("head.inc"); @@ -69,11 +69,11 @@ include("head.inc");
- - - - - + + + + + $gateway) { ?> @@ -91,16 +91,16 @@ include("head.inc");
NameGatewayMonitorStatusDescription
"; ?> -- cgit v1.1
$online "; @@ -110,9 +110,9 @@ include("head.inc"); array_shift($lastchange); array_shift($lastchange); $lastchange = implode(" ", $lastchange); - echo "Last check $lastchange"; + printf(gettext("Last check %s"), $lastchange); } else { - echo "Gathering data"; + echo gettext("Gathering data"); } echo "