summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_queues.php
diff options
context:
space:
mode:
authorCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-23 14:22:24 -0300
committerCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-23 14:22:24 -0300
commit6deb0c037568f8bd44912f1677acf7cdfc045eee (patch)
tree0514bfd705093e7edd095130e8838e16cfd24922 /usr/local/www/status_queues.php
parente9d35ff505366a637a78d499aa412200d5fc978f (diff)
downloadpfsense-6deb0c037568f8bd44912f1677acf7cdfc045eee.zip
pfsense-6deb0c037568f8bd44912f1677acf7cdfc045eee.tar.gz
Implement gettext() calls on status_queues.php
Diffstat (limited to 'usr/local/www/status_queues.php')
-rwxr-xr-xusr/local/www/status_queues.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr/local/www/status_queues.php b/usr/local/www/status_queues.php
index 03eed60..ad1c066 100755
--- a/usr/local/www/status_queues.php
+++ b/usr/local/www/status_queues.php
@@ -99,7 +99,7 @@ foreach($pfctl_vsq_array as $pfctl) {
}
}
-$pgtitle = array("Status","Traffic shaper","Queues");
+$pgtitle = array(gettext("Status"),gettext("Traffic shaper"),gettext("Queues"));
include("head.inc");
?>
@@ -108,7 +108,7 @@ include("head.inc");
<?php include("fbegin.inc"); ?>
<?php
if(!is_array($config['shaper']['queue']) && count($config['shaper']['queue']) < 1) {
- echo "Traffic shaping is not configured.";
+ echo gettext("Traffic shaping is not configured.");
include("fend.inc");
exit;
}
@@ -136,8 +136,8 @@ if(!is_array($config['shaper']['queue']) && count($config['shaper']['queue']) <
</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td class="listhdr" colspan="1">Queue</td>
- <td class="listhdr" colspan="6">Statistics</td>
+ <td class="listhdr" colspan="1"><?=gettext("Queue"); ?></td>
+ <td class="listhdr" colspan="6"><?=gettext("Statistics"); ?></td>
</tr>
<?php $i = 0; foreach ($a_queues as $queue): ?>
<tr><td bgcolor="#DDDDDD" colspan="7">&nbsp;</td></tr>
@@ -156,7 +156,7 @@ if(!is_array($config['shaper']['queue']) && count($config['shaper']['queue']) <
echo "<tr><td bgcolor=\"#DDDDDD\" colspan=\"7\">";
echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
echo "<nobr>";
- echo "<input style='border: 0px solid white; background-color:#DDDDDD; color:#000000;' size='10' name='queue{$i}pps' id='queue{$i}pps' value='(Loading)' align='left'>";
+ echo "<input style='border: 0px solid white; background-color:#DDDDDD; color:#000000;' size='10' name='queue{$i}pps' id='queue{$i}pps' value='(" . gettext("Loading") . ")' align='left'>";
echo "<input style='border: 0px solid white; background-color:#DDDDDD; color:#000000;' size='10' name='queue{$i}bps' id='queue{$i}bps' value='' align='right'>";
echo "<input style='border: 0px solid white; background-color:#DDDDDD; color:#000000;' size='10' name='queue{$i}borrows' id='queue{$i}borrows' value='' align='right'>";
echo "<input style='border: 0px solid white; background-color:#DDDDDD; color:#000000;' size='10' name='queue{$i}suspends' id='queue{$i}suspends' value='' align='right'>";
@@ -170,9 +170,9 @@ if(!is_array($config['shaper']['queue']) && count($config['shaper']['queue']) <
<?php $i++; endforeach; $total_queues = $i; ?>
</table>
<p>
- <strong><span class="red">Note:</span></strong><strong><br></strong>
- Queue graphs take 5 seconds to sample data.<br>
- You can configure the Traffic Shaper <a href="/firewall_shaper_wizards.php">here</a>.
+ <strong><span class="red"><?=gettext("Note"); ?>:</span></strong><strong><br></strong>
+ <?=gettext("Queue graphs take 5 seconds to sample data"); ?>.<br>
+ <?=gettext("You can configure the Traffic Shaper"); ?> <a href="/firewall_shaper_wizards.php"><?=gettext("here"); ?></a>.
</p>
</form>
<?php include("fend.inc"); ?>
OpenPOWER on IntegriCloud