summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2017-03-03 10:40:37 -0500
committerjim-p <jimp@pfsense.org>2017-03-03 10:40:37 -0500
commitadb1945666136a26d1c69e7b3795160007bf5648 (patch)
treef02902b9889612b0244995d219a7e570bb1ede87 /src/usr/local/www/firewall_rules_edit.php
parent956b03cd0d16ea0b24eb5228c95c665f8efad138 (diff)
downloadpfsense-adb1945666136a26d1c69e7b3795160007bf5648.zip
pfsense-adb1945666136a26d1c69e7b3795160007bf5648.tar.gz
Adjust fix for ticket #7294 for 2.3.x, it used a setHelp change that was only valid on 2.4.
Diffstat (limited to 'src/usr/local/www/firewall_rules_edit.php')
-rw-r--r--src/usr/local/www/firewall_rules_edit.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
index 610d1a0..2c36204 100644
--- a/src/usr/local/www/firewall_rules_edit.php
+++ b/src/usr/local/www/firewall_rules_edit.php
@@ -1498,9 +1498,10 @@ $section->addInput(new Form_Input(
'Description',
'text',
$pconfig['descr']
-))->setHelp('A description may be entered here for administrative reference. ' .
- 'A maximum of %s characters will be used in the ruleset and displayed in the firewall log.',
- user_rule_descr_maxlen());
+))->setHelp(sprintf(gettext('A description may be entered here for administrative reference. ' .
+ 'A maximum of %s characters will be used in the ruleset and displayed in the firewall log.'),
+ user_rule_descr_maxlen())
+ );
$btnadv = new Form_Button(
'btnadvopts',
OpenPOWER on IntegriCloud