Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a664c10db | ||
|
|
18a7845e81 | ||
|
|
13a8c8b933 | ||
|
|
8e332fd267 | ||
|
|
8bdf21cc15 | ||
|
|
8da7d10f52 | ||
|
|
40ffce9fff | ||
|
|
f986cdd027 | ||
|
|
366da4923b | ||
|
|
ed601fece4 | ||
|
|
c654dde284 | ||
|
|
14a83a31c4 | ||
|
|
d4f489ac67 | ||
|
|
dc7d038a35 | ||
|
|
1e63bfa8f9 | ||
|
|
d36b72d9d0 | ||
|
|
17d591cc12 | ||
|
|
d836a7cc7a | ||
|
|
b7c9d7da26 | ||
|
|
ebf69e6ba7 | ||
|
|
85c3f6912c | ||
|
|
2b32f79dee | ||
|
|
3abf93535b |
No files matched your search
@@ -2,10 +2,15 @@
|
||||
|
||||
In this repository, you can find the lang files for the framework PHP, [Laravel 4/5/6/7](https://laravel.com).
|
||||
|
||||
## New
|
||||
|
||||
* in version 6.1, we propose a new file by language: `validation-inline.php` ( see #1268 )
|
||||
* in future version 7, we will have new directory names to follow ISO-15897 ( see #1269 )
|
||||
|
||||
## Install
|
||||
|
||||
#### Via Composer
|
||||
* For Laravel 7.x : run `composer require caouecs/laravel-lang:~6.0` in your project folder
|
||||
* For Laravel 7.x : run `composer require caouecs/laravel-lang:~6.1` in your project folder
|
||||
* For Laravel 6.x : run `composer require caouecs/laravel-lang:~5.0` in your project folder
|
||||
* For Laravel 5.8 : run `composer require caouecs/laravel-lang:~4.0` in your project folder
|
||||
* For Laravel 5.1-5.7 : run `composer require caouecs/laravel-lang:~3.0` in your project folder
|
||||
@@ -54,7 +59,6 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
|
||||
|
||||
* [LaravelLang by ARCANEDEV](https://github.com/ARCANEDEV/LaravelLang) - Translations manager and checker for Laravel.
|
||||
* [Laravel-lang by overtrue](https://github.com/overtrue/laravel-lang) - Command to add languages in your project.
|
||||
* [laravel-lang-installer by ablunier](https://github.com/ablunier/laravel-lang-installer) - Command for easily add languages to a Laravel project.
|
||||
* [laravel-lang-publisher by Andrey Helldar](https://github.com/andrey-helldar/laravel-lang-publisher) - Easy installation and update of translation files for your project.
|
||||
|
||||
## Credits
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
# Security Policy
|
||||
|
||||
This project is text translations of Laravel project. So, this project doesn't need to have security policy.
|
||||
@@ -12,7 +12,6 @@
|
||||
"suggest": {
|
||||
"overtrue/laravel-lang": "Command to add languages in your project",
|
||||
"arcanedev/laravel-lang": "Translations manager and checker for Laravel 5",
|
||||
"ablunier/laravel-lang-installer": "Command for easily add languages to a Laravel project",
|
||||
"andrey-helldar/laravel-lang-publisher": "Easy installation and update of translation files for your project"
|
||||
},
|
||||
"require": {
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"Before proceeding, please check your email for a verification link.": "Prieš tęsdami, patikrinkite savo el. pašto dežutę, ar nėra patvirtinimo nuorodos.",
|
||||
"click here to request another": "spauskite čia, kad gauti kitą",
|
||||
"Confirm Password": "Pakartokite slaptažodį",
|
||||
"Dashboard": "Pagrindinis puslapis",
|
||||
"E-Mail Address": "El. pašto adresas",
|
||||
"Error": "Klaida",
|
||||
"Forbidden": "Draudžiama",
|
||||
@@ -42,6 +43,7 @@
|
||||
"Unauthorized": "Neturite leidimo",
|
||||
"Verify Email Address": "El. pašto adreso patvirtinimas",
|
||||
"Verify Your Email Address": "Patvirtinkite savo el. pašto adresą",
|
||||
"You are logged in!": "Jūs esate prisijungęs!",
|
||||
"You are receiving this email because we received a password reset request for your account.": "Jūs gavote šį el. laišką, nes buvo išsiųsta jūsų paskyros slaptažodžio atstatymo užklausa.",
|
||||
"Whoops!": "Ups!",
|
||||
"Whoops, something went wrong on our servers.": "Ups, įvyko klaida.",
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"Before proceeding, please check your email for a verification link.": "Прежде чем продолжить, пожалуйста, проверьте ссылку подтверждения в своей электронной почте.",
|
||||
"click here to request another": "нажмите здесь, чтобы запросить еще раз",
|
||||
"Confirm Password": "Подтверждение пароля",
|
||||
"Dashboard": "Главная",
|
||||
"E-Mail Address": "E-Mail адрес",
|
||||
"Error": "Ошибка",
|
||||
"Forbidden": "Запрещено",
|
||||
@@ -49,6 +50,7 @@
|
||||
"Verify Email Address": "Подтвердить email-адрес",
|
||||
"Verify Your Email Address": "Подтвердите Ваш email-адрес",
|
||||
"We won't ask for your password again for a few hours.": "Мы не будем запрашивать Ваш пароль вновь в течение нескольких часов.",
|
||||
"You are logged in!": "Вы вошли в систему!",
|
||||
"You are receiving this email because we received a password reset request for your account.": "Вы получили это письмо, потому что мы получили запрос на сброс пароля для Вашей учетной записи.",
|
||||
"Whoops!": "Упс!",
|
||||
"Your email address is not verified.": "Ваш email адрес не подтвержден.",
|
||||
|
||||
File renamed without changes.
+6
-5
@@ -209,11 +209,12 @@ class TodoGenerator
|
||||
private function getTranslations(string $language, string $directory = __DIR__): array
|
||||
{
|
||||
return [
|
||||
'json' => $this->getJsonContent($language, $directory),
|
||||
'auth' => $this->getContent($language, $directory, 'auth.php'),
|
||||
'pagination' => $this->getContent($language, $directory, 'pagination.php'),
|
||||
'passwords' => $this->getContent($language, $directory, 'passwords.php'),
|
||||
'validation' => $this->getContent($language, $directory, 'validation.php'),
|
||||
'json' => $this->getJsonContent($language, $directory),
|
||||
'auth' => $this->getContent($language, $directory, 'auth.php'),
|
||||
'pagination' => $this->getContent($language, $directory, 'pagination.php'),
|
||||
'passwords' => $this->getContent($language, $directory, 'passwords.php'),
|
||||
'validation' => $this->getContent($language, $directory, 'validation.php'),
|
||||
'validation-inline' => $this->getContent($language, $directory, 'validation-inline.php'),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'يجب قبول :attribute.',
|
||||
'active_url' => ':attribute لا يُمثّل رابطًا صحيحًا.',
|
||||
'after' => 'يجب على :attribute أن يكون تاريخًا لاحقًا للتاريخ :date.',
|
||||
'after_or_equal' => ':attribute يجب أن يكون تاريخاً لاحقاً أو مطابقاً للتاريخ :date.',
|
||||
'alpha' => 'يجب أن لا يحتوي :attribute سوى على حروف.',
|
||||
'alpha_dash' => 'يجب أن لا يحتوي :attribute سوى على حروف، أرقام ومطّات.',
|
||||
'alpha_num' => 'يجب أن يحتوي :attribute على حروفٍ وأرقامٍ فقط.',
|
||||
'array' => 'يجب أن يكون :attribute ًمصفوفة.',
|
||||
'before' => 'يجب على :attribute أن يكون تاريخًا سابقًا للتاريخ :date.',
|
||||
'before_or_equal' => ':attribute يجب أن يكون تاريخا سابقا أو مطابقا للتاريخ :date.',
|
||||
'between' => [
|
||||
'numeric' => 'يجب أن تكون قيمة :attribute بين :min و :max.',
|
||||
'file' => 'يجب أن يكون حجم الملف :attribute بين :min و :max كيلوبايت.',
|
||||
'string' => 'يجب أن يكون عدد حروف النّص :attribute بين :min و :max.',
|
||||
'array' => 'يجب أن يحتوي :attribute على عدد من العناصر بين :min و :max.',
|
||||
],
|
||||
'boolean' => 'يجب أن تكون قيمة :attribute إما true أو false .',
|
||||
'confirmed' => 'حقل التأكيد غير مُطابق للحقل :attribute.',
|
||||
'date' => ':attribute ليس تاريخًا صحيحًا.',
|
||||
'date_equals' => 'يجب أن يكون :attribute مطابقاً للتاريخ :date.',
|
||||
'date_format' => 'لا يتوافق :attribute مع الشكل :format.',
|
||||
'different' => 'يجب أن يكون الحقلان :attribute و :other مُختلفين.',
|
||||
'digits' => 'يجب أن يحتوي :attribute على :digits رقمًا/أرقام.',
|
||||
'digits_between' => 'يجب أن يحتوي :attribute بين :min و :max رقمًا/أرقام .',
|
||||
'dimensions' => 'الـ :attribute يحتوي على أبعاد صورة غير صالحة.',
|
||||
'distinct' => 'للحقل :attribute قيمة مُكرّرة.',
|
||||
'email' => 'يجب أن يكون :attribute عنوان بريد إلكتروني صحيح البُنية.',
|
||||
'ends_with' => 'يجب أن ينتهي :attribute بأحد القيم التالية: :values',
|
||||
'exists' => 'القيمة المحددة :attribute غير موجودة.',
|
||||
'file' => 'الـ :attribute يجب أن يكون ملفا.',
|
||||
'filled' => ':attribute إجباري.',
|
||||
'gt' => [
|
||||
'numeric' => 'يجب أن تكون قيمة :attribute أكبر من :value.',
|
||||
'file' => 'يجب أن يكون حجم الملف :attribute أكبر من :value كيلوبايت.',
|
||||
'string' => 'يجب أن يكون طول النّص :attribute أكثر من :value حروفٍ/حرفًا.',
|
||||
'array' => 'يجب أن يحتوي :attribute على أكثر من :value عناصر/عنصر.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'يجب أن تكون قيمة :attribute مساوية أو أكبر من :value.',
|
||||
'file' => 'يجب أن يكون حجم الملف :attribute على الأقل :value كيلوبايت.',
|
||||
'string' => 'يجب أن يكون طول النص :attribute على الأقل :value حروفٍ/حرفًا.',
|
||||
'array' => 'يجب أن يحتوي :attribute على الأقل على :value عُنصرًا/عناصر.',
|
||||
],
|
||||
'image' => 'يجب أن يكون :attribute صورةً.',
|
||||
'in' => ':attribute غير موجود.',
|
||||
'in_array' => ':attribute غير موجود في :other.',
|
||||
'integer' => 'يجب أن يكون :attribute عددًا صحيحًا.',
|
||||
'ip' => 'يجب أن يكون :attribute عنوان IP صحيحًا.',
|
||||
'ipv4' => 'يجب أن يكون :attribute عنوان IPv4 صحيحًا.',
|
||||
'ipv6' => 'يجب أن يكون :attribute عنوان IPv6 صحيحًا.',
|
||||
'json' => 'يجب أن يكون :attribute نصًا من نوع JSON.',
|
||||
'lt' => [
|
||||
'numeric' => 'يجب أن تكون قيمة :attribute أصغر من :value.',
|
||||
'file' => 'يجب أن يكون حجم الملف :attribute أصغر من :value كيلوبايت.',
|
||||
'string' => 'يجب أن يكون طول النّص :attribute أقل من :value حروفٍ/حرفًا.',
|
||||
'array' => 'يجب أن يحتوي :attribute على أقل من :value عناصر/عنصر.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'يجب أن تكون قيمة :attribute مساوية أو أصغر من :value.',
|
||||
'file' => 'يجب أن لا يتجاوز حجم الملف :attribute :value كيلوبايت.',
|
||||
'string' => 'يجب أن لا يتجاوز طول النّص :attribute :value حروفٍ/حرفًا.',
|
||||
'array' => 'يجب أن لا يحتوي :attribute على أكثر من :value عناصر/عنصر.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'يجب أن تكون قيمة :attribute مساوية أو أصغر من :max.',
|
||||
'file' => 'يجب أن لا يتجاوز حجم الملف :attribute :max كيلوبايت.',
|
||||
'string' => 'يجب أن لا يتجاوز طول النّص :attribute :max حروفٍ/حرفًا.',
|
||||
'array' => 'يجب أن لا يحتوي :attribute على أكثر من :max عناصر/عنصر.',
|
||||
],
|
||||
'mimes' => 'يجب أن يكون ملفًا من نوع : :values.',
|
||||
'mimetypes' => 'يجب أن يكون ملفًا من نوع : :values.',
|
||||
'min' => [
|
||||
'numeric' => 'يجب أن تكون قيمة :attribute مساوية أو أكبر من :min.',
|
||||
'file' => 'يجب أن يكون حجم الملف :attribute على الأقل :min كيلوبايت.',
|
||||
'string' => 'يجب أن يكون طول النص :attribute على الأقل :min حروفٍ/حرفًا.',
|
||||
'array' => 'يجب أن يحتوي :attribute على الأقل على :min عُنصرًا/عناصر.',
|
||||
],
|
||||
'not_in' => 'العنصر :attribute غير صحيح.',
|
||||
'not_regex' => 'صيغة :attribute غير صحيحة.',
|
||||
'numeric' => 'يجب على :attribute أن يكون رقمًا.',
|
||||
'password' => 'كلمة المرور غير صحيحة.',
|
||||
'present' => 'يجب تقديم :attribute.',
|
||||
'regex' => 'صيغة :attribute .غير صحيحة.',
|
||||
'required' => ':attribute مطلوب.',
|
||||
'required_if' => ':attribute مطلوب في حال ما إذا كان :other يساوي :value.',
|
||||
'required_unless' => ':attribute مطلوب في حال ما لم يكن :other يساوي :values.',
|
||||
'required_with' => ':attribute مطلوب إذا توفّر :values.',
|
||||
'required_with_all' => ':attribute مطلوب إذا توفّر :values.',
|
||||
'required_without' => ':attribute مطلوب إذا لم يتوفّر :values.',
|
||||
'required_without_all' => ':attribute مطلوب إذا لم يتوفّر :values.',
|
||||
'same' => 'يجب أن يتطابق :attribute مع :other.',
|
||||
'size' => [
|
||||
'numeric' => 'يجب أن تكون قيمة :attribute مساوية لـ :size.',
|
||||
'file' => 'يجب أن يكون حجم الملف :attribute :size كيلوبايت.',
|
||||
'string' => 'يجب أن يحتوي النص :attribute على :size حروفٍ/حرفًا بالضبط.',
|
||||
'array' => 'يجب أن يحتوي :attribute على :size عنصرٍ/عناصر بالضبط.',
|
||||
],
|
||||
'starts_with' => 'يجب أن يبدأ :attribute بأحد القيم التالية: :values',
|
||||
'string' => 'يجب أن يكون :attribute نصًا.',
|
||||
'timezone' => 'يجب أن يكون :attribute نطاقًا زمنيًا صحيحًا.',
|
||||
'unique' => 'قيمة :attribute مُستخدمة من قبل.',
|
||||
'uploaded' => 'فشل في تحميل الـ :attribute.',
|
||||
'url' => 'صيغة الرابط :attribute غير صحيحة.',
|
||||
'uuid' => ':attribute يجب أن يكون بصيغة UUID سليمة.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -155,7 +155,7 @@ return [
|
||||
'password_confirmation' => 'تأكيد كلمة المرور',
|
||||
'city' => 'المدينة',
|
||||
'country' => 'الدولة',
|
||||
'address' => 'عنوان السكن',
|
||||
'address' => 'العنوان',
|
||||
'phone' => 'الهاتف',
|
||||
'mobile' => 'الجوال',
|
||||
'age' => 'العمر',
|
||||
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'این مقدار باید پذیرفته شده باشد.',
|
||||
'active_url' => 'این مقدار یک آدرس معتبر نیست.',
|
||||
'after' => 'این مقدار باید یک تاریخ بعد از :date باشد.',
|
||||
'after_or_equal' => 'این مقدار باید یک تاریخ مساوی یا بعد از :date باشد.',
|
||||
'alpha' => 'این مقدار تنها میتواند شامل حروف باشد.',
|
||||
'alpha_dash' => 'این مقدار تنها میتواند شامل حروف، اعداد، خط تیره و زیرخط باشد.',
|
||||
'alpha_num' => 'این مقداز تنها میتواند شامل حروف و اعداد باشد.',
|
||||
'array' => 'این مقدار باید یک آرایه باشد.',
|
||||
'before' => 'این مقدار باید یک تاریخ قبل از :date باشد.',
|
||||
'before_or_equal' => 'این مقدار باید یک تاریخ مساوی یا قبل از :date باشد.',
|
||||
'between' => [
|
||||
'numeric' => 'این مقدار باید بین :min و :max باشد.',
|
||||
'file' => 'حجم این فایل باید بین :min و :max کیلوبایت باشد.',
|
||||
'string' => 'این رشته باید بین :min و :max حرف داشته باشد.',
|
||||
'array' => 'این مقدار باید بین :min و :max گزینه داشته باشد.',
|
||||
],
|
||||
'boolean' => 'این مقدار باید حتما true و یا false باشد.',
|
||||
'confirmed' => 'با مقدار تکرار همخوانی ندارد.',
|
||||
'date' => 'این مقدار یک تاریخ معبتر نیست.',
|
||||
'date_equals' => 'این مقدار باید یک تاریخ مساوی با :date باشد.',
|
||||
'date_format' => 'این مقدار با فرمت :format همخوانی ندارد.',
|
||||
'different' => 'این مقدار باید متفاوت از :other باشد.',
|
||||
'digits' => 'این مقدار باید :digits رقمی باشد.',
|
||||
'digits_between' => 'تعداد ارقام این مقدار باید بین :min و :max باشد.',
|
||||
'dimensions' => 'ابعاد این عکس نامعتبر است.',
|
||||
'distinct' => 'مقدار این ورودی تکراری است.',
|
||||
'email' => 'این مقدار باید یک آدرس ایمیل معتبر باشد.',
|
||||
'ends_with' => 'این مقدار باید با یکی از عبارت های روبرو پایان یابد: :values.',
|
||||
'exists' => 'مقدار انتخابی نا معتبر است.',
|
||||
'file' => 'این ورودی باید یک فایل باشد.',
|
||||
'filled' => 'این ورودی باید یک مقدار داشته باشد.',
|
||||
'gt' => [
|
||||
'numeric' => 'مقدار ورودی باید بزرگتر از :value باشد.',
|
||||
'file' => 'حجم فایل ورودی باید بزرگتر از :value کیلوبایت باشد.',
|
||||
'string' => 'تعداد حروف رشته ورودی باید بیشتر از :value باشد.',
|
||||
'array' => 'مقدار ورودی باید بیشتر از :value گزینه داشته باشد.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'مقدار ورودی باید بزرگتر یا مساوی :value باشد.',
|
||||
'file' => 'حجم فایل ورودی باید بیشتر یا مساوی :value کیلوبایت باشد.',
|
||||
'string' => 'تعداد حروف رشته ورودی باید بیشتر یا مساوی :value باشد.',
|
||||
'array' => 'مقدار ورودی باید :value گزینه یا بیشتر داشته باشد.',
|
||||
],
|
||||
'image' => 'این مقدار باید یک عکس باشد.',
|
||||
'in' => 'مقدار انتخابی نامعتبر است.',
|
||||
'in_array' => 'این مقدار در :other موجود نیست.',
|
||||
'integer' => 'این مقدار باید یک عدد صحیح باشد.',
|
||||
'ip' => 'این مقدار باید یک آدرس IP معتبر باشد.',
|
||||
'ipv4' => 'این مقدار باید یک آدرس IPv4 معتبر باشد.',
|
||||
'ipv6' => 'این مقدار باید یک آدرس IPv6 معتبر باشد.',
|
||||
'json' => 'این مقدار باید یک رشته معتبر JSON باشد.',
|
||||
'lt' => [
|
||||
'numeric' => 'مقدار ورودی باید کمتر از :value باشد.',
|
||||
'file' => 'حجم فایل ورودی باید کمتر از :value کیلوبایت باشد.',
|
||||
'string' => 'تعداد حروف رشته ورودی باید کمتر از :value باشد.',
|
||||
'array' => 'مقدار ورودی باید کمتر از :value گزینه داشته باشد.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'مقدار ورودی باید کمتر یا مساوی :value باشد.',
|
||||
'file' => 'حجم فایل ورودی باید کمتر یا مساوی :value کیلوبایت باشد.',
|
||||
'string' => 'تعداد حروف رشته ورودی باید کمتر یا مساوی :value باشد.',
|
||||
'array' => 'مقدار ورودی باید :value گزینه یا کمتر داشته باشد.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'مقدار ورودی نباید بزرگتر از :max باشد.',
|
||||
'file' => 'حجم فایل ورودی نباید بیشتر از :max کیلوبایت باشد.',
|
||||
'string' => 'تعداد حروف رشته ورودی نباید بیشتر از :max باشد.',
|
||||
'array' => 'مقدار ورودی نباید بیشتر از :max گزینه داشته باشد.',
|
||||
],
|
||||
'mimes' => 'این مقدار باید یک فایل از این انواع باشد: :values.',
|
||||
'mimetypes' => 'این مقدار باید یک فایل از این انواع باشد: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'مقدار ورودی باید حداقل :min باشد.',
|
||||
'file' => 'حجم فایل ورودی باید حداقل :min کیلوبایت باشد.',
|
||||
'string' => 'رشته ورودی باید حداقل :min حرف داشته باشد.',
|
||||
'array' => 'مقدار ورودی باید حداقل :min گزینه داشته باشد.',
|
||||
],
|
||||
'not_in' => 'گزینه انتخابی نامعتبر است.',
|
||||
'not_regex' => 'این فرمت نامعتبر است.',
|
||||
'numeric' => 'این مقدار باید عددی باشد.',
|
||||
'password' => 'رمزعبور اشتباه است.',
|
||||
'present' => 'این مقدار باید وارد شده باشد.',
|
||||
'regex' => 'این فرمت نامعتبر است.',
|
||||
'required' => 'این مقدار ضروری است.',
|
||||
'required_if' => 'این مقدار ضروری است وقتی که :other برابر :value است.',
|
||||
'required_unless' => 'این مقدار ضروری است مگر اینکه :other برابر :values باشد.',
|
||||
'required_with' => 'این مقدار ضروری است وقتی که :values وارد شده باشد.',
|
||||
'required_with_all' => 'این مقدار ضروری است وقتی که مقادیر :values وارد شده باشند.',
|
||||
'required_without' => 'این مقدار ضروری است وقتی که :values وارد نشده باشد.',
|
||||
'required_without_all' => 'این مقدار ضروری است وقتی که هیچکدام از :values وارد نشده باشند.',
|
||||
'same' => 'مقدار این ورودی باید یکی از مقدار های :other باشد.',
|
||||
'size' => [
|
||||
'numeric' => 'مقدار ورودی باید :size باشد.',
|
||||
'file' => 'حجم فایل ورودی باید :size کیلوبایت باشد.',
|
||||
'string' => 'طول رشته ورودی باید :size حرف باشد.',
|
||||
'array' => 'مقدار ورودی باید :size گزینه داشته باشد.',
|
||||
],
|
||||
'starts_with' => 'این مقدار باید با یکی از گزینه های روبرو شروع شود: :values.',
|
||||
'string' => 'این مقدار باید یک رشته باشد.',
|
||||
'timezone' => 'این مقدار باید یک منطقه زمانی باشد.',
|
||||
'unique' => 'این مقدار قبلا استفاده شده.',
|
||||
'uploaded' => 'این ورودی بارگزاری نشد.',
|
||||
'url' => 'این فرمت نامعتبر است.',
|
||||
'uuid' => 'این مقدار باید یک UUID معتبر باشد.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,180 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'Ce champ doit être accepté.',
|
||||
'active_url' => "Ce n'est pas une URL valide",
|
||||
'after' => 'La date doit être postérieure au :date.',
|
||||
'after_or_equal' => 'La date doit être postérieure ou égale au :date.',
|
||||
'alpha' => 'Ce champ doit contenir uniquement des lettres',
|
||||
'alpha_dash' => 'Ce champ doit contenir uniquement des lettres, des chiffres et des tirets.',
|
||||
'alpha_num' => 'Ce champ doit contenir uniquement des chiffres et des lettres.',
|
||||
'array' => 'Ce champ doit être un tableau.',
|
||||
'before' => 'Ce champ doit être une date antérieure au :date.',
|
||||
'before_or_equal' => 'Ce champ doit être une date antérieure ou égale au :date.',
|
||||
'between' => [
|
||||
'numeric' => 'La valeur doit être comprise entre :min et :max.',
|
||||
'file' => 'La taille du fichier doit être comprise entre :min et :max kilo-octets.',
|
||||
'string' => 'Le texte doit contenir entre :min et :max caractères.',
|
||||
'array' => 'Le tableau doit contenir entre :min et :max éléments.',
|
||||
],
|
||||
'boolean' => 'Ce champ doit être vrai ou faux.',
|
||||
'confirmed' => 'Le champ de confirmation ne correspond pas.',
|
||||
'date' => "Ce n'est pas une date valide.",
|
||||
'date_equals' => 'La date doit être égale à :date.',
|
||||
'date_format' => 'Ce champ ne correspond pas au format :format.',
|
||||
'different' => 'Cette valeur doit être différente de :other.',
|
||||
'digits' => 'Ce champ doit contenir :digits chiffres.',
|
||||
'digits_between' => 'Ce champ doit contenir entre :min et :max chiffres.',
|
||||
'dimensions' => "La taille de l'image n'est pas conforme.",
|
||||
'distinct' => 'Ce champ a une valeur en double.',
|
||||
'email' => 'Ce champ doit être une adresse email valide.',
|
||||
'ends_with' => 'Ce champ doit se terminer par une des valeurs suivantes : :values',
|
||||
'exists' => 'Ce champ sélectionné est invalide.',
|
||||
'file' => 'Ce champ doit être un fichier.',
|
||||
'filled' => 'Ce champ doit avoir une valeur.',
|
||||
'gt' => [
|
||||
'numeric' => 'La valeur doit être supérieure à :value.',
|
||||
'file' => 'La taille du fichier doit être supérieure à :value kilo-octets.',
|
||||
'string' => 'Le texte doit contenir plus de :value caractères.',
|
||||
'array' => 'Le tableau doit contenir plus de :value éléments.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'La valeur doit être supérieure ou égale à :value.',
|
||||
'file' => 'La taille du fichier doit être supérieure ou égale à :value kilo-octets.',
|
||||
'string' => 'Le texte doit contenir au moins :value caractères.',
|
||||
'array' => 'Le tableau doit contenir au moins :value éléments.',
|
||||
],
|
||||
'image' => 'Ce champ doit être une image.',
|
||||
'in' => 'Ce champ est invalide.',
|
||||
'in_array' => "Ce champ n'existe pas dans :other.",
|
||||
'integer' => 'Ce champ doit être un entier.',
|
||||
'ip' => 'Ce champ doit être une adresse IP valide.',
|
||||
'ipv4' => 'Ce champ doit être une adresse IPv4 valide.',
|
||||
'ipv6' => 'Ce champ doit être une adresse IPv6 valide.',
|
||||
'json' => 'Ce champ doit être un document JSON valide.',
|
||||
'lt' => [
|
||||
'numeric' => 'La valeur doit être inférieure à :value.',
|
||||
'file' => 'La taille du fichier doit être inférieure à :value kilo-octets.',
|
||||
'string' => 'Le texte doit contenir moins de :value caractères.',
|
||||
'array' => 'Le tableau doit contenir moins de :value éléments.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'La valeur doit être inférieure ou égale à :value.',
|
||||
'file' => 'La taille du fichier doit être inférieure ou égale à :value kilo-octets.',
|
||||
'string' => 'Le texte doit contenir au plus :value caractères.',
|
||||
'array' => 'Le tableau doit contenir au plus :value éléments.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'La valeur ne peut être supérieure à :max.',
|
||||
'file' => 'La taille du fichier ne peut pas dépasser :max kilo-octets.',
|
||||
'string' => 'Le texte ne peut contenir plus de :max caractères.',
|
||||
'array' => 'Le tableau ne peut contenir plus de :max éléments.',
|
||||
],
|
||||
'mimes' => 'Le fichier doit être de type : :values.',
|
||||
'mimetypes' => 'Le fichier doit être de type : :values.',
|
||||
'min' => [
|
||||
'numeric' => 'La valeur doit être supérieure ou égale à :min.',
|
||||
'file' => 'La taille du fichier doit être supérieure à :min kilo-octets.',
|
||||
'string' => 'Le texte doit contenir au moins :min caractères.',
|
||||
'array' => 'Le tableau doit contenir au moins :min éléments.',
|
||||
],
|
||||
'not_in' => "Le champ sélectionné n'est pas valide.",
|
||||
'not_regex' => "Le format du champ n'est pas valide.",
|
||||
'numeric' => 'Ce champ doit contenir un nombre.',
|
||||
'password' => 'Le mot de passe est incorrect',
|
||||
'present' => 'Ce champ doit être présent.',
|
||||
'regex' => 'Le format du champ est invalide.',
|
||||
'required' => 'Ce champ est obligatoire.',
|
||||
'required_if' => 'Ce champ est obligatoire quand la valeur de :other est :value.',
|
||||
'required_unless' => 'Ce champ est obligatoire sauf si :other est :values.',
|
||||
'required_with' => 'Ce champ est obligatoire quand :values est présent.',
|
||||
'required_with_all' => 'Ce champ est obligatoire quand :values sont présents.',
|
||||
'required_without' => "Ce champ est obligatoire quand :values n'est pas présent.",
|
||||
'required_without_all' => "Ce champ est requis quand aucun de :values n'est présent.",
|
||||
'same' => 'Ce champ doit être identique à :other.',
|
||||
'size' => [
|
||||
'numeric' => 'La valeur doit être :size.',
|
||||
'file' => 'La taille du fichier doit être de :size kilo-octets.',
|
||||
'string' => 'Le texte doit contenir :size caractères.',
|
||||
'array' => 'Le tableau doit contenir :size éléments.',
|
||||
],
|
||||
'starts_with' => 'Ce champ doit commencer avec une des valeurs suivantes : :values',
|
||||
'string' => 'Ce champ doit être une chaîne de caractères.',
|
||||
'timezone' => 'Ce champ doit être un fuseau horaire valide.',
|
||||
'unique' => 'La valeur est déjà utilisée.',
|
||||
'uploaded' => "Le fichier n'a pu être téléversé.",
|
||||
'url' => "Le format de l'URL n'est pas valide.",
|
||||
'uuid' => 'Ce champ doit être un UUID valide',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Attributes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used to swap attribute place-holders
|
||||
| with something more reader friendly such as E-Mail Address instead
|
||||
| of "email". This simply helps us make messages a little cleaner.
|
||||
|
|
||||
*/
|
||||
|
||||
'attributes' => [
|
||||
'name' => 'nom',
|
||||
'username' => "nom d'utilisateur",
|
||||
'email' => 'adresse email',
|
||||
'first_name' => 'prénom',
|
||||
'last_name' => 'nom',
|
||||
'password' => 'mot de passe',
|
||||
'password_confirmation' => 'confirmation du mot de passe',
|
||||
'city' => 'ville',
|
||||
'country' => 'pays',
|
||||
'address' => 'adresse',
|
||||
'phone' => 'téléphone',
|
||||
'mobile' => 'portable',
|
||||
'age' => 'âge',
|
||||
'sex' => 'sexe',
|
||||
'gender' => 'genre',
|
||||
'day' => 'jour',
|
||||
'month' => 'mois',
|
||||
'year' => 'année',
|
||||
'hour' => 'heure',
|
||||
'minute' => 'minute',
|
||||
'second' => 'seconde',
|
||||
'title' => 'titre',
|
||||
'content' => 'contenu',
|
||||
'description' => 'description',
|
||||
'excerpt' => 'extrait',
|
||||
'date' => 'date',
|
||||
'time' => 'heure',
|
||||
'available' => 'disponible',
|
||||
'size' => 'taille',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
File renamed without changes.
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,145 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Языковые ресурсы для проверки значений
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Последующие языковые строки содержат сообщения по-умолчанию, используемые
|
||||
| классом, проверяющим значения (валидатором). Некоторые из правил имеют
|
||||
| несколько версий, например, size. Вы можете поменять их на любые
|
||||
| другие, которые лучше подходят для вашего приложения.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'Должно быть принято.',
|
||||
'active_url' => 'Недействительный URL.',
|
||||
'after' => 'Дата должна быть больше :date.',
|
||||
'after_or_equal' => 'Дата должна быть больше или равняться :date.',
|
||||
'alpha' => 'Здесь могут быть только буквы.',
|
||||
'alpha_dash' => 'Здесь могут быть только буквы, цифры, дефис и нижнее подчеркивание.',
|
||||
'alpha_num' => 'Здесь могут быть только буквы и цифры.',
|
||||
'array' => 'Здесь должен быть массив.',
|
||||
'before' => 'Дата здесь должна быть раньше :date.',
|
||||
'before_or_equal' => 'Дата здесь должна быть раньше или равняться :date.',
|
||||
'between' => [
|
||||
'numeric' => 'Значение должно быть между :min и :max.',
|
||||
'file' => 'Размер файла должен быть между :min и :max Килобайт(а).',
|
||||
'string' => 'Количество символов должно быть между :min и :max.',
|
||||
'array' => 'Количество элементов должно быть между :min и :max.',
|
||||
],
|
||||
'boolean' => 'Поле должно иметь значение логического типа.',
|
||||
'confirmed' => 'Не совпадает с подтверждением.',
|
||||
'date' => 'Не является датой.',
|
||||
'date_equals' => 'Дата должна быть равной :date.',
|
||||
'date_format' => 'Не соответствует формату :format.',
|
||||
'different' => 'Значение должно отличаться от :other',
|
||||
'digits' => 'Длина должна быть :digits.',
|
||||
'digits_between' => 'Длина должна быть между :min и :max.',
|
||||
'dimensions' => 'Изображение имеет недопустимые размеры.',
|
||||
'distinct' => 'Поле содержит повторяющееся значение.',
|
||||
'email' => 'Электронный адрес должен быть действительным.',
|
||||
'ends_with' => 'Должно заканчиваться одним из следующих значений: :values',
|
||||
'exists' => 'Выбранное значение некорректно.',
|
||||
'file' => 'Содержимое должно быть файлом.',
|
||||
'filled' => 'Обязательно для заполнения.',
|
||||
'gt' => [
|
||||
'numeric' => 'Значение должно быть больше :value.',
|
||||
'file' => 'Размер файла должен быть больше :value Килобайт(а).',
|
||||
'string' => 'Количество символов должно быть больше :value.',
|
||||
'array' => 'Количество элементов должно быть больше :value.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'Значение должно быть :value или больше.',
|
||||
'file' => 'Размер файла должен быть :value Килобайт(а) или больше.',
|
||||
'string' => 'Количество символов должно быть :value или больше.',
|
||||
'array' => 'Количество элементов должно быть :value или больше.',
|
||||
],
|
||||
'image' => 'Здесь должно быть изображение.',
|
||||
'in' => 'Выбранное значение ошибочно.',
|
||||
'in_array' => 'Значение не существует в :other.',
|
||||
'integer' => 'Должно быть целое число.',
|
||||
'ip' => 'Должен быть действительный IP-адрес.',
|
||||
'ipv4' => 'Должен быть действительный IPv4-адрес.',
|
||||
'ipv6' => 'Должен быть действительный IPv6-адрес.',
|
||||
'json' => 'Должно быть JSON строкой.',
|
||||
'lt' => [
|
||||
'numeric' => 'Значение должно быть меньше :value.',
|
||||
'file' => 'Размер файла должен быть меньше :value Килобайт(а).',
|
||||
'string' => 'Количество символов должно быть меньше :value.',
|
||||
'array' => 'Количество элементов должно быть меньше :value.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'Значение должно быть :value или меньше.',
|
||||
'file' => 'Размер файла должен быть :value Килобайт(а) или меньше.',
|
||||
'string' => 'Количество символов должно быть :value или меньше.',
|
||||
'array' => 'Количество элементов должно быть :value или меньше.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'Значение не может быть больше :max.',
|
||||
'file' => 'Размер файла не может быть больше :max Килобайт(а).',
|
||||
'string' => 'Количество символов не может превышать :max.',
|
||||
'array' => 'Количество элементов не может превышать :max.',
|
||||
],
|
||||
'mimes' => 'Должен быть файл одного из следующих типов: :values.',
|
||||
'mimetypes' => 'Должен быть файл одного из следующих типов: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'Значение должно быть не меньше :min.',
|
||||
'file' => 'Размер файла должен быть не меньше :min Килобайт(а).',
|
||||
'string' => 'Количество символов должно быть не меньше :min.',
|
||||
'array' => 'Количество элементов должно быть не меньше :min.',
|
||||
],
|
||||
'not_in' => 'Выбранное значение ошибочно.',
|
||||
'not_regex' => 'Выбранный формат ошибочный.',
|
||||
'numeric' => 'Здесь должно быть число.',
|
||||
'password' => 'Неверный пароль.',
|
||||
'present' => 'Значение должно быть.',
|
||||
'regex' => 'Ошибочный формат.',
|
||||
'required' => 'Обязательно для заполнения.',
|
||||
'required_if' => 'Обязательно для заполнения, когда :other равно :value.',
|
||||
'required_unless' => 'Обязательно для заполнения, когда :other не равно :values.',
|
||||
'required_with' => 'Обязательно для заполнения, когда :values указано.',
|
||||
'required_with_all' => 'Обязательно для заполнения, когда :values указано.',
|
||||
'required_without' => 'Обязательно для заполнения, когда :values не указано.',
|
||||
'required_without_all' => 'Обязательно для заполнения, когда ни одно из :values не указано.',
|
||||
'same' => 'Значение должно совпадать с :other.',
|
||||
'size' => [
|
||||
'numeric' => 'Значение должно быть равным :size.',
|
||||
'file' => 'Размер файла должен быть равен :size Килобайт(а).',
|
||||
'string' => 'Количество символов должно быть равным :size.',
|
||||
'array' => 'Количество элементов должно быть равным :size.',
|
||||
],
|
||||
'starts_with' => 'Значение должно начинаться из одного из следующих значений: :values',
|
||||
'string' => 'Здесь должна быть строка.',
|
||||
'timezone' => 'Должен быть действительный часовой пояс.',
|
||||
'unique' => 'Такое значение уже существует.',
|
||||
'uploaded' => 'Загрузка не удалась.',
|
||||
'url' => 'Ошибочный формат URL.',
|
||||
'uuid' => 'Должен быть корректный UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Собственные языковые ресурсы для проверки значений
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Здесь Вы можете указать собственные сообщения для атрибутов.
|
||||
| Это позволяет легко указать свое сообщение для заданного правила атрибута.
|
||||
|
|
||||
| http://laravel.com/docs/validation#custom-error-messages
|
||||
| Пример использования
|
||||
|
|
||||
| 'custom' => [
|
||||
| 'email' => [
|
||||
| 'required' => 'Нам необходимо знать Ваш электронный адрес!',
|
||||
| ],
|
||||
| ],
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
];
|
||||
+19
-19
@@ -15,14 +15,14 @@ return [
|
||||
|
||||
'accepted' => 'Вы должны принять :attribute.',
|
||||
'active_url' => 'Поле :attribute содержит недействительный URL.',
|
||||
'after' => 'В поле :attribute должна быть дата после :date.',
|
||||
'after_or_equal' => 'В поле :attribute должна быть дата после или равняться :date.',
|
||||
'after' => 'В поле :attribute должна быть дата больше :date.',
|
||||
'after_or_equal' => 'В поле :attribute должна быть дата больше или равняться :date.',
|
||||
'alpha' => 'Поле :attribute может содержать только буквы.',
|
||||
'alpha_dash' => 'Поле :attribute может содержать только буквы, цифры, дефис и нижнее подчеркивание.',
|
||||
'alpha_num' => 'Поле :attribute может содержать только буквы и цифры.',
|
||||
'array' => 'Поле :attribute должно быть массивом.',
|
||||
'before' => 'В поле :attribute должна быть дата до :date.',
|
||||
'before_or_equal' => 'В поле :attribute должна быть дата до или равняться :date.',
|
||||
'before' => 'В поле :attribute должна быть дата раньше :date.',
|
||||
'before_or_equal' => 'В поле :attribute должна быть дата раньше или равняться :date.',
|
||||
'between' => [
|
||||
'numeric' => 'Поле :attribute должно быть между :min и :max.',
|
||||
'file' => 'Размер файла в поле :attribute должен быть между :min и :max Килобайт(а).',
|
||||
@@ -51,10 +51,10 @@ return [
|
||||
'array' => 'Количество элементов в поле :attribute должно быть больше :value.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'Поле :attribute должно быть больше или равно :value.',
|
||||
'file' => 'Размер файла в поле :attribute должен быть больше или равен :value Килобайт(а).',
|
||||
'string' => 'Количество символов в поле :attribute должно быть больше или равно :value.',
|
||||
'array' => 'Количество элементов в поле :attribute должно быть больше или равно :value.',
|
||||
'numeric' => 'Поле :attribute должно быть :value или больше.',
|
||||
'file' => 'Размер файла в поле :attribute должен быть :value Килобайт(а) или больше.',
|
||||
'string' => 'Количество символов в поле :attribute должно быть :value или больше.',
|
||||
'array' => 'Количество элементов в поле :attribute должно быть :value или больше.',
|
||||
],
|
||||
'image' => 'Поле :attribute должно быть изображением.',
|
||||
'in' => 'Выбранное значение для :attribute ошибочно.',
|
||||
@@ -71,24 +71,24 @@ return [
|
||||
'array' => 'Количество элементов в поле :attribute должно быть меньше :value.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'Поле :attribute должно быть меньше или равно :value.',
|
||||
'file' => 'Размер файла в поле :attribute должен быть меньше или равен :value Килобайт(а).',
|
||||
'string' => 'Количество символов в поле :attribute должно быть меньше или равно :value.',
|
||||
'array' => 'Количество элементов в поле :attribute должно быть меньше или равно :value.',
|
||||
'numeric' => 'Поле :attribute должно быть :value или меньше.',
|
||||
'file' => 'Размер файла в поле :attribute должен быть :value Килобайт(а) или меньше.',
|
||||
'string' => 'Количество символов в поле :attribute должно быть :value или меньше.',
|
||||
'array' => 'Количество элементов в поле :attribute должно быть :value или меньше.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'Поле :attribute не может быть более :max.',
|
||||
'file' => 'Размер файла в поле :attribute не может быть более :max Килобайт(а).',
|
||||
'numeric' => 'Поле :attribute не может быть больше :max.',
|
||||
'file' => 'Размер файла в поле :attribute не может быть больше :max Килобайт(а).',
|
||||
'string' => 'Количество символов в поле :attribute не может превышать :max.',
|
||||
'array' => 'Количество элементов в поле :attribute не может превышать :max.',
|
||||
],
|
||||
'mimes' => 'Поле :attribute должно быть файлом одного из следующих типов: :values.',
|
||||
'mimetypes' => 'Поле :attribute должно быть файлом одного из следующих типов: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'Поле :attribute должно быть не менее :min.',
|
||||
'file' => 'Размер файла в поле :attribute должен быть не менее :min Килобайт(а).',
|
||||
'string' => 'Количество символов в поле :attribute должно быть не менее :min.',
|
||||
'array' => 'Количество элементов в поле :attribute должно быть не менее :min.',
|
||||
'numeric' => 'Поле :attribute должно быть не меньше :min.',
|
||||
'file' => 'Размер файла в поле :attribute должен быть не меньше :min Килобайт(а).',
|
||||
'string' => 'Количество символов в поле :attribute должно быть не меньше :min.',
|
||||
'array' => 'Количество элементов в поле :attribute должно быть не меньше :min.',
|
||||
],
|
||||
'not_in' => 'Выбранное значение для :attribute ошибочно.',
|
||||
'not_regex' => 'Выбранный формат для :attribute ошибочный.',
|
||||
@@ -115,7 +115,7 @@ return [
|
||||
'timezone' => 'Поле :attribute должно быть действительным часовым поясом.',
|
||||
'unique' => 'Такое значение поля :attribute уже существует.',
|
||||
'uploaded' => 'Загрузка поля :attribute не удалась.',
|
||||
'url' => 'Поле :attribute имеет ошибочный формат.',
|
||||
'url' => 'Поле :attribute имеет ошибочный формат URL.',
|
||||
'uuid' => 'Поле :attribute должно быть корректным UUID.',
|
||||
|
||||
/*
|
||||
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
File renamed without changes.
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'This field must be accepted.',
|
||||
'active_url' => 'This is not a valid URL.',
|
||||
'after' => 'This must be a date after :date.',
|
||||
'after_or_equal' => 'This must be a date after or equal to :date.',
|
||||
'alpha' => 'This field may only contain letters.',
|
||||
'alpha_dash' => 'This field may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'This field may only contain letters and numbers.',
|
||||
'array' => 'This field must be an array.',
|
||||
'before' => 'This must be a date before :date.',
|
||||
'before_or_equal' => 'This must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'This value must be between :min and :max.',
|
||||
'file' => 'This file must be between :min and :max kilobytes.',
|
||||
'string' => 'This string must be between :min and :max characters.',
|
||||
'array' => 'This content must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'This field must be true or false.',
|
||||
'confirmed' => 'The confirmation does not match.',
|
||||
'date' => 'This is not a valid date.',
|
||||
'date_equals' => 'This must be a date equal to :date.',
|
||||
'date_format' => 'This does not match the format :format.',
|
||||
'different' => 'This value must be different from :other.',
|
||||
'digits' => 'This must be :digits digits.',
|
||||
'digits_between' => 'This must be between :min and :max digits.',
|
||||
'dimensions' => 'This image has invalid dimensions.',
|
||||
'distinct' => 'This field has a duplicate value.',
|
||||
'email' => 'This must be a valid email address.',
|
||||
'ends_with' => 'This must end with one of the following: :values.',
|
||||
'exists' => 'The selected value is invalid.',
|
||||
'file' => 'The content must be a file.',
|
||||
'filled' => 'This field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The value must be greater than :value.',
|
||||
'file' => 'The file size must be greater than :value kilobytes.',
|
||||
'string' => 'The string must be greater than :value characters.',
|
||||
'array' => 'The content must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The value must be greater than or equal :value.',
|
||||
'file' => 'The file size must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The string must be greater than or equal :value characters.',
|
||||
'array' => 'The content must have :value items or more.',
|
||||
],
|
||||
'image' => 'This must be an image.',
|
||||
'in' => 'The selected value is invalid.',
|
||||
'in_array' => 'This value does not exist in :other.',
|
||||
'integer' => 'This must be an integer.',
|
||||
'ip' => 'This must be a valid IP address.',
|
||||
'ipv4' => 'This must be a valid IPv4 address.',
|
||||
'ipv6' => 'This must be a valid IPv6 address.',
|
||||
'json' => 'This must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The value must be less than :value.',
|
||||
'file' => 'The file size must be less than :value kilobytes.',
|
||||
'string' => 'The string must be less than :value characters.',
|
||||
'array' => 'The content must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The value must be less than or equal :value.',
|
||||
'file' => 'The file size must be less than or equal :value kilobytes.',
|
||||
'string' => 'The string must be less than or equal :value characters.',
|
||||
'array' => 'The content must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The value may not be greater than :max.',
|
||||
'file' => 'The file size may not be greater than :max kilobytes.',
|
||||
'string' => 'The string may not be greater than :max characters.',
|
||||
'array' => 'The content may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'This must be a file of type: :values.',
|
||||
'mimetypes' => 'This must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The value must be at least :min.',
|
||||
'file' => 'The file size must be at least :min kilobytes.',
|
||||
'string' => 'The string must be at least :min characters.',
|
||||
'array' => 'The value must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected value is invalid.',
|
||||
'not_regex' => 'This format is invalid.',
|
||||
'numeric' => 'This must be a number.',
|
||||
'password' => 'The password is incorrect.',
|
||||
'present' => 'This field must be present.',
|
||||
'regex' => 'This format is invalid.',
|
||||
'required' => 'This field is required.',
|
||||
'required_if' => 'This field is required when :other is :value.',
|
||||
'required_unless' => 'This field is required unless :other is in :values.',
|
||||
'required_with' => 'This field is required when :values is present.',
|
||||
'required_with_all' => 'This field is required when :values are present.',
|
||||
'required_without' => 'This field is required when :values is not present.',
|
||||
'required_without_all' => 'This field is required when none of :values are present.',
|
||||
'same' => 'The value of this field must match the one from :other.',
|
||||
'size' => [
|
||||
'numeric' => 'The value must be :size.',
|
||||
'file' => 'The file size must be :size kilobytes.',
|
||||
'string' => 'The string must be :size characters.',
|
||||
'array' => 'The content must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'This must start with one of the following: :values.',
|
||||
'string' => 'This must be a string.',
|
||||
'timezone' => 'This must be a valid zone.',
|
||||
'unique' => 'This has already been taken.',
|
||||
'uploaded' => 'This failed to upload.',
|
||||
'url' => 'This format is invalid.',
|
||||
'uuid' => 'This must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loaded 100 of 120 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user