diff --git a/usr/local/www/firewall_aliases.php b/usr/local/www/firewall_aliases.php index bc210a1b8a..28bb7e7ec5 100755 --- a/usr/local/www/firewall_aliases.php +++ b/usr/local/www/firewall_aliases.php @@ -147,7 +147,7 @@ if ($_GET['act'] == "del") { } } if($is_alias_referenced == true) { - $savemsg = "Cannot delete rule. Currently in use by {$referenced_by}"; + $savemsg = gettext("Cannot delete rule. Currently in use by {$referenced_by}"); } else { unset($a_aliases[$_GET['id']]); write_config(); @@ -169,7 +169,7 @@ include("head.inc");

-You must apply the changes in order for them to take effect.");?> +You must apply the changes in order for them to take effect.");?> @@ -230,7 +230,7 @@ include("head.inc");
- " alt="" /> + " alt="" />
@@ -238,7 +238,7 @@ include("head.inc"); -

Note:
Aliases act as placeholders for real hosts, networks or ports. They can be used to minimize the number of changes that have to be made if a host, network or port changes. You can enter the name of an alias instead of the host, network or port in all fields that have a red background. The alias will be resolved according to the list above. If an alias cannot be resolved (e.g. because you deleted it), the corresponding element (e.g. filter/NAT/shaper rule) will be considered invalid and skipped.

+

Note:
gettext("Aliases act as placeholders for real hosts, networks or ports.") gettext("They can be used to minimize the number of changes that have to be made if a host, network or port changes.") gettext("You can enter the name of an alias instead of the host, network or port in all fields that have a red background.") gettext("The alias will be resolved according to the list above.") gettext("If an alias cannot be resolved (e.g. because you deleted it), the corresponding element (e.g. filter/NAT/shaper rule) will be considered invalid and skipped.")

diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php index 84fc0e8724..ccc524bf3f 100755 --- a/usr/local/www/firewall_nat.php +++ b/usr/local/www/firewall_nat.php @@ -158,7 +158,7 @@ if (isset($_POST['del_x'])) { } } -$pgtitle = array("Firewall","NAT","Port Forward"); +$pgtitle = array(gettext("Firewall","NAT","Port Forward")); include("head.inc"); echo ""; @@ -174,18 +174,18 @@ echo "