summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_nat_1to1.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-01-18 23:07:08 +0545
committerPhil Davis <phil.davis@inf.org>2016-01-18 23:07:08 +0545
commit52ca65ee3dabf252399015bd6dfdd5b795cf1911 (patch)
tree2b2a7a827c12c830bd64f51a296300967ed30acb /src/usr/local/www/firewall_nat_1to1.php
parentb12cb9535d0822ebfbcb64e0c865864e1e079a68 (diff)
downloadpfsense-52ca65ee3dabf252399015bd6dfdd5b795cf1911.zip
pfsense-52ca65ee3dabf252399015bd6dfdd5b795cf1911.tar.gz
firewall_nat_1to1 config descr and delete button
1) The description written when the config was saved said "Outbound" but should be "1 to 1". gettext() it while here. 2) The Delete button had no text displayed when hovering over it - make it like in firewall_nat.
Diffstat (limited to 'src/usr/local/www/firewall_nat_1to1.php')
-rw-r--r--src/usr/local/www/firewall_nat_1to1.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_nat_1to1.php b/src/usr/local/www/firewall_nat_1to1.php
index 4be8a9e..0683c92 100644
--- a/src/usr/local/www/firewall_nat_1to1.php
+++ b/src/usr/local/www/firewall_nat_1to1.php
@@ -144,7 +144,7 @@ if (isset($_POST['del_x'])) {
} else {
$a_1to1[$_GET['id']]['disabled'] = true;
}
- if (write_config("Firewall: NAT: Outbound, enable/disable NAT rule")) {
+ if (write_config(gettext("Firewall: NAT: 1 to 1, enable/disable NAT rule"))) {
mark_subsystem_dirty('natconf');
}
header("Location: firewall_nat_1to1.php");
@@ -269,7 +269,7 @@ display_top_tabs($tab_array);
<i class="fa fa-plus icon-embed-btn"></i>
<?=gettext('Add')?>
</a>
- <button name="del_x" type="submit" class="btn btn-danger btn-sm" value="<?=gettext("Delete selected rule"); ?>">
+ <button name="del_x" type="submit" class="btn btn-danger btn-sm" title="<?=gettext('Delete selected mappings')?>">
<i class="fa fa-trash icon-embed-btn"></i>
<?=gettext("Delete"); ?>
</button>
OpenPOWER on IntegriCloud