Skip to content

Commit

Permalink
feature: validation - file
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Delrieu committed Jul 1, 2016
1 parent 3924ed7 commit 100bd54
Show file tree
Hide file tree
Showing 55 changed files with 105 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
.DS_Store
.php_cs.cache
composer.lock
.phpintel
1 change: 1 addition & 0 deletions script/en/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'The :attribute must be a valid email address.',
'exists' => 'The selected :attribute is invalid.',
'file' => 'The :attribute must be a file.',
'filled' => 'The :attribute field is required.',
'image' => 'The :attribute must be an image.',
'in' => 'The selected :attribute is invalid.',
Expand Down
1 change: 1 addition & 0 deletions src/ar/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'للحقل :attribute قيمة مُكرّرة.',
'email' => 'يجب أن يكون :attribute عنوان بريد إلكتروني صحيح البُنية',
'exists' => 'الحقل :attribute لاغٍ',
'file' => 'The :attribute must be a file.',
'filled' => 'الحقل :attribute إجباري',
'image' => 'يجب أن يكون الحقل :attribute صورةً',
'in' => 'الحقل :attribute لاغٍ',
Expand Down
1 change: 1 addition & 0 deletions src/be/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'dimensions' => 'The :attribute has invalid image dimensions.',
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'Поле :attribute павінна быць сапраўдным электронным адрасам.',
'file' => 'The :attribute must be a file.',
'filled' => 'Поле :attribute абавязкова для запаўнення.',
'exists' => 'Выбранае значэнне для :attribute некарэктна.',
'image' => 'Поле :attribute павінна быць малюнкам.',
Expand Down
1 change: 1 addition & 0 deletions src/bg/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'Полето :attribute е в невалиден формат.',
'exists' => 'Избранато поле :attribute вече съществува.',
'file' => 'The :attribute must be a file.',
'filled' => 'Полето :attribute е задължително.',
'image' => 'Полето :attribute трябва да бъде изображение.',
'in' => 'Избраното поле :attribute е невалидно.',
Expand Down
1 change: 1 addition & 0 deletions src/bs/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'Format polja :attribute mora biti validan email.',
'exists' => 'Odabrano polje :attribute nije validno.',
'file' => 'The :attribute must be a file.',
'filled' => 'Polje :attribute je obavezno.',
'image' => 'Polje :attribute mora biti slika.',
'in' => 'Odabrano polje :attribute nije validno.',
Expand Down
1 change: 1 addition & 0 deletions src/ca/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'The :attribute field has a duplicate value.',
'email' => ':attribute no és un e-mail vàlid',
'exists' => ':attribute és invàlid.',
'file' => 'The :attribute must be a file.',
'filled' => 'El camp :attribute és obligatori.',
'image' => ':attribute ha de ser una imatge.',
'in' => ':attribute és invàlid',
Expand Down
1 change: 1 addition & 0 deletions src/cs/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'The :attribute field has a duplicate value.',
'email' => ':attribute není platný formát.',
'exists' => 'Zvolená hodnota pro :attribute není platná.',
'file' => 'The :attribute must be a file.',
'filled' => ':attribute musí být vyplněno.',
'image' => ':attribute musí být obrázek.',
'in' => 'Zvolená hodnota pro :attribute není platná.',
Expand Down
1 change: 1 addition & 0 deletions src/cy/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
'dimensions' => 'The :attribute has invalid image dimensions.',
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'Rhaid i :attribute fod yn gyfeiriad ebost dilys.',
'file' => 'The :attribute must be a file.',
'filled' => 'Rhaid cynnwys :attribute.',
'exists' => 'Nid yw :attribute yn ddilys.',
'image' => 'Rhaid i :attribute fod yn lun.',
Expand Down
1 change: 1 addition & 0 deletions src/da/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => ':attribute har en duplikatværdi.',
'email' => ':attribute skal være en gyldig e-mailadresse.',
'exists' => 'Det valgte :attribute er ugyldig.',
'file' => 'The :attribute must be a file.',
'filled' => ':attribute skal udfyldes.',
'image' => ':attribute skal være et billede.',
'in' => 'Det valgte :attribute er ugyldig.',
Expand Down
1 change: 1 addition & 0 deletions src/de/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'Das Feld :attribute beinhaltet einen bereits vorhandenen Wert.',
'email' => ':attribute Format ist ungültig.',
'exists' => 'Der gewählte Wert für :attribute ist ungültig.',
'file' => 'The :attribute must be a file.',
'filled' => ':attribute muss ausgefüllt sein.',
'image' => ':attribute muss ein Bild sein.',
'in' => 'Der gewählte Wert für :attribute ist ungültig.',
Expand Down
1 change: 1 addition & 0 deletions src/el/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
'dimensions' => 'The :attribute has invalid image dimensions.',
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'Το πεδίο :attribute πρέπει να είναι μία έγκυρη διεύθυνση email.',
'file' => 'The :attribute must be a file.',
'filled' => 'To πεδίο :attribute είναι απαραίτητο.',
'exists' => 'Το επιλεγμένο :attribute δεν είναι έγκυρο.',
'image' => 'Το πεδίο :attribute πρέπει να είναι εικόνα.',
Expand Down
1 change: 1 addition & 0 deletions src/es/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'El campo :attribute contiene un valor duplicado.',
'email' => ':attribute no es un correo válido',
'exists' => ':attribute es inválido.',
'file' => 'The :attribute must be a file.',
'filled' => 'El campo :attribute es obligatorio.',
'image' => ':attribute debe ser una imagen.',
'in' => ':attribute es inválido.',
Expand Down
1 change: 1 addition & 0 deletions src/fa/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'فیلد :attribute دارای یک مقدار تکراری می‌باشد.',
'email' => 'فرمت :attribute معتبر نیست.',
'exists' => ':attribute انتخاب شده، معتبر نیست.',
'file' => 'The :attribute must be a file.',
'filled' => 'فیلد :attribute الزامی است',
'image' => ':attribute باید تصویر باشد.',
'in' => ':attribute انتخاب شده، معتبر نیست.',
Expand Down
1 change: 1 addition & 0 deletions src/fi/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'The :attribute field has a duplicate value.',
'email' => ':attribute muoto on virheellinen.',
'exists' => 'valittu :attribute on virheellinen.',
'file' => 'The :attribute must be a file.',
'filled' => ':attribute kenttä on pakollinen.',
'image' => ':attribute pitää olla kuva.',
'in' => 'valittu :attribute on virheellinen.',
Expand Down
1 change: 1 addition & 0 deletions src/fr/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'Le champ :attribute a une valeur dupliquée.',
'email' => 'Le champ :attribute doit être une adresse e-mail valide.',
'exists' => 'Le champ :attribute sélectionné est invalide.',
'file' => 'Le champ :attribute doit être un fichier.',
'filled' => 'Le champ :attribute est obligatoire.',
'image' => 'Le champ :attribute doit être une image.',
'in' => 'Le champ :attribute est invalide.',
Expand Down
1 change: 1 addition & 0 deletions src/gl/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'The :attribute field has a duplicate value.',
'email' => ':attribute debe ser unha dirección de correo electrónico válida.',
'exists' => 'O :attribute seleccionado non é válido.',
'file' => 'The :attribute must be a file.',
'filled' => 'O campo :attribute é obrigatorio.',
'image' => ':attribute debe ser unha imaxe.',
'in' => 'O :attribute seleccionado non é válido.',
Expand Down
1 change: 1 addition & 0 deletions src/he/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'שדה :attribute קיים ערך כפול.',
'email' => 'שדה :attribute חייב להיות כתובת אימייל תקנית.',
'exists' => 'בחירת ה-:attribute אינה תקפה.',
'file' => 'The :attribute must be a file.',
'filled' => 'שדה :attribute הוא חובה.',
'image' => 'שדה :attribute חייב להיות תמונה.',
'in' => 'בחירת ה-:attribute אינה תקפה.',
Expand Down
1 change: 1 addition & 0 deletions src/hr/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'Polje :attribute mora biti ispravna e-mail adresa.',
'exists' => 'Odabrano polje :attribute nije ispravno.',
'file' => 'The :attribute must be a file.',
'filled' => 'The :attribute field is required.',
'image' => 'Polje :attribute mora biti slika.',
'in' => 'Odabrano polje :attribute nije ispravno.',
Expand Down
1 change: 1 addition & 0 deletions src/hu/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'A(z) :attribute értékének egyedinek kell lennie!',
'email' => 'A(z) :attribute nem érvényes email formátum.',
'exists' => 'A(z) :attribute már létezik.',
'file' => 'The :attribute must be a file.',
'filled' => 'A(z) :attribute megadása kötelező!',
'image' => 'A(z) :attribute képfájl kell, hogy legyen!',
'in' => 'A kiválasztott :attribute érvénytelen.',
Expand Down
1 change: 1 addition & 0 deletions src/id/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'Bidang isian :attribute memiliki nilai yang duplikat.',
'email' => 'Isian :attribute harus berupa alamat surel yang valid.',
'exists' => 'Isian :attribute yang dipilih tidak valid.',
'file' => 'The :attribute must be a file.',
'filled' => 'Bidang isian :attribute wajib diisi.',
'image' => 'Isian :attribute harus berupa gambar.',
'in' => 'Isian :attribute yang dipilih tidak valid.',
Expand Down
1 change: 1 addition & 0 deletions src/is/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
'dimensions' => 'The :attribute has invalid image dimensions.',
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'Reiturinn :attribute snið netfangsins er ekki rétt.',
'file' => 'The :attribute must be a file.',
'filled' => 'Reiturinn :attribute verður að innihalda eitthvað.',
'exists' => 'Reiturinn :attribute er nú þegar til.',
'image' => 'Reiturinn :attribute verður að vera mynd.',
Expand Down
1 change: 1 addition & 0 deletions src/it/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => ':attribute contiene un valore duplicato.',
'email' => ':attribute non è valido.',
'exists' => ':attribute selezionato/a non è valido.',
'file' => 'The :attribute must be a file.',
'filled' => 'Il campo :attribute è richiesto.',
'image' => ":attribute deve essere un'immagine.",
'in' => ':attribute selezionato non è valido.',
Expand Down
1 change: 1 addition & 0 deletions src/ja/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'The :attribute field has a duplicate value.',
'email' => ':attributeは、有効なメールアドレス形式で指定してください。',
'exists' => '選択された:attributeは、有効ではありません。',
'file' => 'The :attribute must be a file.',
'filled' => ':attributeは必須です。',
'image' => ':attributeには、画像を指定してください。',
'in' => '選択された:attributeは、有効ではありません。',
Expand Down
1 change: 1 addition & 0 deletions src/ka/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => ':attribute უნდა იყოს უნიკალური.',
'email' => ':attribute უნდა იყოს სწორი ელ.ფოსტა.',
'exists' => 'ასეთი :attribute არ არსებობს.',
'file' => 'The :attribute must be a file.',
'filled' => ':attribute აუცილებელია.',
'image' => ':attribute უნდა იყოს სურათი.',
'in' => 'მითითებული :attribute არასწორია.',
Expand Down
1 change: 1 addition & 0 deletions src/km/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'The :attribute field has a duplicate value.',
'email' => ':attribute ទំរង់នេះមិនត្រឹមត្រូវ។',
'exists' => 'ការជ្រើសរើស :attribute ត្រឹមត្រូវ។',
'file' => 'The :attribute must be a file.',
'filled' => 'ទំរង់ :attribute នេះគឺទាមទារឲ្យមាន។',
'image' => ':attribute ត្រូវតៃជារូបភាព។',
'in' => 'ការជ្រើសរើស :attribute មិនត្រឹមត្រូវ។',
Expand Down
1 change: 1 addition & 0 deletions src/ko/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'The :attribute field has a duplicate value.',
'email' => ':attribute 형식은 유효하지 않습니다.',
'exists' => '선택된 :attribute은(는) 유효하지 않습니다.',
'file' => 'The :attribute must be a file.',
'filled' => ':attribute 필드는 필수입니다.',
'image' => ':attribute은(는) 반드시 이미지여야 합니다.',
'in' => '선택된 :attribute은(는) 유효하지 않습니다.',
Expand Down
1 change: 1 addition & 0 deletions src/lt/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
'dimensions' => 'Lauke :attribute įkeltas paveiksliukas neatitinka išmatavimų reikalavimo.',
'distinct' => 'Laukas :attribute pasikartoja.',
'email' => 'Lauko :attribute reikšmė turi būti galiojantis el. pašto adresas.',
'file' => 'The :attribute must be a file.',
'filled' => 'Laukas :attribute turi būti užpildytas.',
'exists' => 'Pasirinkta negaliojanti :attribute reikšmė.',
'image' => 'Lauko :attribute reikšmė turi būti paveikslėlis.',
Expand Down
1 change: 1 addition & 0 deletions src/me/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'Polje :attribute nije jedinstveno.',
'email' => 'Format polja :attribute nije validan.',
'exists' => 'Odabrano polje :attribute nije validno.',
'file' => 'The :attribute must be a file.',
'filled' => 'Polje :attribute je obavezno.',
'image' => 'Polje :attribute mora biti slika.',
'in' => 'Odabrano polje :attribute nije validno.',
Expand Down
1 change: 1 addition & 0 deletions src/mk/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'Полето :attribute не е во валиден формат.',
'exists' => 'Избранато поле :attribute веќе постои.',
'file' => 'The :attribute must be a file.',
'filled' => 'Полето :attribute е задолжително.',
'image' => 'Полето :attribute мора да биде слика.',
'in' => 'Избраното поле :attribute е невалидно.',
Expand Down
1 change: 1 addition & 0 deletions src/ms/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => ':attribute adalah nilai yang berulang',
'email' => ':attribute tidak sah.',
'exists' => ':attribute tidak sah.',
'file' => 'The :attribute must be a file.',
'filled' => ':attribute diperlukan.',
'image' => ':attribute mesti imej.',
'in' => ':attribute tidak sah.',
Expand Down
1 change: 1 addition & 0 deletions src/nb/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'The :attribute field has a duplicate value.',
'email' => ':attribute format er ugyldig.',
'exists' => 'Det valgte :attribute er ugyldig.',
'file' => 'The :attribute must be a file.',
'filled' => ':attribute må fylles ut.',
'image' => ':attribute skal være et bilde.',
'in' => 'Det valgte :attribute er ugyldig.',
Expand Down
1 change: 1 addition & 0 deletions src/ne/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'The :attribute field has a duplicate value.',
'email' => ':attribute को इमेल ठेगाना मिलेन।',
'exists' => 'छानिएको :attribute अमान्य छ।',
'file' => 'The :attribute must be a file.',
'filled' => ':attribute दिइएको हुनुपर्छ।',
'image' => ':attribute मा फोटो हुनुपर्छ।',
'in' => 'छानिएको :attribute अमान्य छ।',
Expand Down
1 change: 1 addition & 0 deletions src/nl/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => ':attribute heeft een dubbele waarde.',
'email' => ':attribute is geen geldig e-mailadres.',
'exists' => ':attribute bestaat niet.',
'file' => 'The :attribute must be a file.',
'filled' => ':attribute is verplicht.',
'image' => ':attribute moet een afbeelding zijn.',
'in' => ':attribute is ongeldig.',
Expand Down
1 change: 1 addition & 0 deletions src/nn/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => ':attribute har ein duplikatverdi.',
'email' => ':attribute format er ugyldig.',
'exists' => 'Det valde :attribute er ugyldig.',
'file' => 'The :attribute must be a file.',
'filled' => ':attribute må fyllast ut.',
'image' => ':attribute skal vere eit bilete.',
'in' => 'Det valde :attribute er ugyldig.',
Expand Down
1 change: 1 addition & 0 deletions src/pl/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'Format :attribute jest nieprawidłowy.',
'exists' => 'Zaznaczony :attribute jest nieprawidłowy.',
'file' => 'The :attribute must be a file.',
'filled' => 'Pole :attribute jest wymagane.',
'image' => ':attribute musi być obrazkiem.',
'in' => 'Zaznaczony :attribute jest nieprawidłowy.',
Expand Down
1 change: 1 addition & 0 deletions src/pt-BR/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'distinct' => 'O campo :attribute contém um valor duplicado.',
'email' => 'O campo :attribute não contém um endereço de email válido.',
'exists' => 'O valor selecionado para o campo :attribute é inválido.',
'file' => 'The :attribute must be a file.',
'filled' => 'O campo :attribute é obrigatório.',
'image' => 'O campo :attribute deverá conter uma imagem.',
'in' => 'O campo :attribute não contém um valor válido.',
Expand Down
Loading

0 comments on commit 100bd54

Please sign in to comment.