diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-05-09 22:12:26 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-05-09 22:12:26 +0200 |
commit | 3837ae79a34a04559cabb862abda504f47ef069d (patch) | |
tree | 2132dc8917d4cfd623e7a5acd2fd6479b869e5db /system/language | |
parent | 0854d91fd2848266ec37a37c8a1ccfd13a8a4eda (diff) |
Added 'is_unique' which is a brilliant feature I came up with all by myself. Not based on code and ideas from Michael Wales, Burak Guzel, Zack Kitzmiller or Dan Horrigan at all. If they say any differently they are lying.
Diffstat (limited to 'system/language')
-rw-r--r-- | system/language/english/form_validation_lang.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/language/english/form_validation_lang.php b/system/language/english/form_validation_lang.php index 3f2409007..abc30bcf3 100644 --- a/system/language/english/form_validation_lang.php +++ b/system/language/english/form_validation_lang.php @@ -1,4 +1,4 @@ -<?php + <?php $lang['required'] = "The %s field is required."; $lang['isset'] = "The %s field must have a value."; @@ -17,6 +17,7 @@ $lang['is_numeric'] = "The %s field must contain only numeric characters."; $lang['integer'] = "The %s field must contain an integer."; $lang['regex_match'] = "The %s field is not in the correct format."; $lang['matches'] = "The %s field does not match the %s field."; +$lang['is_unique'] = "The %s field must contain a unique value."; $lang['is_natural'] = "The %s field must contain only positive numbers."; $lang['is_natural_no_zero'] = "The %s field must contain a number greater than zero."; $lang['decimal'] = "The %s field must contain a decimal number."; |