return [
// Standard laravel validation lines
- 'accepted' => 'The :attribute must be accepted.',
- 'active_url' => 'The :attribute is not a valid URL.',
- 'after' => 'The :attribute must be a date after :date.',
- 'alpha' => 'The :attribute may only contain letters.',
- 'alpha_dash' => 'The :attribute may only contain letters, numbers, dashes and underscores.',
- 'alpha_num' => 'The :attribute may only contain letters and numbers.',
- 'array' => 'The :attribute must be an array.',
- 'before' => 'The :attribute must be a date before :date.',
+ 'accepted' => ':attribute mora biti potrjen.',
+ 'active_url' => ':attribute ni veljaven URL.',
+ 'after' => ':attribute mora biti datum po :date.',
+ 'alpha' => ':attribute lahko vsebuje samo črke.',
+ 'alpha_dash' => ':attribute lahko vsebuje samo ?rke, ?tevilke in ?rtice.',
+ 'alpha_num' => ':attribute lahko vsebuje samo črke in številke.',
+ 'array' => ':attribute mora biti niz.',
+ 'before' => ':attribute mora biti datum pred :date.',
'between' => [
- 'numeric' => 'The :attribute must be between :min and :max.',
- 'file' => 'The :attribute must be between :min and :max kilobytes.',
- 'string' => 'The :attribute must be between :min and :max characters.',
- 'array' => 'The :attribute must have between :min and :max items.',
+ 'numeric' => ':attribute mora biti med :min in :max.',
+ 'file' => ':attribute mora biti med :min in :max kilobajti.',
+ 'string' => ':attribute mora biti med :min in :max znaki.',
+ 'array' => ':attribute mora imeti med :min in :max elementov.',
],
- 'boolean' => 'The :attribute field must be true or false.',
- 'confirmed' => 'The :attribute confirmation does not match.',
- 'date' => 'The :attribute is not a valid date.',
- 'date_format' => 'The :attribute does not match the format :format.',
- 'different' => 'The :attribute and :other must be different.',
- 'digits' => 'The :attribute must be :digits digits.',
- 'digits_between' => 'The :attribute must be between :min and :max digits.',
- 'email' => 'The :attribute must be a valid email address.',
- 'ends_with' => 'The :attribute must end with one of the following: :values',
- 'filled' => 'The :attribute field is required.',
+ 'boolean' => ':attribute polje mora biti pravilno ali napačno.',
+ 'confirmed' => ':attribute potrditev se ne ujema.',
+ 'date' => ':attribute ni veljaven datum.',
+ 'date_format' => ':attribute se ne ujema z obliko :format.',
+ 'different' => ':attribute in :other morata biti različna.',
+ 'digits' => 'Atribut mora biti: števnik.',
+ 'digits_between' => ':attribute mora biti med :min in :max števkami.',
+ 'email' => ':attribute mora biti veljaven e-naslov.',
+ 'ends_with' => 'The :attribute se mora končati z eno od določenih: :vrednost/values',
+ 'filled' => 'Polje ne sme biti prazno.',
'gt' => [
- 'numeric' => 'The :attribute must be greater than :value.',
- 'file' => 'The :attribute must be greater than :value kilobytes.',
- 'string' => 'The :attribute must be greater than :value characters.',
- 'array' => 'The :attribute must have more than :value items.',
+ 'numeric' => ':attribute mora biti večji kot :vrednost.',
+ 'file' => ':attribute mora biti večji kot :vrednost kilobytes',
+ 'string' => ':attribute mora biti večji kot :vrednost znakov',
+ 'array' => ':attribute mora biti večji kot :vrednost znakov',
],
'gte' => [
- 'numeric' => 'The :attribute must be greater than or equal :value.',
- 'file' => 'The :attribute must be greater than or equal :value kilobytes.',
- 'string' => 'The :attribute must be greater than or equal :value characters.',
- 'array' => 'The :attribute must have :value items or more.',
+ 'numeric' => ':attribute mora biti večji kot ali enak :vrednost.',
+ 'file' => ':attribute mora biti večji kot ali enak :vrednost kilobytes',
+ 'string' => ':attribute mora biti večji kot ali enak :vrednost znakov',
+ 'array' => ':attribute mora imeti :vrednost znakov ali več',
],
- 'exists' => 'The selected :attribute is invalid.',
- 'image' => 'The :attribute must be an image.',
- 'image_extension' => 'The :attribute must have a valid & supported image extension.',
- 'in' => 'The selected :attribute is invalid.',
- 'integer' => 'The :attribute must be an integer.',
- 'ip' => 'The :attribute must be a valid IP address.',
- 'ipv4' => 'The :attribute must be a valid IPv4 address.',
- 'ipv6' => 'The :attribute must be a valid IPv6 address.',
- 'json' => 'The :attribute must be a valid JSON string.',
+ 'exists' => 'Izbrani atribut je neveljaven.',
+ 'image' => ':attribute mora biti slika.',
+ 'image_extension' => ':attribute mora imeti veljavno & podprto slikovno pripono',
+ 'in' => 'izbran :attribute je neveljaven.',
+ 'integer' => ':attribute mora biti celo število.',
+ 'ip' => ':attribute mora biti veljaven IP naslov.',
+ 'ipv4' => ':attribute mora biti veljaven IPv4 naslov.',
+ 'ipv6' => ':attribute mora biti veljaven IPv6 naslov.',
+ 'json' => ':attribute mora biti veljavna JSON povezava.',
'lt' => [
- 'numeric' => 'The :attribute must be less than :value.',
- 'file' => 'The :attribute must be less than :value kilobytes.',
- 'string' => 'The :attribute must be less than :value characters.',
- 'array' => 'The :attribute must have less than :value items.',
+ 'numeric' => ':attribute mora biti manj kot :vrednost.',
+ 'file' => ':attribute mora biti manj kot :vrednost kilobytes',
+ 'string' => ':attribute mora biti manj kot :vrednost znakov',
+ 'array' => ':attribute mora imeti manj kot :vrednost znakov',
],
'lte' => [
- 'numeric' => 'The :attribute must be less than or equal :value.',
- 'file' => 'The :attribute must be less than or equal :value kilobytes.',
- 'string' => 'The :attribute must be less than or equal :value characters.',
- 'array' => 'The :attribute must not have more than :value items.',
+ 'numeric' => ':attribute mora biti manj kot ali enak :vrednost.',
+ 'file' => ':attribute mora biti manj kot ali enak :vrednost kilobytes',
+ 'string' => ':attribute mora biti manj kot ali enak :vrednost znakov',
+ 'array' => ':attribute ne sme imeti več kot :vrednost elementov',
],
'max' => [
- 'numeric' => 'The :attribute may not be greater than :max.',
- 'file' => 'The :attribute may not be greater than :max kilobytes.',
- 'string' => 'The :attribute may not be greater than :max characters.',
- 'array' => 'The :attribute may not have more than :max items.',
+ 'numeric' => ':attribute ne sme biti večja od :max.',
+ 'file' => ':attribute ne sme biti večja od :max kilobytes.',
+ 'string' => 'Atribut naj ne bo večji od: max znakov.',
+ 'array' => ':attribute ne sme imeti več kot :max elementov.',
],
- 'mimes' => 'The :attribute must be a file of type: :values.',
+ 'mimes' => 'Atribut mora biti datoteka vrste:: vrednost.',
'min' => [
- 'numeric' => 'The :attribute must be at least :min.',
- 'file' => 'The :attribute must be at least :min kilobytes.',
- 'string' => 'The :attribute must be at least :min characters.',
- 'array' => 'The :attribute must have at least :min items.',
+ 'numeric' => ':attribute mora biti najmanj :min.',
+ 'file' => ':attribute mora biti najmanj :min KB.',
+ 'string' => ':attribute mora biti najmanj :min znakov.',
+ 'array' => ':attribute mora imeti vsaj :min elementov.',
],
- 'no_double_extension' => 'The :attribute must only have a single file extension.',
- 'not_in' => 'The selected :attribute is invalid.',
- 'not_regex' => 'The :attribute format is invalid.',
- 'numeric' => 'The :attribute must be a number.',
- 'regex' => 'The :attribute format is invalid.',
- 'required' => 'The :attribute field is required.',
- 'required_if' => 'The :attribute field is required when :other is :value.',
- 'required_with' => 'The :attribute field is required when :values is present.',
- 'required_with_all' => 'The :attribute field is required when :values is present.',
- 'required_without' => 'The :attribute field is required when :values is not present.',
- 'required_without_all' => 'The :attribute field is required when none of :values are present.',
- 'same' => 'The :attribute and :other must match.',
+ 'no_double_extension' => ':attribute mora imeti samo eno razširitveno datoteko',
+ 'not_in' => 'Izbrani atribut je neveljaven.',
+ 'not_regex' => ':attribute oblika ni veljavna.',
+ 'numeric' => 'Atribut mora biti število.',
+ 'regex' => ':attribute oblika ni veljavna.',
+ 'required' => 'Polje :attribute je obvezno.',
+ 'required_if' => 'Polje atributa je obvezno, če: drugo je: vrednost.',
+ 'required_with' => 'Polje atributa je obvezno, ko: so prisotne vrednosti.',
+ 'required_with_all' => 'Polje atributa je obvezno, ko: so prisotne vrednosti.',
+ 'required_without' => 'Polje atributa je obvezno, če: vrednosti niso prisotne.',
+ 'required_without_all' => 'Polje atributa je obvezno, če nobena od: vrednosti ni prisotna.',
+ 'same' => 'Atribut in: drugi se morajo ujemati.',
'size' => [
- 'numeric' => 'The :attribute must be :size.',
- 'file' => 'The :attribute must be :size kilobytes.',
- 'string' => 'The :attribute must be :size characters.',
- 'array' => 'The :attribute must contain :size items.',
+ 'numeric' => ':attribute mora biti :velikost.',
+ 'file' => ':attribute mora biti :velikost KB.',
+ 'string' => 'Atribut mora biti: velikost znakov.',
+ 'array' => ':attribute mora vsebovati :velikost elementov.',
],
- 'string' => 'The :attribute must be a string.',
- 'timezone' => 'The :attribute must be a valid zone.',
- 'unique' => 'The :attribute has already been taken.',
- 'url' => 'The :attribute format is invalid.',
- 'uploaded' => 'The file could not be uploaded. The server may not accept files of this size.',
+ 'string' => ':attribute mora biti niz.',
+ 'timezone' => ':attribute mora biti veljavna cona.',
+ 'unique' => ':attribute je že zaseden.',
+ 'url' => ':attribute oblika ni veljavna.',
+ 'uploaded' => 'Datoteke ni bilo mogoče naložiti. Strežnik morda ne sprejema datotek te velikosti.',
// Custom validation lines
'custom' => [
'password-confirm' => [
- 'required_with' => 'Password confirmation required',
+ 'required_with' => 'Potrditev gesla',
],
],