Commit Graph

54 Commits

Author SHA1 Message Date
Nicklas Kevin Frank c112d149c4
Added declined and declined_if validation rules (#5723) 2021-11-11 08:20:34 -06:00
Alex Elkins 78e1d56c42
Update validation.php (#5699)
modify the grammar for lte and gte validation to have a parallel structure
2021-09-29 15:29:27 -05:00
Samuel Levy 0bc525860c
[8.x] Added `prohibits` validation message (#5681)
* Added `prohibits` validation

* Update validation.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-08-31 16:08:19 -05:00
Cristiano Fromagio e5962266d7
[8.x] Add accepted_if validation rule (#5658)
* Add accepted_if validation rule

* Update validation.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-08-05 08:45:48 -05:00
Josh Salway 8665891284
Update validation.php (#5636) 2021-07-01 08:38:06 -05:00
Josh Salway c5f6f6187c
Update validation.php (#5637) 2021-07-01 08:37:19 -05:00
netpok c1587b52c9
Add translation for current_password rule (#5628) 2021-06-13 10:46:57 -05:00
Philo Hermans e464182760
Add prohibited validation rule (#5569) 2021-03-19 09:53:34 -05:00
Jess Archer 3a62cfb4fe
Add language for prohibited_if and prohibited_unless validation rules (#5557) 2021-03-10 08:12:57 -06:00
Tim MacDonald c988335502
Standarise "must" and "may" language in validation (#5552)
Majority of the messages are in the format ":attribute must
{conditions_to_be_met}", however a few inconsistently use "may" instead
of "must".

This PR fixes that and has them all use "must" instead.

To highlight the inconsistency:

```php
// "may"
'max' => [
    'numeric' => 'The :attribute may not be greater than :max.',
    'file' => 'The :attribute may not be greater than :max kilobytes.',
    'string' => 'The :attribute may not be greater than :max characters.',
    'array' => 'The :attribute may not have more than :max items.',
],
// "must"
'min' => [
    'numeric' => 'The :attribute must be at least :min.',
    'file' => 'The :attribute must be at least :min kilobytes.',
    'string' => 'The :attribute must be at least :min characters.',
    'array' => 'The :attribute must have at least :min items.',
],
```
2021-03-09 07:23:56 -06:00
Kacper Ziubryniewicz 21c0aed802
Add a missing dot in translations (#5520) 2021-01-14 16:27:55 -06:00
Tim MacDonald 8d3ca07c4c
add 'multiple_of' translation (#5449) 2020-10-16 08:25:48 -05:00
Robert Korulczyk f121af8985 Add missing full stop for some validation messages (#5205) 2020-01-12 09:06:29 -06:00
Dries Vints 050c1d880e
Add new password rule language line 2019-10-08 11:26:03 +02:00
Jason McCreary 93c6874189 Add ends_with validation message (#5020) 2019-05-09 19:07:43 -05:00
Dries Vints 78cb2685aa
Add language entry for starts_with rule
See https://github.com/laravel/framework/pull/26612
2018-11-26 17:29:42 +01:00
Jonas Staudenmeir 5052ab1fd7 Add date_equals validation message 2018-11-21 21:38:35 +01:00
Laurence Ioannou cff8c52824
Update validation.php 2018-10-30 18:39:37 +11:00
Clemir Rondón c96995fb61 Add message for UUID validation rule 2018-10-28 11:04:31 -04:00
Hicham LEMGHARI 2a6f228bec Removing double arrow alignments 2018-10-22 19:07:32 +01:00
Eduardo Gh 4b589c1a4a Changes the translation for "required_with_all" validation rule 2018-10-01 21:06:29 -05:00
Dries Vints 7ff917aa20
Fix alpha_dash
It also accepts underscores as valid signs as explicitly stated in the docs and source code so I believe it would be best to also add it to the validation message.
2018-05-18 14:52:24 +02:00
Fred Delrieu 7d8e91ab66
fix: alphabetical order 2018-05-08 15:58:10 +02:00
Alymosul 51507a6d8a Add language lines for the newly added comparison validation rules. 2018-05-06 17:54:33 +03:00
vlakoff 293fae6bd8 Add message for "Not Regex" validation rule 2018-03-10 02:44:56 +01:00
Mike Hayes 7e5739d266 Add IPv4/IPv6 validation messages 2017-05-11 00:40:34 +01:00
Dries Vints 90886732cf Update description of filled rule
`filled` isn't really required. It just implies that it needs a value.
2017-03-01 16:52:59 +01:00
Mohamed Said fa1eae35b9 add language lines for before_or_equal and after_or_equal 2016-11-21 18:27:55 +02:00
Taylor Otwell 7da6edf8c1 working on message 2016-09-02 08:48:07 -05:00
Mohamed Said 1562407562 add langiage line for uploaded validation rule 2016-09-02 15:41:18 +02:00
Fernando Henrique Bandeira dd1e64a7a4 Changing order 2016-09-02 08:39:34 -03:00
Jacob Müller 537b6288fb Add missing translation for `mimetypes` validation 2016-09-01 17:25:33 +02:00
Cedric van Putten cd03204044 Add language line for file validation rule. 2016-07-01 10:52:07 +02:00
Mohamed Said da64a014e7 Add language line for image dimensions validation rule 2016-05-09 17:50:13 +02:00
Mohamed Said 789c75c24a Add language line for the in_array validation rule 2016-03-01 17:15:58 +00:00
Mohamed Said c36799ddde Add language line to the validation "distinct" rule 2016-02-28 17:08:13 +00:00
Mohamed Said fa6c48d27c keep the lines sorted 2016-02-26 14:59:54 +00:00
Mohamed Said ef6b5a6343 Add language line for the "present" validation rule. 2016-02-26 08:49:55 +00:00
CupOfTea696 f8e58cedb2 required_unless lang line fix 2015-11-01 17:54:19 +00:00
Taylor Otwell 8a49b4f137 add required_unless lang line 2015-10-31 13:38:22 -05:00
Bill Mitchell 33272b3d8b Error message for JSON validation 2015-08-16 16:34:28 +01:00
Fumio Furukawa 191c68766d Sorted by alphabetic.
Sorted by alphabetic.
2015-07-23 15:34:28 +09:00
Andy d64b5a52af Maintain alphabetical order 2015-06-16 08:46:07 -05:00
Graham Campbell 7e303014b6 Sync with 5.0 2015-06-15 22:22:23 +01:00
Graham Campbell bf3785d0bc Additional cs fixes
Signed-off-by: Graham Campbell <graham@cachethq.io>
2015-06-01 15:46:45 +01:00
Taylor Otwell 9446685da9 Fix order of validation rules. 2015-05-21 08:14:40 -05:00
Taylor Otwell f424b87a63 PSR-2 for app. 2015-02-22 20:47:03 -06:00
Taylor Otwell 532297c109 Work on default project structure. 2014-12-08 09:31:31 -06:00
Taylor Otwell 0f88129356 Get rid of resources directory. Unnecessary. 2014-12-05 16:35:05 -06:00
Pascal Schwientek e49aaf82ec minor spelling/grammar corrections 2014-10-25 20:54:42 +02:00