aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_interfaces_whitelist.php
diff options
context:
space:
mode:
authorRenato Botelho <rbgarga@gmail.com>2012-07-24 10:28:14 -0300
committerRenato Botelho <rbgarga@gmail.com>2012-07-24 10:28:14 -0300
commit52b44ab8f4781ebf82821fb4f2968aa360b7b87d (patch)
tree98b2a2f49df7844e9cd72390e390c8e09853da47 /config/snort/snort_interfaces_whitelist.php
parent5b7a1a95cd5a18180cfa3e83e65577a0b30583fa (diff)
downloadpfsense-packages-52b44ab8f4781ebf82821fb4f2968aa360b7b87d.tar.gz
pfsense-packages-52b44ab8f4781ebf82821fb4f2968aa360b7b87d.tar.bz2
pfsense-packages-52b44ab8f4781ebf82821fb4f2968aa360b7b87d.zip
Implement gettext() calls on strings
Diffstat (limited to 'config/snort/snort_interfaces_whitelist.php')
-rw-r--r--config/snort/snort_interfaces_whitelist.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/config/snort/snort_interfaces_whitelist.php b/config/snort/snort_interfaces_whitelist.php
index 294deef2..f90cbe1f 100644
--- a/config/snort/snort_interfaces_whitelist.php
+++ b/config/snort/snort_interfaces_whitelist.php
@@ -124,12 +124,12 @@ if ($savemsg) print_info_box($savemsg);
<td valign="middle"><a
href="snort_interfaces_whitelist_edit.php?id=<?=$i;?>"><img
src="/themes/<?= $g['theme']; ?>/images/icons/icon_e.gif"
- width="17" height="17" border="0" title="edit whitelist"></a></td>
+ width="17" height="17" border="0" title="<?php echo gettext("edit whitelist"); ?>"></a></td>
<td><a
href="/snort/snort_interfaces_whitelist.php?act=del&id=<?=$i;?>"
- onclick="return confirm('Do you really want to delete this whitelist? All elements that still use it will become invalid (e.g. snort rules will fall back to the default whitelist)!')"><img
+ onclick="return confirm('<?php echo gettext("Do you really want to delete this whitelist? All elements that still use it will become invalid (e.g. snort rules will fall back to the default whitelist)!"); ?>')"><img
src="/themes/<?= $g['theme']; ?>/images/icons/icon_x.gif"
- width="17" height="17" border="0" title="delete whitelist"></a></td>
+ width="17" height="17" border="0" title="<?php echo gettext("delete whitelist"); ?>"></a></td>
</tr>
</table>
</td>
@@ -144,7 +144,7 @@ if ($savemsg) print_info_box($savemsg);
<td valign="middle"><a
href="snort_interfaces_whitelist_edit.php?id=<?php echo $id_gen;?> "><img
src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif"
- width="17" height="17" border="0" title="add a new list"></a></td>
+ width="17" height="17" border="0" title="<?php echo gettext("add a new list"); ?>"></a></td>
</tr>
</table>
</td>
@@ -156,13 +156,13 @@ if ($savemsg) print_info_box($savemsg);
<br>
<table width="100%" border="0" cellpadding="0"
cellspacing="0">
- <td width="100%"><span class="vexpl"><span class="red"><strong>Note:</strong></span>
- <p><span class="vexpl">Here you can create whitelist files for your
- snort package rules.<br>
- Please add all the ips or networks you want to protect against snort
- block decisions.<br>
- Remember that the default whitelist only includes local networks.<br>
- Be careful, it is very easy to get locked out of you system.</span></p></td>
+ <td width="100%"><span class="vexpl"><span class="red"><strong><?php echo gettext("Note:"); ?></strong></span>
+ <p><span class="vexpl"><?php echo gettext("Here you can create whitelist files for your " .
+ "snort package rules."); ?><br>
+ <?php echo gettext("Please add all the ips or networks you want to protect against snort " .
+ "block decisions."); ?><br>
+ <?php echo gettext("Remember that the default whitelist only includes local networks."); ?><br>
+ <?php echo gettext("Be careful, it is very easy to get locked out of you system."); ?></span></p></td>
</table>
</form>
<?php include("fend.inc"); ?>