From d0033721f6c5ea81112cde894691419bc6852fe4 Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Ramos Date: Wed, 21 Jul 2010 22:16:21 -0300 Subject: Implement gettext() calls on status_graph.php --- usr/local/www/status_graph.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'usr/local') diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php index a4f940b..c8ad06d 100755 --- a/usr/local/www/status_graph.php +++ b/usr/local/www/status_graph.php @@ -59,7 +59,7 @@ if ($_GET['if']) else $curif = "wan"; -$pgtitle = array("Status","Traffic Graph"); +$pgtitle = array(gettext("Status"),gettext("Traffic Graph")); include("head.inc"); @@ -149,7 +149,7 @@ function updateBandwidthHosts(data){ 'WAN', 'lan' => 'LAN'); +$ifdescrs = array('wan' => gettext('WAN'), 'lan' => gettext('LAN')); for($j = 1; isset($config['interfaces']['opt' . $j]); $j++) { if(isset($config['interfaces']['opt' . $j]['enable'])) @@ -173,7 +173,7 @@ foreach ($ifdescrs as $ifn => $ifd) { ?> -

Note: the Adobe SVG Viewer, Firefox 1.5 or later or other browser supporting SVG is required to view the graph. +

: , .

@@ -181,15 +181,15 @@ foreach ($ifdescrs as $ifn => $ifd) {

- Your browser does not support the type SVG! You need to either use Firefox or download the Adobe SVG plugin. + .
- - - + + +
Host IPBandwidth InBandwidth Out