109 lines
		
	
	
		
			5.4 KiB
		
	
	
	
		
			PHP
		
	
	
	
		
		
			
		
	
	
			109 lines
		
	
	
		
			5.4 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 musí byť akceptovaný.', | ||
|  |     'active_url'           => ':attribute nie je platná URL.', | ||
|  |     'after'                => ':attribute musí byť dátum po :date.', | ||
|  |     'alpha'                => ':attribute môže obsahovať iba písmená.', | ||
|  |     'alpha_dash'           => ':attribute môže obsahovať iba písmená, čísla a pomlčky.', | ||
|  |     'alpha_num'            => ':attribute môže obsahovať iba písmená a čísla.', | ||
|  |     'array'                => ':attribute musí byť pole.', | ||
|  |     'before'               => ':attribute musí byť dátum pred :date.', | ||
|  |     'between'              => [ | ||
|  |         'numeric' => ':attribute musí byť medzi :min a :max.', | ||
|  |         'file'    => ':attribute musí byť medzi :min a :max kilobajtmi.', | ||
|  |         'string'  => ':attribute musí byť medzi :min a :max znakmi.', | ||
|  |         'array'   => ':attribute musí byť medzi :min a :max položkami.', | ||
|  |     ], | ||
|  |     'boolean'              => ':attribute pole musí byť true alebo false.', | ||
|  |     'confirmed'            => ':attribute potvrdenie nesedí.', | ||
|  |     'date'                 => ':attribute nie je platný dátum.', | ||
|  |     'date_format'          => ':attribute nesedí s formátom :format.', | ||
|  |     'different'            => ':attribute a :other musia byť rozdielne.', | ||
|  |     'digits'               => ':attribute musí mať :digits číslic.', | ||
|  |     'digits_between'       => ':attribute musí mať medzi :min a :max číslicami.', | ||
|  |     'email'                => ':attribute musí byť platná emailová adresa.', | ||
|  |     'filled'               => 'Políčko :attribute je povinné.', | ||
|  |     'exists'               => 'Vybraný :attribute nie je platný.', | ||
|  |     'image'                => ':attribute musí byť obrázok.', | ||
|  |     'in'                   => 'Vybraný :attribute je neplatný.', | ||
|  |     'integer'              => ':attribute musí byť celé číslo.', | ||
|  |     'ip'                   => ':attribute musí byť platná IP adresa.', | ||
|  |     'max'                  => [ | ||
|  |         'numeric' => ':attribute nesmie byť väčší ako :max.', | ||
|  |         'file'    => ':attribute nesmie byť väčší ako :max kilobajtov.', | ||
|  |         'string'  => ':attribute nesmie byť dlhší ako :max znakov.', | ||
|  |         'array'   => ':attribute nesmie mať viac ako :max položiek.', | ||
|  |     ], | ||
|  |     'mimes'                => ':attribute musí byť súbor typu: :values.', | ||
|  |     'min'                  => [ | ||
|  |         'numeric' => ':attribute musí byť aspoň :min.', | ||
|  |         'file'    => ':attribute musí mať aspoň :min kilobajtov.', | ||
|  |         'string'  => ':attribute musí mať aspoň :min znakov.', | ||
|  |         'array'   => ':attribute musí mať aspoň :min položiek.', | ||
|  |     ], | ||
|  |     'not_in'               => 'Vybraný :attribute je neplatný.', | ||
|  |     'numeric'              => ':attribute musí byť číslo.', | ||
|  |     'regex'                => ':attribute formát je neplatný.', | ||
|  |     'required'             => 'Políčko :attribute je povinné.', | ||
|  |     'required_if'          => 'Políčko :attribute je povinné ak :other je :value.', | ||
|  |     'required_with'        => 'Políčko :attribute je povinné ak :values existuje.', | ||
|  |     'required_with_all'    => 'Políčko :attribute je povinné ak :values existuje.', | ||
|  |     'required_without'     => 'Políčko :attribute je povinné aj :values neexistuje.', | ||
|  |     'required_without_all' => 'Políčko :attribute je povinné ak ani jedno z :values neexistuje.', | ||
|  |     'same'                 => ':attribute a :other musia byť rovnaké.', | ||
|  |     'size'                 => [ | ||
|  |         'numeric' => ':attribute musí byť :size.', | ||
|  |         'file'    => ':attribute musí mať :size kilobajtov.', | ||
|  |         'string'  => ':attribute musí mať :size znakov.', | ||
|  |         'array'   => ':attribute musí obsahovať :size položiek.', | ||
|  |     ], | ||
|  |     'string'               => ':attribute musí byť reťazec.', | ||
|  |     'timezone'             => ':attribute musí byť plantá časová zóna.', | ||
|  |     'unique'               => ':attribute je už použité.', | ||
|  |     'url'                  => ':attribute formát je neplatný.', | ||
|  | 
 | ||
|  |     /* | ||
|  |     |-------------------------------------------------------------------------- | ||
|  |     | 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' => [ | ||
|  |         'password-confirm' => [ | ||
|  |             'required_with' => 'Vyžaduje sa potvrdenie hesla', | ||
|  |         ], | ||
|  |     ], | ||
|  | 
 | ||
|  |     /* | ||
|  |     |-------------------------------------------------------------------------- | ||
|  |     | 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' => [], | ||
|  | 
 | ||
|  | ]; |