mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-15 23:52:33 +01:00
122 lines
6.2 KiB
PHP
122 lines
6.2 KiB
PHP
<?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 sprejet.',
|
|
'active_url' => ':attribute ni pravilen.',
|
|
'after' => ':attribute mora biti za datumom :date.',
|
|
'after_or_equal' => 'The :attribute must be a date after or equal to :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 polje.',
|
|
'before' => ':attribute mora biti pred datumom :date.',
|
|
'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
|
|
'between' => [
|
|
'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' => ':attribute polje mora biti 1 ali 0',
|
|
'confirmed' => ':attribute potrditev se ne ujema.',
|
|
'date' => ':attribute ni veljaven datum.',
|
|
'date_format' => ':attribute se ne ujema z obliko :format.',
|
|
'different' => ':attribute in :other mora biti drugačen.',
|
|
'digits' => ':attribute mora imeti :digits cifer.',
|
|
'digits_between' => ':attribute mora biti med :min in :max ciframi.',
|
|
'dimensions' => 'The :attribute has invalid image dimensions.',
|
|
'distinct' => 'The :attribute field has a duplicate value.',
|
|
'email' => ':attribute mora biti veljaven e-poštni naslov.',
|
|
'exists' => 'izbran :attribute je neveljaven.',
|
|
'file' => 'The :attribute must be a file.',
|
|
'filled' => 'The :attribute field is required.',
|
|
'image' => ':attribute mora biti slika.',
|
|
'in' => 'izbran :attribute je neveljaven.',
|
|
'in_array' => 'The :attribute field does not exist in :other.',
|
|
'integer' => ':attribute mora biti število.',
|
|
'ip' => ':attribute mora biti veljaven IP naslov.',
|
|
'json' => 'The :attribute must be a valid JSON string.',
|
|
'max' => [
|
|
'numeric' => ':attribute ne sme biti večje od :max.',
|
|
'file' => ':attribute ne sme biti večje :max kilobajtov.',
|
|
'string' => ':attribute ne sme biti večje :max znakov.',
|
|
'array' => ':attribute ne smejo imeti več kot :max elementov.',
|
|
],
|
|
'mimes' => ':attribute mora biti datoteka tipa: :values.',
|
|
'mimetypes' => ':attribute mora biti datoteka tipa: :values.',
|
|
'min' => [
|
|
'numeric' => ':attribute mora biti vsaj dolžine :min.',
|
|
'file' => ':attribute mora imeti vsaj :min kilobajtov.',
|
|
'string' => ':attribute mora imeti vsaj :min znakov.',
|
|
'array' => ':attribute mora imeti vsaj :min elementov.',
|
|
],
|
|
'not_in' => 'izbran :attribute je neveljaven.',
|
|
'numeric' => ':attribute mora biti število.',
|
|
'present' => 'The :attribute field must be present.',
|
|
'regex' => 'Format polja :attribute je neveljaven.',
|
|
'required' => 'Polje :attribute je zahtevano.',
|
|
'required_if' => 'Polje :attribute je zahtevano, ko :other je :value.',
|
|
'required_unless' => 'The :attribute field is required unless :other is in :values.',
|
|
'required_with' => 'Polje :attribute je zahtevano, ko je :values prisoten.',
|
|
'required_with_all' => 'Polje :attribute je zahtevano, ko je :values prisoten.',
|
|
'required_without' => 'Polje :attribute je zahtevano, ko :values ni prisoten.',
|
|
'required_without_all' => 'Polje :attribute je zahtevano, ko nobenih od :values niso prisotni.',
|
|
'same' => 'Polje :attribute in :other se morata ujemati.',
|
|
'size' => [
|
|
'numeric' => ':attribute mora biti :size.',
|
|
'file' => ':attribute mora biti :size kilobajtov.',
|
|
'string' => ':attribute mora biti :size znakov.',
|
|
'array' => ':attribute mora vsebovati :size elementov.',
|
|
],
|
|
'string' => 'The :attribute must be a string.',
|
|
'timezone' => 'The :attribute must be a valid zone.',
|
|
'unique' => ':attribute je že zaseden.',
|
|
'uploaded' => 'The :attribute failed to upload.',
|
|
'url' => ':attribute format je neveljaven.',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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' => [
|
|
//
|
|
],
|
|
|
|
];
|