2021-06-02 23:32:31 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								<?php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								/**
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 * Validation 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.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 */
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								return [
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    // Standard laravel validation lines
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-03 04:50:38 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    'accepted'             => ':attribute mora biti prihvaćen.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'active_url'           => ':attribute nema valjan URL.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'after'                => ':attribute mora biti nakon :date.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'alpha'                => ':attribute može sadržavati samo slova.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'alpha_dash'           => ':attribute  može sadržavati samo slova, brojeve, crtice i donje crtice.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'alpha_num'            => ':attribute može sadržavati samo slova i brojeve.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'array'                => ':attribute mora biti niz.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'before'               => ':attribute mora biti prije :date.',
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-02 23:32:31 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'between'              => [
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-03 04:50:38 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'numeric' => ':attribute mora biti između :min i :max.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'file'    => ':attribute mora biti između :min i :max kilobajta.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'string'  => ':attribute mora biti između :min i :max znakova.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'array'   => ':attribute mora biti između :min i :max stavki',
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-02 23:32:31 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ],
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-03 04:50:38 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'boolean'              => ':attribute mora biti točno ili netočno.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'confirmed'            => ':attribute potvrde se ne podudaraju.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'date'                 => ':attribute nema valjani datum.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'date_format'          => ':attribute ne odgovara formatu :format.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'different'            => ':attribute i :other se moraju razlikovati.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'digits'               => ':attribute mora biti :digits znakova.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'digits_between'       => ':attribute mora biti između :min i :max znamenki.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'email'                => ':attribute mora biti valjana email adresa.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'ends_with' => ':attribute mora završiti s :values',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'filled'               => ':attribute polje je obavezno.',
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-02 23:32:31 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'gt'                   => [
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-03 04:50:38 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'numeric' => ':attribute mora biti veći od :value.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'file'    => ':attribute mora biti veći od :value  kilobajta.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'string'  => ':attribute mora biti veći od :value znakova',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'array'   => ':attribute mora biti veći od :value stavki.',
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-02 23:32:31 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ],
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'gte'                  => [
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-03 04:50:38 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'numeric' => ':attribute mora biti veći ili jednak :value.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'file'    => ':attribute mora biti veći ili jednak :value kilobajta.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'string'  => ':attribute mora biti veći ili jednak :value znakova.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'array'   => ':attribute mora imati :value stavki ili više.',
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-02 23:32:31 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ],
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-03 04:50:38 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'exists'               => 'Odabrani :attribute ne vrijedi.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'image'                => ':attribute mora biti slika.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'image_extension'      => ':attribute mora imati valjanu i podržanu ekstenziju.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'in'                   => 'Odabrani :attribute ne vrijedi.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'integer'              => ':attribute mora biti cijeli broj.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'ip'                   => ':attribute mora biti valjana IP adresa.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'ipv4'                 => ':attribute mora biti valjana IPv4 adresa.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'ipv6'                 => ':attribute mora biti valjana IPv6 adresa.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'json'                 => ':attribute mora biti valjani JSON niz.',
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-02 23:32:31 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'lt'                   => [
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-03 04:50:38 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'numeric' => ':attribute mora biti manji od :value.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'file'    => ':attribute mora biti manji od :value kilobajta.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'string'  => ':attribute mora biti manji od :value znakova.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'array'   => ':attribute mora biti manji od :value stavki.',
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-02 23:32:31 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ],
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'lte'                  => [
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-03 04:50:38 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'numeric' => ':attribute mora biti manji ili jednak :value.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'file'    => ':attribute mora biti manji ili jednak :value kilobajta.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'string'  => ':attribute mora biti manji ili jednak :value znakova.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'array'   => ':attribute mora imati više od :value stavki.',
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-02 23:32:31 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ],
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'max'                  => [
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-03 04:50:38 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'numeric' => ':attribute ne smije biti veći od :max.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'file'    => ':attribute ne smije biti veći od :max kilobajta.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'string'  => ':attribute ne smije biti duži od :max znakova.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'array'   => ':attribute ne smije imati više od :max stavki.',
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-02 23:32:31 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ],
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-03 04:50:38 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'mimes'                => ':attribute mora biti datoteka tipa: :values.',
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-02 23:32:31 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'min'                  => [
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-03 04:50:38 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'numeric' => ':attribute mora biti najmanje :min.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'file'    => ':attribute mora imati najmanje :min kilobajta.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'string'  => ':attribute mora imati najmanje :min znakova.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'array'   => ':attribute mora imati najmanje :min stavki.',
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-02 23:32:31 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ],
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-03 04:50:38 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'not_in'               => 'Odabrani :attribute ne vrijedi.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'not_regex'            => 'Format :attribute nije valjan.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'numeric'              => ':attribute mora biti broj.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'regex'                => 'Format :attribute nije valjan.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'required'             => ':attribute polje je obavezno.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'required_if'          => 'Polje :attribute je obavezno kada :other je :value.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'required_with'        => 'Polje :attribute je potrebno kada :values je sadašnjost.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'required_with_all'    => 'Polje :attribute je potrebno kada :values je sadašnjost.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'required_without'     => 'Polje :attribute je potrebno kada :values nije sadašnjost.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'required_without_all' => 'Polje :attribute je potrebno kada ništa od :values nije sadašnjost.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'same'                 => ':attribute i :other se moraju podudarati.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'safe_url'             => 'Navedena veza možda nije sigurna.',
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-02 23:32:31 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'size'                 => [
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-03 04:50:38 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'numeric' => ':attribute mora biti :size.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'file'    => ':attribute mora biti :size kilobajta.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'string'  => ':attribute mora biti :size znakova.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'array'   => ':attribute mora sadržavati :size stavki.',
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-02 23:32:31 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ],
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-03 04:50:38 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'string'               => ':attribute mora biti niz.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'timezone'             => ':attribute mora biti valjan.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'unique'               => ':attribute se već koristi.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'url'                  => 'Format :attribute nije valjan.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'uploaded'             => 'Datoteka se ne može prenijeti. Server možda ne prihvaća datoteke te veličine.',
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-02 23:32:31 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    // Custom validation lines
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'custom' => [
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'password-confirm' => [
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-03 04:50:38 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            'required_with' => 'Potrebna potvrda lozinke',
							 | 
						
					
						
							
								
									
										
										
										
											2021-06-02 23:32:31 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        ],
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ],
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    // Custom validation attributes
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'attributes' => [],
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								];
							 |