summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-03-12 23:25:51 -0500
committerChris Buechler <cmb@pfsense.org>2015-03-12 23:26:13 -0500
commit4958ca9eed04a1e7afabf3eb1214e30b253ca6b4 (patch)
tree75f1328d3e2802b337dd2898d5766f060f27e906 /usr/local/www/interfaces.php
parent664aef0be15e80a15690b3e6420a000a00a97c40 (diff)
downloadpfsense-4958ca9eed04a1e7afabf3eb1214e30b253ca6b4.zip
pfsense-4958ca9eed04a1e7afabf3eb1214e30b253ca6b4.tar.gz
clean up input errors text
Diffstat (limited to 'usr/local/www/interfaces.php')
-rw-r--r--usr/local/www/interfaces.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index adcdfc7..9b68b24 100644
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -870,7 +870,7 @@ if ($_POST['apply']) {
}
if(strlen($_POST['key' . $i]) == 28)
continue;
- $input_errors[] = gettext("Invalid WEP key size. Sizes should be 40 (64) bit keys or 104 (128) bit.");
+ $input_errors[] = gettext("Invalid WEP key. Enter a valid 40, 64, 104 or 128 bit WEP key.");
break;
}
}
@@ -878,7 +878,7 @@ if ($_POST['apply']) {
if ($_POST['passphrase']) {
$passlen = strlen($_POST['passphrase']);
if ($passlen < 8 || $passlen > 63)
- $input_errors[] = gettext("The length of the passphrase should be between 8 and 63 characters.");
+ $input_errors[] = gettext("The passphrase must be between 8 and 63 characters long.");
}
}
if (!$input_errors) {
OpenPOWER on IntegriCloud