diff options
author | jim-p <jimp@pfsense.org> | 2017-03-03 10:40:37 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2017-03-03 10:40:37 -0500 |
commit | adb1945666136a26d1c69e7b3795160007bf5648 (patch) | |
tree | f02902b9889612b0244995d219a7e570bb1ede87 | |
parent | 956b03cd0d16ea0b24eb5228c95c665f8efad138 (diff) | |
download | pfsense-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.
-rw-r--r-- | src/usr/local/www/firewall_rules_edit.php | 7 |
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', |