diff options
author | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-07-23 14:03:33 -0300 |
---|---|---|
committer | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-07-23 14:03:33 -0300 |
commit | ee644822504b2314678f475b61e9a4dbde829e7f (patch) | |
tree | 4264ed5e141b1bd1a6c4e1ae26770092575ac5e3 /usr | |
parent | bbaba7e65824974d17e844138517d1c9f503138f (diff) | |
download | pfsense-ee644822504b2314678f475b61e9a4dbde829e7f.zip pfsense-ee644822504b2314678f475b61e9a4dbde829e7f.tar.gz |
Corrections gettext implementation on status_interfaces.php
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/status_interfaces.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php index e0d8f30..d6fdced 100755 --- a/usr/local/www/status_interfaces.php +++ b/usr/local/www/status_interfaces.php @@ -55,7 +55,7 @@ if ($_GET['if']) { exit; } -$pgtitle = array("Status","Interfaces"); +$pgtitle = array(gettext("Status"),gettext("Interfaces")); include("head.inc"); ?> @@ -76,11 +76,11 @@ include("head.inc"); <?php endif; ?> <tr> <td colspan="2" class="listtopic"> - <?=htmlspecialchars($ifname);?> interface (<?=htmlspecialchars($ifinfo['hwif']);?>) + <?=htmlspecialchars($ifname);?> <?=gettext("interface"); ?> (<?=htmlspecialchars($ifinfo['hwif']);?>) </td> </tr> <tr> - <td width="22%" class="vncellt">Status</td> + <td width="22%" class="vncellt"><?=gettext("Status"); ?></td> <td width="78%" class="listr"> <?=htmlspecialchars($ifinfo['status']);?> </td> @@ -104,7 +104,7 @@ include("head.inc"); </tr> <?php endif; if ($ifinfo['pppoelink']): ?> <tr> - <td width="22%" class="vncellt">PPPoE</td> + <td width="22%" class="vncellt"><?=gettext("PPPoE"); ?></td> <td width="78%" class="listr"> <?=htmlspecialchars($ifinfo['pppoelink']);?> <?php if ($ifinfo['pppoelink'] == "up"): ?> @@ -119,7 +119,7 @@ include("head.inc"); </tr> <?php endif; if ($ifinfo['pptplink']): ?> <tr> - <td width="22%" class="vncellt">PPTP</td> + <td width="22%" class="vncellt"><?=gettext("PPTP"); ?></td> <td width="78%" class="listr"> <?=htmlspecialchars($ifinfo['pptplink']);?> <?php if ($ifinfo['pptplink'] == "up"): ?> @@ -134,7 +134,7 @@ include("head.inc"); </tr> <?php endif; if ($ifinfo['ppplink']): ?> <tr> - <td width="22%" class="vncellt">PPP</td> + <td width="22%" class="vncellt"><?=gettext("PPP"); ?></td> <td width="78%" class="listr"> <?=htmlspecialchars($ifinfo['pppinfo']);?> <?php if ($ifinfo['ppplink'] == "up"): ?> @@ -314,9 +314,9 @@ include("head.inc"); <td width="22%" class="vncellt"><?=gettext("Interrupts/Second");?></td> <td width="78%" class="listr"> <?php - echo $interrupt_total . " total"; + echo $interrupt_total . " " . gettext("total"); echo "<br/>"; - echo $interrupt_sec . " rate"; + echo $interrupt_sec . " " . gettext("rate"); ?> </td> </tr> |