summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_resetstate.php
diff options
context:
space:
mode:
authorbruno <bruno.stein@bluepex.com>2016-01-21 14:56:10 -0200
committerbruno <bruno.stein@bluepex.com>2016-01-21 14:56:10 -0200
commitff30e319d4239b4b6df55d2663f7c0f5efded5e1 (patch)
tree51a202b804c109c61b9560b39d68bf8facf1c944 /src/usr/local/www/diag_resetstate.php
parentbab790f20be61f0390364945cc5a40de82e0f73f (diff)
downloadpfsense-ff30e319d4239b4b6df55d2663f7c0f5efded5e1.zip
pfsense-ff30e319d4239b4b6df55d2663f7c0f5efded5e1.tar.gz
add call gettext function for translate
Diffstat (limited to 'src/usr/local/www/diag_resetstate.php')
-rw-r--r--src/usr/local/www/diag_resetstate.php21
1 files changed, 9 insertions, 12 deletions
diff --git a/src/usr/local/www/diag_resetstate.php b/src/usr/local/www/diag_resetstate.php
index e492550..45589eb 100644
--- a/src/usr/local/www/diag_resetstate.php
+++ b/src/usr/local/www/diag_resetstate.php
@@ -97,20 +97,17 @@ if ($savemsg) {
print_info_box($savemsg, 'alert-success');
}
-$statetablehelp = 'Resetting the state tables will remove all entries from the corresponding tables. This means that all open connections ' .
+$statetablehelp = sprintf(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 />' .
- 'The firewall will normally leave the state tables intact when changing rules.' .
- '<br /><br />' .
- '<strong>NOTE:</strong> 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.';
-
-$sourcetablehelp = 'Resetting the source tracking table will remove all source/destination associations. ' .
+ 'firewall and/or NAT rules, especially if there are IP protocol mappings (e.g. for PPTP or IPv6) with open connections.%s' .
+ 'The firewall will normally leave the state tables intact when changing rules.%s' .
+ '%sNOTE:%s 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.'), "<br /><br />", "<br /><br />", "<strong>", "</strong>");
+
+$sourcetablehelp = sprintf(gettext('Resetting the source tracking table will remove all source/destination associations. ' .
'This means that the \"sticky\" source/destination association ' .
- 'will be cleared for all clients.' .
- ' <br /><br />' .
- 'This does not clear active connection states, only source tracking.';
+ 'will be cleared for all clients.%s' .
+ 'This does not clear active connection states, only source tracking.'), "<br /><br />");
$tab_array = array();
$tab_array[] = array(gettext("States"), false, "diag_dump_states.php");
OpenPOWER on IntegriCloud