From ecacce6086814232d6bdb4d0ab26c241787ad9cf Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Ramos Date: Thu, 24 Jun 2010 13:24:36 -0300 Subject: Implement gettext() calls --- usr/local/www/firewall_aliases.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'usr/local') diff --git a/usr/local/www/firewall_aliases.php b/usr/local/www/firewall_aliases.php index 28bb7e7..1e69efd 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 = gettext("Cannot delete rule. Currently in use by {$referenced_by}"); + $savemsg = sprintf(gettext("Cannot delete rule. Currently in use by %s"), $referenced_by); } else { unset($a_aliases[$_GET['id']]); write_config(); @@ -174,14 +174,14 @@ include("head.inc"); - - - + + + @@ -213,8 +213,8 @@ include("head.inc"); @@ -227,10 +227,10 @@ include("head.inc"); + ">
NameValuesDescription - +
 ">
- - + +
">">
  - - " alt="" /> + " alt="" />
@@ -238,7 +238,7 @@ include("head.inc"); -

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.")

+

:

-- cgit v1.1