summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_captiveportal_mac_edit.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2017-02-01 16:43:51 +0545
committerPhil Davis <phil.davis@inf.org>2017-02-01 16:43:51 +0545
commit702fa4d0ce035a444112e23f4e4d1a4c686d8163 (patch)
tree3efcf6b31fee91f60f1321fbeaa06ca98fc4ac7e /src/usr/local/www/services_captiveportal_mac_edit.php
parent070379bbc0cf84d82f52a0adfe2bdc6014695f7e (diff)
downloadpfsense-702fa4d0ce035a444112e23f4e4d1a4c686d8163.zip
pfsense-702fa4d0ce035a444112e23f4e4d1a4c686d8163.tar.gz
Code with multiple %s in usr/local/www
Diffstat (limited to 'src/usr/local/www/services_captiveportal_mac_edit.php')
-rw-r--r--src/usr/local/www/services_captiveportal_mac_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/services_captiveportal_mac_edit.php b/src/usr/local/www/services_captiveportal_mac_edit.php
index 4cd30a3..cea3bbc 100644
--- a/src/usr/local/www/services_captiveportal_mac_edit.php
+++ b/src/usr/local/www/services_captiveportal_mac_edit.php
@@ -113,7 +113,7 @@ if ($_POST) {
}
}
} else {
- $input_errors[] = sprintf("%s. [%s]", gettext("A valid MAC address must be specified"), $_POST['mac']);
+ $input_errors[] = sprintf(gettext('A valid MAC address must be specified. [%s]'), $_POST['mac']);
}
}
if ($_POST['bw_up'] && !is_numeric($_POST['bw_up'])) {
@@ -135,7 +135,7 @@ if ($_POST) {
}
if ($macent['mac'] == $_POST['mac']) {
- $input_errors[] = sprintf("[%s] %s.", $_POST['mac'], gettext("already exists"));
+ $input_errors[] = sprintf(gettext('[%s] already exists.'), $_POST['mac']);
break;
}
}
OpenPOWER on IntegriCloud