aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_rulesets.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_rulesets.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_rulesets.php')
-rw-r--r--config/snort/snort_rulesets.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/config/snort/snort_rulesets.php b/config/snort/snort_rulesets.php
index 5434470e..cfaa7d18 100644
--- a/config/snort/snort_rulesets.php
+++ b/config/snort/snort_rulesets.php
@@ -204,8 +204,8 @@ if ($savemsg) {
?>
<tr>
<td>
- # The rules directory is empty. <?=$snortdir;?>/rules <br/>
- Please go to the updates page to download/fetch the rules configured.
+ <?php printf(gettext("# The rules directory is empty. %s/rules"), $snortdir); ?> <br/>
+ <?php echo gettext("Please go to the updates page to download/fetch the rules configured."); ?>
</td>
</tr>
<?php else:
@@ -221,7 +221,7 @@ if ($savemsg) {
<table id="sortabletable1" class="sortable" width="100%" border="0"
cellpadding="0" cellspacing="0">
<tr>
- <td colspan="6" class="listtopic">Check the rulesets that you would like Snort to load at startup.<br/><br/></td>
+ <td colspan="6" class="listtopic"><?php echo gettext("Check the rulesets that you would like Snort to load at startup."); ?><br/><br/></td>
</tr>
<tr>
<td colspan="2" valign="center"><br/><input value="Save" type="submit" name="Submit" id="Submit" /><br/<br/></td>
@@ -231,18 +231,18 @@ if ($savemsg) {
<tr> <td colspan="6">&nbsp;</td> </tr>
<tr id="frheader">
<?php if ($emergingdownload == 'on'): ?>
- <td width="5%" class="listhdrr">Enabled</td>
- <td width="25%" class="listhdrr"><?php echo 'Ruleset: Emerging Threats.';?></td>
+ <td width="5%" class="listhdrr"><?php echo gettext("Enabled"); ?></td>
+ <td width="25%" class="listhdrr"><?php echo gettext('Ruleset: Emerging Threats.');?></td>
<?php else: ?>
- <td colspan="2" width="30%" class="listhdrr">Emerging rules have not been enabled</td>
+ <td colspan="2" width="30%" class="listhdrr"><?php echo gettext("Emerging rules have not been enabled"); ?></td>
<?php endif; ?>
<?php if ($snortdownload == 'on'): ?>
- <td width="5%" class="listhdrr">Enabled</td>
- <td width="25%" class="listhdrr"><?php echo 'Ruleset: Snort';?></td>
- <td width="5%" class="listhdrr">Enabled</td>
- <td width="25%" class="listhdrr"><?php echo 'Ruleset: Snort SO';?></td>
+ <td width="5%" class="listhdrr"><?php echo gettext("Enabled"); ?></td>
+ <td width="25%" class="listhdrr"><?php echo gettext('Ruleset: Snort');?></td>
+ <td width="5%" class="listhdrr"><?php echo gettext("Enabled"); ?></td>
+ <td width="25%" class="listhdrr"><?php echo gettext('Ruleset: Snort SO');?></td>
<?php else: ?>
- <td colspan="2" width="60%" class="listhdrr">Snort rules have not been enabled</td>
+ <td colspan="2" width="60%" class="listhdrr"><?php echo gettext("Snort rules have not been enabled"); ?></td>
<?php endif; ?>
</tr>
<?php