summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_nat_1to1_edit.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-02-01 09:10:10 -0200
committerRenato Botelho <renato@netgate.com>2017-02-01 09:10:10 -0200
commitaf7c08a5b7d07533aaccfa5ec745e484d4971d9b (patch)
treee10230e9386fe4fb1a79fb1af0b43371c9f1a0d0 /src/usr/local/www/firewall_nat_1to1_edit.php
parent935b826fbed9ff563a2198f4e93d3580b1a45c75 (diff)
parent702fa4d0ce035a444112e23f4e4d1a4c686d8163 (diff)
downloadpfsense-af7c08a5b7d07533aaccfa5ec745e484d4971d9b.zip
pfsense-af7c08a5b7d07533aaccfa5ec745e484d4971d9b.tar.gz
Merge pull request #3462 from phil-davis/percent-s-www
Diffstat (limited to 'src/usr/local/www/firewall_nat_1to1_edit.php')
-rw-r--r--src/usr/local/www/firewall_nat_1to1_edit.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/firewall_nat_1to1_edit.php b/src/usr/local/www/firewall_nat_1to1_edit.php
index 49f572b..4994ff9 100644
--- a/src/usr/local/www/firewall_nat_1to1_edit.php
+++ b/src/usr/local/www/firewall_nat_1to1_edit.php
@@ -190,7 +190,7 @@ if ($_POST) {
// Check that the address family matches the other IP addresses entered.
if ($extipaddrtype && ($srcipaddrtype != $extipaddrtype)) {
$input_errors[] = sprintf(
- gettext("The external IP address (%s) and internal IP address (%s) are of different address families.") .
+ gettext('The external IP address (%1$s) and internal IP address (%2$s) are of different address families.') .
get_must_be_both_text(),
$_POST['external'],
$_POST['src']);
@@ -216,14 +216,14 @@ if ($_POST) {
// Check that the address family matches the other IP addresses entered.
if ($extipaddrtype && ($dstipaddrtype != $extipaddrtype)) {
$input_errors[] = sprintf(
- gettext("The external IP address (%s) and destination IP address (%s) are of different address families.") .
+ gettext('The external IP address (%1$s) and destination IP address (%2$s) are of different address families.') .
get_must_be_both_text(),
$_POST['external'],
$_POST['dst']);
}
if ($srcipaddrtype && ($dstipaddrtype != $srcipaddrtype)) {
$input_errors[] = sprintf(
- gettext("The internal IP address (%s) and destination IP address (%s) are of different address families.") .
+ gettext('The internal IP address (%1$s) and destination IP address (%2$s) are of different address families.') .
get_must_be_both_text(),
$_POST['src'],
$_POST['dst']);
OpenPOWER on IntegriCloud