summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-02-09 08:52:06 -0200
committerRenato Botelho <renato@netgate.com>2017-02-09 08:52:06 -0200
commit0aaa7bb0542ab7b9660c7e40c9511110153563e0 (patch)
tree2a5003797f7108b27a9f715e1b05ef4eb78ad308 /src
parentc52d6985eca4a753de8a88f854da4ec8cb358133 (diff)
parent83d3119200037b9ab99d542bc7c77480e7f79450 (diff)
downloadpfsense-0aaa7bb0542ab7b9660c7e40c9511110153563e0.zip
pfsense-0aaa7bb0542ab7b9660c7e40c9511110153563e0.tar.gz
Merge pull request #3518 from phil-davis/patch-5
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/system_gateways_edit.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/local/www/system_gateways_edit.php b/src/usr/local/www/system_gateways_edit.php
index 6b52fbc..8f1def5 100644
--- a/src/usr/local/www/system_gateways_edit.php
+++ b/src/usr/local/www/system_gateways_edit.php
@@ -173,7 +173,7 @@ if ($_POST) {
}
if ($found === false) {
- $input_errors[] = sprintf(gettext("The gateway address %1\$s does not lie within one of the chosen interface's subnets."), $_POST['gateway']);
+ $input_errors[] = sprintf(gettext("The gateway address %s does not lie within one of the chosen interface's subnets."), $_POST['gateway']);
}
}
} else if (is_ipaddrv6($_POST['gateway'])) {
@@ -204,7 +204,7 @@ if ($_POST) {
}
if ($found === false) {
- $input_errors[] = sprintf(gettext("The gateway address %1\$s does not lie within one of the chosen interface's subnets."), $_POST['gateway']);
+ $input_errors[] = sprintf(gettext("The gateway address %s does not lie within one of the chosen interface's subnets."), $_POST['gateway']);
}
}
}
@@ -737,7 +737,7 @@ $group->add(new Form_Input(
['placeholder' => $dpinger_default['latencyhigh']]
));
$group->setHelp('Low and high thresholds for latency in milliseconds. ' .
- 'Default is %d/%d.', $dpinger_default['latencylow'], $dpinger_default['latencyhigh']);
+ 'Default is %1$d/%2$d.', $dpinger_default['latencylow'], $dpinger_default['latencyhigh']);
$section->add($group);
@@ -756,8 +756,8 @@ $group->add(new Form_Input(
$pconfig['losshigh'],
['placeholder' => $dpinger_default['losshigh']]
));
-$group->setHelp('Low and high thresholds for packet loss in %. ' .
- 'Default is %d/%d.', $dpinger_default['losslow'], $dpinger_default['losshigh']);
+$group->setHelp('Low and high thresholds for packet loss in %%. ' .
+ 'Default is %1$d/%2$d.', $dpinger_default['losslow'], $dpinger_default['losshigh']);
$section->add($group);
$section->addInput(new Form_Input(
OpenPOWER on IntegriCloud