Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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 mora biti prihvaćen.',
- 'active_url' => ':Attribute nije važeći link.',
- 'after' => ':Attribute mora biti datum poslije :date.',
- 'after_or_equal' => ':Attribute mora biti datum poslije ili isti kao :date.',
- 'alpha' => ':Attribute mora sadržati samo slova.',
- 'alpha_dash' => ':Attribute mora sadržati samo slova, brojeve i crtice.',
- 'alpha_num' => ':Attribute mora sadržati samo slova i brojeve.',
- 'array' => ':Attribute mora biti niz.',
- 'before' => ':Attribute mora biti datum prije :date.',
- 'before_or_equal' => ':Attribute mora biti datum prije ili jeti kao :date.',
- 'between' => [
- 'numeric' => ':Attribute mora biti između :min i :max.',
- 'file' => ':Attribute mora biti između :min i :max kilobita.',
- 'string' => ':Attribute mora biti između :min i :max karaktera.',
- 'array' => ':Attribute mora imati između :min i :max stavki.',
- ],
- 'boolean' => ':Attribute nije jepravan.',
- 'confirmed' => ':Attribute potvrda se ne podudara.',
- 'date' => ':Attribute nije važeći datum.',
- 'date_format' => ':Attribute se ne podudara sa traženim formatom :format.',
- 'different' => ':Attribute i :other mora biti različit.',
- 'digits' => ':Attribute moraju biti :digits cifre.',
- 'digits_između' => ':Attribute mora biti između :min i :max digits.',
- 'dimensions' => ':Attribute sadrži nevažeće dimenzije fotografije.',
- 'djetinct' => ':Attribute polje ima dupliciranu vrijednost.',
- 'email' => ':Attribute mora biti važeća email adresa.',
- 'exjets' => 'Odabrani :attribute je nevažeći.',
- 'file' => ':Attribute mora biti dotateka.',
- 'filled' => ':Attribute polje mora biti popunjeno.',
- 'image' => ':Attribute mora biti slika.',
- 'in' => 'Odabrani :attribute je nevažeći.',
- 'in_array' => ':Attribute polje ne postoji u :other.',
- 'integer' => ':Attribute mora biti cijeli broj.',
- 'ip' => ':Attribute mora biti važeća IP adresa.',
- 'ipv4' => ':Attribute mora biti važeća IPv4 adresa.',
- 'ipv6' => ':Attribute mora biti važeća IPv6 adresa.',
- 'json' => ':Attribute mora biti važeći JSON niz.',
- 'max' => [
- 'numeric' => ':Attribute ne smije biti veći od :max.',
- 'file' => ':Attribute ne smije biti veći od :max kilobita.',
- 'string' => ':Attribute ne smije biti veći od :max karaktera.',
- 'array' => ':Attribute ne smije imati više od :max stavki.',
- ],
- 'mimes' => ':Attribute mora biti fajl formata :values.',
- 'mimetypes' => ':Attribute mora biti fajl formata :values.',
- 'min' => [
- 'numeric' => ':Attribute mora biti bar :min.',
- 'file' => ':Attribute mora biti bar :min kilobitas.',
- 'string' => ':Attribute mora biti bar :min karaktera.',
- 'array' => ':Attribute mora imati bar :min stavki.',
- ],
- 'not_in' => 'Odabrani :attribute je nevažeći.',
- 'not_regex' => ':Attribute format je nevažeći.',
- 'numeric' => ':Attribute mora biti a number.',
- 'present' => ':Attribute polje mora biti prisutno.',
- 'regex' => ':Attribute format je nevažeći.',
- 'required' => ':Attribute polje je potrebno.',
- 'required_if' => ':Attribute polje je potrebano kada :other je :value.',
- 'required_unless' => ':Attribute polje je potrebano ukoliko :other nije u :values.',
- 'required_with' => ':Attribute polje je potrebano kada :values je present.',
- 'required_with_all' => ':Attribute polje je potrebano kada :values je present.',
- 'required_without' => ':Attribute polje je potrebano kada :values je not present.',
- 'required_without_all' => ':Attribute polje je potrebano kada ni jedna od :values nisu prisutne.',
- 'same' => ':Attribute i :other se moraju podudarati.',
- 'size' => [
- 'numeric' => ':Attribute mora biti :size.',
- 'file' => ':Attribute mora biti :size kilobita.',
- 'string' => ':Attribute mora biti :size karaktera.',
- 'array' => ':Attribute mora sadržati :size stavku.',
- ],
- 'string' => ':Attribute mora biti niz.',
- 'timezone' => ':Attribute mora biti važeća vremenska zona.',
- 'unique' => ':Attribute je već zazeto.',
- 'uploaded' => ':Attribute neuspješan prenos.',
- 'url' => ':Attribute format je nevažeći.',
- /*
- |--------------------------------------------------------------------------
- | Custom Validation Language Lines
- |--------------------------------------------------------------------------
- |
- | Here you may specify custom validation messages for attributes using the
- | convention "attribute.rule" to name the lines. Thje 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 adresa instead
- | of "email". Thje simply helps us make messages a little cleaner.
- |
- */
- 'attributes' => [
- 'email' =>'E-mail',
- 'password' => 'lozinka'
- ],
- ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement