diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-08-11 22:18:34 -0600 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-08-11 22:18:34 -0600 |
commit | ddc55e124418ff8b417a4353afcc5a814af4041d (patch) | |
tree | 6e4988855444d56ad77e7b562d0ee052c2117f19 /usr/local/www/firewall_aliases_edit.php | |
parent | e36c52f4c0cc9819f7fd6ed6daa3e0f36d57bba5 (diff) | |
download | pfsense-ddc55e124418ff8b417a4353afcc5a814af4041d.zip pfsense-ddc55e124418ff8b417a4353afcc5a814af4041d.tar.gz |
Modify various (s)printf format strings to allow translations to change the order of the inserted strings.
Diffstat (limited to 'usr/local/www/firewall_aliases_edit.php')
-rwxr-xr-x | usr/local/www/firewall_aliases_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php index b0ae4a3..a6411bc 100755 --- a/usr/local/www/firewall_aliases_edit.php +++ b/usr/local/www/firewall_aliases_edit.php @@ -260,7 +260,7 @@ if ($_POST) { if (!is_ipaddr($_POST["address{$x}"]) && !is_hostname($_POST["address{$x}"]) && !is_iprange($_POST["address{$x}"])) - $input_errors[] = sprintf(gettext("%s is not a valid %s alias."), $_POST["address{$x}"], $_POST['type']); + $input_errors[] = sprintf(gettext('%1$s is not a valid %2$s alias.'), $_POST["address{$x}"], $_POST['type']); } if (is_iprange($_POST["address{$x}"])) { list($startip, $endip) = explode('-', $_POST["address{$x}"]); @@ -279,7 +279,7 @@ if ($_POST) { } } if ($wrongaliases <> "") - $input_errors[] = sprintf(gettext("The alias(es): %s %scannot be nested because they are not of the same type."), $wrongaliases, " \n"); + $input_errors[] = sprintf(gettext('The alias(es): %1$s %2$scannot be nested because they are not of the same type.'), $wrongaliases, " \n"); } if (!$input_errors) { |