summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_resetstate.php
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-07-16 14:35:45 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-07-16 14:35:45 -0300
commitf8ec8de4f36c2403739acf90f32d7862e17fde6b (patch)
tree4631599235fb60f1ea3a77eb45c3968bb2692ec2 /usr/local/www/diag_resetstate.php
parentb2bffb702414260f1e154f73d4c2b7c70816cc94 (diff)
downloadpfsense-f8ec8de4f36c2403739acf90f32d7862e17fde6b.zip
pfsense-f8ec8de4f36c2403739acf90f32d7862e17fde6b.tar.gz
Sync with mainline, diag_* files were missing
Diffstat (limited to 'usr/local/www/diag_resetstate.php')
-rwxr-xr-xusr/local/www/diag_resetstate.php34
1 files changed, 17 insertions, 17 deletions
diff --git a/usr/local/www/diag_resetstate.php b/usr/local/www/diag_resetstate.php
index 04819d0..f56a65b 100755
--- a/usr/local/www/diag_resetstate.php
+++ b/usr/local/www/diag_resetstate.php
@@ -51,11 +51,11 @@ if ($_POST) {
filter_flush_state_table();
if ($savemsg)
$savemsg .= " ";
- $savemsg .= "The state table has been flushed successfully.";
+ $savemsg .= gettext("The state table has been flushed successfully.");
}
}
-$pgtitle = array("Diagnostics","Reset state");
+$pgtitle = array(gettext("Diagnostics"), gettext("Reset state"));
include("head.inc");
?>
@@ -68,8 +68,8 @@ include("head.inc");
<tr><td>
<?php
$tab_array = array();
- $tab_array[0] = array("States", false, "diag_dump_states.php");
- $tab_array[1] = array("Reset States", true, "diag_resetstate.php");
+ $tab_array[0] = array(gettext("States"), false, "diag_dump_states.php");
+ $tab_array[1] = array(gettext("Reset States"), true, "diag_resetstate.php");
display_top_tabs($tab_array);
?>
</td></tr>
@@ -80,27 +80,27 @@ include("head.inc");
<td width="22%" valign="top" class="vtable">&nbsp;</td>
<td width="78%" class="vtable"> <p>
<input name="statetable" type="checkbox" id="statetable" value="yes" checked>
- <strong>Firewall state table</strong><br>
+ <strong><?= gettext("Firewall state table"); ?></strong><br>
<span class="vexpl"><br>
- Resetting the state tables will remove all entries from
- the corresponding tables. This means that all open connections
- will be broken and will have to be re-established. This
- may be necessary after making substantial changes to the
- firewall and/or NAT rules, especially if there are IP protocol
- mappings (e.g. for PPTP or IPv6) with open connections.<br>
+ <?=gettext("Resetting the state tables will remove all entries from " .
+ "the corresponding tables. This means that all open connections " .
+ "will be broken and will have to be re-established. This " .
+ "may be necessary after making substantial changes to the " .
+ "firewall and/or NAT rules, especially if there are IP protocol " .
+ "mappings (e.g. for PPTP or IPv6) with open connections."); ?><br>
<br>
- </span><span class="vexpl">The firewall will normally leave
- the state tables intact when changing rules.<br>
+ </span><span class="vexpl"><?=gettext("The firewall will normally leave " .
+ "the state tables intact when changing rules."); ?><br>
<br>
- NOTE: If you reset the firewall state table, the browser
- session may appear to be hung after clicking &quot;Reset&quot;.
- Simply refresh the page to continue.</span></p>
+ <?=gettext("NOTE: If you reset the firewall state table, the browser " .
+ "session may appear to be hung after clicking &quot;Reset&quot;. " .
+ "Simply refresh the page to continue."); ?></span></p>
</td>
</tr>
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
- <input name="Submit" type="submit" class="formbtn" value="Reset">
+ <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Reset"); ?>">
</td>
</tr>
</table>
OpenPOWER on IntegriCloud