diff options
author | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-07-26 17:25:55 -0300 |
---|---|---|
committer | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-07-26 17:25:55 -0300 |
commit | a6cec8be928ca1faa87c8eb2e510edee6b8a0a51 (patch) | |
tree | db7f369453f30ac07e89019858fd54ef78414d97 /usr/local/www/status_rrd_graph_settings.php | |
parent | b8219006dde25b211a75abad68f7a410c512ed84 (diff) | |
download | pfsense-a6cec8be928ca1faa87c8eb2e510edee6b8a0a51.zip pfsense-a6cec8be928ca1faa87c8eb2e510edee6b8a0a51.tar.gz |
Corrections gettext implementation on status_rrd_graph_settings.php
Diffstat (limited to 'usr/local/www/status_rrd_graph_settings.php')
-rwxr-xr-x | usr/local/www/status_rrd_graph_settings.php | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/usr/local/www/status_rrd_graph_settings.php b/usr/local/www/status_rrd_graph_settings.php index 7d80ad2..162f49a 100755 --- a/usr/local/www/status_rrd_graph_settings.php +++ b/usr/local/www/status_rrd_graph_settings.php @@ -140,35 +140,35 @@ include("head.inc"); display_top_tabs($tab_array); $tab_array = array(); if($curcat == "system") { $tabactive = True; } else { $tabactive = False; } - $tab_array[] = array("System", $tabactive, "status_rrd_graph.php?cat=system"); + $tab_array[] = array(gettext("System"), $tabactive, "status_rrd_graph.php?cat=system"); if($curcat == "traffic") { $tabactive = True; } else { $tabactive = False; } - $tab_array[] = array("Traffic", $tabactive, "status_rrd_graph.php?cat=traffic"); + $tab_array[] = array(gettext("Traffic"), $tabactive, "status_rrd_graph.php?cat=traffic"); if($curcat == "packets") { $tabactive = True; } else { $tabactive = False; } - $tab_array[] = array("Packets", $tabactive, "status_rrd_graph.php?cat=packets"); + $tab_array[] = array(gettext("Packets"), $tabactive, "status_rrd_graph.php?cat=packets"); if($curcat == "quality") { $tabactive = True; } else { $tabactive = False; } - $tab_array[] = array("Quality", $tabactive, "status_rrd_graph.php?cat=quality"); + $tab_array[] = array(gettext("Quality"), $tabactive, "status_rrd_graph.php?cat=quality"); if($queues) { if($curcat == "queues") { $tabactive = True; } else { $tabactive = False; } - $tab_array[] = array("Queues", $tabactive, "status_rrd_graph.php?cat=queues"); + $tab_array[] = array(gettext("Queues"), $tabactive, "status_rrd_graph.php?cat=queues"); if($curcat == "queuedrops") { $tabactive = True; } else { $tabactive = False; } - $tab_array[] = array("QueueDrops", $tabactive, "status_rrd_graph.php?cat=queuedrops"); + $tab_array[] = array(gettext("QueueDrops"), $tabactive, "status_rrd_graph.php?cat=queuedrops"); } if($wireless) { if($curcat == "wireless") { $tabactive = True; } else { $tabactive = False; } - $tab_array[] = array("Wireless", $tabactive, "status_rrd_graph.php?cat=wireless"); + $tab_array[] = array(gettext("Wireless"), $tabactive, "status_rrd_graph.php?cat=wireless"); } if($cellular) { if($curcat == "cellular") { $tabactive = True; } else { $tabactive = False; } - $tab_array[] = array("Cellular", $tabactive, "status_rrd_graph.php?cat=cellular"); + $tab_array[] = array(gettext("Cellular"), $tabactive, "status_rrd_graph.php?cat=cellular"); } if($vpnusers) { if($curcat == "vpnusers") { $tabactive = True; } else { $tabactive = False; } - $tab_array[] = array("VPN", $tabactive, "status_rrd_graph.php?cat=vpnusers"); + $tab_array[] = array(gettext("VPN"), $tabactive, "status_rrd_graph.php?cat=vpnusers"); } if($curcat == "custom") { $tabactive = True; } else { $tabactive = False; } - $tab_array[] = array("Custom", $tabactive, "status_rrd_graph.php?cat=custom"); + $tab_array[] = array(gettext("Custom"), $tabactive, "status_rrd_graph.php?cat=custom"); if($curcat == "settings") { $tabactive = True; } else { $tabactive = False; } - $tab_array[] = array("Settings", $tabactive, "status_rrd_graph_settings.php"); + $tab_array[] = array(gettext("Settings"), $tabactive, "status_rrd_graph_settings.php"); display_top_tabs($tab_array); ?> @@ -223,7 +223,7 @@ include("head.inc"); </tr> <tr> <td width="22%" height="53" valign="top"> </td> - <td width="78%"><strong><span class="red"><?=gettext("Note:");?></span></strong><br> + <td width="78%"><strong><span class="red"><?=gettext("Note");?>:</span></strong><br> <?=gettext("Graphs will not be allowed to be recreated within a 1 minute interval, please " . "take this into account after changing the style.");?> </td> |