19 Commits

Author SHA1 Message Date
Willem Wollebrants
fc6f5c138e Update en.php
add a verb to the lengthMin error
2016-07-31 11:57:12 +02:00
misantron
69be152f3a English and russian translations fix 2016-03-24 22:08:52 +03:00
Matthew Laver
8bc6de6b9e made length message more accurate fixes #127 2015-11-09 12:50:36 +00:00
Vance Lucas
e83cd2934c Language typo 2014-11-14 15:37:19 -06:00
Vance Lucas
6d36b12f76 Merge pull request #85 from Typeform/master
Add instanceOf to rules in readme.md
2014-07-29 13:00:00 -05:00
geoffs3310
93ecbcf211 Update en.php
Changed the error messages for min and max. If I set a min value of 1 the error message says the value has to be greater than 1 - changed the error message to say the value must be at least 1. If I set a max value of 10 the error message says the value has to be less than 10 - changed the error message to say the value must be no more than 10.
2014-07-18 16:36:07 +01:00
Victor Bjelkholm
6f5dad8745 Update en.php to include instanceOf 2014-07-14 23:27:57 +02:00
Brandon Lamb
1fef00f992 Update array formatting of language files to be same indentation 2014-05-26 13:23:04 -07:00
Kilte
8871f81476 Add min/max-length validators 2014-01-25 21:18:42 +04:00
Andrew Willis
2d0790b984 Added credit card validation for Visa, Mastercard, American Express, Dinersclub and Discover 2014-01-09 22:05:23 +00:00
Kilte
807ff8b115 Update translations 2014-01-07 00:08:32 +04:00
Kilte
590bbcce5f Fix typo 2014-01-06 04:03:28 +04:00
Big Ginger Nerd
89352fcc15 Added validator for boolean 2013-10-15 14:59:34 +02:00
Vance Lucas
05c1b9ab15 Error messages now include field name by default
* Version 1.1.0 release
2013-06-29 10:26:03 -05:00
Vance Lucas
9e13e8ef82 Merge pull request #6 from spekkionu/master
Fixed some typos in messages and documentation.
2013-03-20 07:09:16 -07:00
Jonathan Bernardi
922f3546bd Fix some typos. 2013-03-19 11:09:39 -08:00
Pascal Borreli
0ada9f2ad6 Fixed typos 2013-03-06 01:54:59 +00:00
Chris Cornutt
6169b04cc5 adding default error message to EN language file for "contains" 2013-03-05 10:41:38 -06:00
Vance Lucas
4123e185f4 Add error messages with basic translation support
* Initial English error messages file and directory
 * Setup methods to specify language and directory to find lang files in
 * Change 'alphaDash' validation name to 'slug' for URL slugs
 * Now passing all parameters to error message via `vsprintf`
 * Add `message` convenience method to easily specify custom message on
   last validation rule
 * Add tests for error messages
2013-02-02 20:10:02 -06:00