diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2010-06-18 15:45:44 -0300 |
---|---|---|
committer | Renato Botelho <renato.botelho@bluepex.com> | 2010-06-18 16:04:19 -0300 |
commit | 441e7f01f04f10475fc6873eb2e9e9733ee2e43d (patch) | |
tree | 8ef9f3852af067fcac1ba99632907178fd984581 /usr/local | |
parent | 9404a10480108238ef3263ef2c298ff6577aed90 (diff) | |
download | pfsense-441e7f01f04f10475fc6873eb2e9e9733ee2e43d.zip pfsense-441e7f01f04f10475fc6873eb2e9e9733ee2e43d.tar.gz |
Implement gettext() calls
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/diag_overload_tables.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/diag_overload_tables.php b/usr/local/www/diag_overload_tables.php index 235e868..4bb470d 100644 --- a/usr/local/www/diag_overload_tables.php +++ b/usr/local/www/diag_overload_tables.php @@ -41,7 +41,7 @@ ##|*MATCH=diag_overload_tables.php* ##|-PRIV -$pgtitle = array("Diagnostics", "Overload tables"); +$pgtitle = array(gettext("Diagnostics"), gettext("Overload tables")); require_once("guiconfig.inc"); @@ -96,7 +96,7 @@ include("fbegin.inc"); } </script> -Table: +<?=gettext("Table");?>: <select id='type' onChange='method_change($F("type"));' name='type'> <option name='<?=$tablename?>' value='<?=$tablename?>'><?=$tablename?></option> <option name='virusprot' value='virusprot'>virusprot</option> @@ -107,7 +107,7 @@ Table: <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> - <td class="listhdrr">IP Address</td> + <td class="listhdrr"><?=gettext("IP Address");?></td> </tr> <?php $count = 0; foreach($entries as $entryA): ?> <?php $entry = trim($entryA); ?> @@ -124,14 +124,14 @@ Table: <?php $count++; endforeach; ?> <?php if($count == 0) - echo "<tr><td>No entries exist in this table.</td></tr>"; + echo "<tr><td>" . gettext("No entries exist in this table.") . "</td></tr>"; ?> </table> <?php if($count > 0) - echo "<p/>Delete <a href='diag_overload_tables.php?deleteall=true&type={$tablename}'>all</a> entries in this table." + echo "<p/>" . gettext("Delete") . " <a href='diag_overload_tables.php?deleteall=true&type={$tablename}'>" . gettext("all") . "</a> " . gettext("entries in this table."); ?> |