diff options
author | Rafaellucas <rafaellucas@rafaellucas.(none)> | 2010-06-17 15:18:41 -0300 |
---|---|---|
committer | Rafaellucas <rafaellucas@rafaellucas.(none)> | 2010-06-17 15:18:41 -0300 |
commit | e99a1c284a9f659dfdff3850588b5c41b94ad7a3 (patch) | |
tree | fde15ab632e4e6e47947ca7c81f3fdb7275efecb /usr/local | |
parent | 093707610794fc3768f1874babac1d301adf935a (diff) | |
download | pfsense-e99a1c284a9f659dfdff3850588b5c41b94ad7a3.zip pfsense-e99a1c284a9f659dfdff3850588b5c41b94ad7a3.tar.gz |
CHANGED FILES: diag_routes.php diag_showbogons.php diag_states_summary.php
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/diag_routes.php | 11 | ||||
-rw-r--r-- | usr/local/www/diag_showbogons.php | 6 | ||||
-rw-r--r-- | usr/local/www/diag_states_summary.php | 22 |
3 files changed, 19 insertions, 20 deletions
diff --git a/usr/local/www/diag_routes.php b/usr/local/www/diag_routes.php index 1b136ab..efc9c69 100644 --- a/usr/local/www/diag_routes.php +++ b/usr/local/www/diag_routes.php @@ -33,7 +33,6 @@ pfSense_BUILDER_BINARIES: /usr/bin/netstat pfSense_MODULE: routing */ - ##|+PRIV ##|*IDENT=page-diagnostics-routingtables ##|*NAME=Diagnostics: Routing tables page @@ -43,7 +42,7 @@ include('guiconfig.inc'); -$pgtitle = array("Diagnostics","Routing tables"); +$pgtitle = array(gettext("Diagnostics"),gettext("Routing tables")); include('head.inc'); @@ -56,11 +55,11 @@ include('head.inc'); <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> -<td class="vncellreq" width="22%">Name resolution</td> +<td class="vncellreq" width="22%"><?=gettext("Name resolution");?></td> <td class="vtable" width="78%"> -<input type="checkbox" class="formfld" name="resolve" value="yes" <?php if ($_POST['resolve'] == 'yes') echo 'checked'; ?>> Enable</input> +<input type="checkbox" class="formfld" name="resolve" value="yes" <?php if ($_POST['resolve'] == 'yes') echo 'checked'; ?>><?=gettext("Enable");?></input> <br /> -<span class="expl">Enable this to attempt to resolve names when displaying the tables.</span> +<span class="expl"><?=gettext("Enable this to attempt to resolve names when displaying the tables.");?></span> </td> </tr> @@ -70,7 +69,7 @@ include('head.inc'); <input type="submit" class="formbtn" name="submit" value="Show" /> <br /> <br /> -<span class="vexpl"><span class="red"><strong>Note:</strong></span> By enabling name resolution, the query should take a bit longer. You can stop it at any time by clicking the Stop button in your browser.</span> +<span class="vexpl"><span class="red"><strong><?=gettext("Note")?>:</strong></span><?=gettext("By enabling name resolution, the query should take a bit longer. You can stop it at"."any time by clicking the Stop button in your browser");?>.</span> </td> </tr> diff --git a/usr/local/www/diag_showbogons.php b/usr/local/www/diag_showbogons.php index e3f45b3..ed93403 100644 --- a/usr/local/www/diag_showbogons.php +++ b/usr/local/www/diag_showbogons.php @@ -59,7 +59,7 @@ if($_POST['Download']) { } $bogons = file_get_contents(trim("/etc/bogons")); -$pgtitle = "Diagnostics: Show Bogons"; +$pgtitle = array(gettext("Diagnostics:")gettext("Show Bogons")); include("head.inc"); ?> @@ -87,7 +87,7 @@ pre { font-size: 1.15em; } <tr> <td> <font size="+1"> - <b>Currently loaded bogons table:</b><p/> + <b><?=gettext("Currently loaded bogons table:");?></b><p/> <pre> <?php echo $bogons; ?> </pre> @@ -103,7 +103,7 @@ pre { font-size: 1.15em; } </tr> </table> <p/> -<input type="submit" name="Download" value="Download"> latest bogon data. +<input type="submit" name="Download" value="<?=gettext("Download");?>"><?=gettext("latest bogon data.");?> </form> <?php include("fend.inc"); ?> </body> diff --git a/usr/local/www/diag_states_summary.php b/usr/local/www/diag_states_summary.php index 40d064f..32290bb 100644 --- a/usr/local/www/diag_states_summary.php +++ b/usr/local/www/diag_states_summary.php @@ -121,12 +121,12 @@ function print_summary_table($label, $iparr, $sort = TRUE) { ?> <h3><?php echo $label; ?></h3> <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> - <td class="listhdrr">IP</td> - <td class="listhdrr"># States</td> - <td class="listhdrr">Proto</td> - <td class="listhdrr"># States</td> - <td class="listhdrr">Src Ports</td> - <td class="listhdrr">Dst Ports</td> + <td class="listhdrr"><?=gettext("IP");?></td> + <td class="listhdrr"><?=gettext("# States");?></td> + <td class="listhdrr"><?=gettext("Proto");?></td> + <td class="listhdrr"><?=gettext"(# States");?></td> + <td class="listhdrr"><?=gettext("Src Ports");?></td> + <td class="listhdrr"><?=gettext("Dst Ports");?></td> </tr> <?php if ($sort) uksort($iparr, "sort_by_ip"); @@ -156,16 +156,16 @@ function print_summary_table($label, $iparr, $sort = TRUE) { ?> <? } -$pgtitle = array("Diagnostics", "State Table Summary"); +$pgtitle = array(gettext("Diagnostics"),gettext("State Table Summary")); require_once("guiconfig.inc"); include("head.inc"); include("fbegin.inc"); -print_summary_table("By Source IP", $srcipinfo); -print_summary_table("By Destination IP", $dstipinfo); -print_summary_table("Total per IP", $allipinfo); -print_summary_table("By IP Pair", $pairipinfo, FALSE); +print_summary_table(gettext("By Source IP"), $srcipinfo); +print_summary_table(gettext("By Destination IP"), $dstipinfo); +print_summary_table(gettext("Total per IP"), $allipinfo); +print_summary_table(gettext("By IP Pair"), $pairipinfo, FALSE); ?> <?php include("fend.inc"); ?> |