Commit Graph

80 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
Taylor Otwell b54ef297b3 add auth line 2020-11-09 14:36:40 -06:00
Tim MacDonald 8d3ca07c4c
add 'multiple_of' translation (#5449) 2020-10-16 08:25:48 -05:00
Taylor Otwell db596ba02a Merge branch 'develop' of github.com:laravel/laravel into develop 2020-01-17 16:15:48 -06:00
Taylor Otwell ffc74ba143 remove hyphen on email 2020-01-17 16:15:38 -06:00
Robert Korulczyk f121af8985 Add missing full stop for some validation messages (#5205) 2020-01-12 09:06:29 -06:00
byjml 9b6643226d Consistent order (#5167)
Keep the alphabetical order of the validation messages.
2019-12-04 12:57:13 -06:00
Taylor Otwell 953b488b8b fix key 2019-10-21 13:47:27 -05:00
Taylor Otwell ba2f2abe83 tweak formatting 2019-10-21 13:42:31 -05:00
Michael Chernyshev ace38c133f Security fix: Waiting before retrying password reset 2019-10-18 13:57:19 +03:00
Dries Vints 050c1d880e
Add new password rule language line 2019-10-08 11:26:03 +02:00
Dries Vints 4852f48346 Remove deprecated language line (#5074) 2019-08-12 07:48:54 -05:00
Jason McCreary 93c6874189 Add ends_with validation message (#5020) 2019-05-09 19:07:43 -05:00
Taylor Otwell 4070dc98d4 fix conflicts 2018-12-18 09:06:40 -06: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
Taylor Otwell 1cb18d11ac
Merge pull request #4794 from jakebathman/change-password-min-length-to-8
[5.8] Change password min length to 8
2018-10-05 14:23:33 -05:00
jakebathman 325ae7ac69 Update `RegisterController` password validation rule and associated lang file 2018-10-05 13:54:15 -05:00
Jonas Staudenmeir 277dd2e0e0 Revert #4744 2018-10-05 18:13:18 +02:00
Eduardo Gh 4b589c1a4a Changes the translation for "required_with_all" validation rule 2018-10-01 21:06:29 -05:00
Jonas Staudenmeir d44d5eb609 Fix pagination translation 2018-09-03 20:10:00 +02: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
Graham Campbell 36875bb98e Merge branch 'master' into develop 2016-12-29 13:03:32 +00:00
Taylor Otwell b9db2864fe remove spacing 2016-12-17 10:12:27 -06: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