summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-02-06 08:14:41 -0200
committerRenato Botelho <renato@netgate.com>2017-02-06 08:14:41 -0200
commite243bde0ac171e3e2a6c1c6dda8d617220bd3920 (patch)
tree05aab5696144305bc014dc30618b926be0b8402e /src/usr/local/www
parent7b05dc97a1a197a673418809a060b11fc760c8ec (diff)
parent01b3466561bc54f6bb7b11fb8f21a562f90bcf05 (diff)
downloadpfsense-e243bde0ac171e3e2a6c1c6dda8d617220bd3920.zip
pfsense-e243bde0ac171e3e2a6c1c6dda8d617220bd3920.tar.gz
Merge pull request #3477 from phil-davis/patch-2
Diffstat (limited to 'src/usr/local/www')
-rw-r--r--src/usr/local/www/firewall_rules_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
index f2d5eef..2e6ad4d 100644
--- a/src/usr/local/www/firewall_rules_edit.php
+++ b/src/usr/local/www/firewall_rules_edit.php
@@ -1312,7 +1312,7 @@ $form->add($section);
// Source and destination share a lot of logic. Loop over the two
// ToDo: Unfortunately they seem to differ more than they share. This needs to be unrolled
-foreach (['src' => 'Source', 'dst' => 'Destination'] as $type => $name) {
+foreach (['src' => gettext('Source'), 'dst' => gettext('Destination')] as $type => $name) {
$section = new Form_Section($name);
$group = new Form_Group('*' . $name);
@@ -1403,7 +1403,7 @@ foreach (['src' => 'Source', 'dst' => 'Destination'] as $type => $name) {
$portValues[$port] = $portName.' ('. $port .')';
}
- $group = new Form_Group($name .' Port Range');
+ $group = new Form_Group($type == 'src' ? gettext('Source Port Range') : gettext('Destination Port Range'));
$group->addClass($type . 'portrange');
OpenPOWER on IntegriCloud