Project

General

Profile

« Previous | Next » 

Revision 4958ca9e

Added by Chris Buechler over 10 years ago

clean up input errors text

View differences:

usr/local/www/interfaces.php
870 870
				}
871 871
				if(strlen($_POST['key' . $i]) == 28)
872 872
					continue;
873
				$input_errors[] =  gettext("Invalid WEP key size.   Sizes should be 40 (64) bit keys or 104 (128) bit.");
873
				$input_errors[] =  gettext("Invalid WEP key. Enter a valid 40, 64, 104 or 128 bit WEP key.");
874 874
				break;
875 875
			}
876 876
		}
......
878 878
		if ($_POST['passphrase']) {
879 879
			$passlen = strlen($_POST['passphrase']);
880 880
			if ($passlen < 8 || $passlen > 63)
881
				$input_errors[] = gettext("The length of the passphrase should be between 8 and 63 characters.");
881
				$input_errors[] = gettext("The passphrase must be between 8 and 63 characters long.");
882 882
		}
883 883
	}
884 884
	if (!$input_errors) {

Also available in: Unified diff