mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 04:47:30 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			116 lines
		
	
	
		
			6.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			116 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
 | |
|     | such as the size rules. Feel free to tweak each of these messages.
 | |
|     |
 | |
|     */
 | |
| 
 | |
|     'accepted'             => ':attribute musí být akceptován.',
 | |
|     'active_url'           => ':attribute není platnou URL adresou.',
 | |
|     'after'                => ':attribute musí být datum po :date.',
 | |
|     'alpha'                => ':attribute může obsahovat pouze písmena.',
 | |
|     'alpha_dash'           => ':attribute může obsahovat pouze písmena, číslice, pomlčky a podtržítka. České znaky (á, é, í, ó, ú, ů, ž, š, č, ř, ď, ť, ň) nejsou podporovány.',
 | |
|     'alpha_num'            => ':attribute může obsahovat pouze písmena a číslice.',
 | |
|     'array'                => ':attribute musí být pole.',
 | |
|     'before'               => ':attribute musí být datum před :date.',
 | |
|     'between'              => [
 | |
|         'numeric' => ':attribute musí být hodnota mezi :min a :max.',
 | |
|         'file'    => ':attribute musí být větší než :min a menší než :max Kilobytů.',
 | |
|         'string'  => ':attribute musí být delší než :min a kratší než :max znaků.',
 | |
|         'array'   => ':attribute musí obsahovat nejméně :min a nesmí obsahovat více než :max prvků.',
 | |
|     ],
 | |
|     'boolean'              => ':attribute musí být true nebo false',
 | |
|     'confirmed'            => ':attribute nebylo odsouhlaseno.',
 | |
|     'date'                 => ':attribute musí být platné datum.',
 | |
|     'date_format'          => ':attribute není platný formát data podle :format.',
 | |
|     'different'            => ':attribute a :other se musí lišit.',
 | |
|     'digits'               => ':attribute musí být :digits pozic dlouhé.',
 | |
|     'digits_between'       => ':attribute musí být dlouhé nejméně :min a nejvíce :max pozic.',
 | |
|     'distinct'             => 'The :attribute field has a duplicate value.',
 | |
|     'email'                => ':attribute není platný formát.',
 | |
|     'exists'               => 'Zvolená hodnota pro :attribute není platná.',
 | |
|     'filled'               => ':attribute musí být vyplněno.',
 | |
|     'image'                => ':attribute musí být obrázek.',
 | |
|     'in'                   => 'Zvolená hodnota pro :attribute není platná.',
 | |
|     'in_array'             => 'The :attribute field does not exist in :other.',
 | |
|     'integer'              => ':attribute musí být celé číslo.',
 | |
|     'ip'                   => ':attribute musí být platnou IP adresou.',
 | |
|     'json'                 => ':attribute musí být platný JSON řetězec.',
 | |
|     'max'                  => [
 | |
|         'numeric' => ':attribute musí být nižší než :max.',
 | |
|         'file'    => ':attribute musí být menší než :max Kilobytů.',
 | |
|         'string'  => ':attribute musí být kratší než :max znaků.',
 | |
|         'array'   => ':attribute nesmí obsahovat více než :max prvků.',
 | |
|     ],
 | |
|     'mimes'                => ':attribute musí být jeden z následujících datových typů :values.',
 | |
|     'min'                  => [
 | |
|         'numeric' => ':attribute musí být větší než :min.',
 | |
|         'file'    => ':attribute musí být větší než :min Kilobytů.',
 | |
|         'string'  => ':attribute musí být delší než :min znaků.',
 | |
|         'array'   => ':attribute musí obsahovat více než :min prvků.',
 | |
|     ],
 | |
|     'not_in'               => 'Zvolená hodnota pro :attribute je neplatná.',
 | |
|     'numeric'              => ':attribute musí být číslo.',
 | |
|     'present'              => 'The :attribute field must be present.',
 | |
|     'regex'                => ':attribute nemá správný formát.',
 | |
|     'required'             => ':attribute musí být vyplněno.',
 | |
|     'required_if'          => ':attribute musí být vyplněno pokud :other je :value.',
 | |
|     'required_unless'      => 'The :attribute field is required unless :other is in :values.',
 | |
|     'required_with'        => ':attribute musí být vyplněno pokud :values je vyplněno.',
 | |
|     'required_with_all'    => ':attribute musí být vyplněno pokud :values je zvoleno.',
 | |
|     'required_without'     => ':attribute musí být vyplněno pokud :values není vyplněno.',
 | |
|     'required_without_all' => ':attribute musí být vyplněno pokud není žádné z :values zvoleno.',
 | |
|     'same'                 => ':attribute a :other se musí shodovat.',
 | |
|     'size'                 => [
 | |
|         'numeric' => ':attribute musí být přesně :size.',
 | |
|         'file'    => ':attribute musí mít přesně :size Kilobytů.',
 | |
|         'string'  => ':attribute musí být přesně :size znaků dlouhý.',
 | |
|         'array'   => ':attribute musí obsahovat právě :size prvků.',
 | |
|     ],
 | |
|     'string'               => ':attribute musí být řetězec znaků.',
 | |
|     'timezone'             => ':attribute musí být platná časová zóna.',
 | |
|     'unique'               => ':attribute musí být unikátní.',
 | |
|     'url'                  => 'Formát :attribute 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'               => [
 | |
|         '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'           => [
 | |
|         //
 | |
|     ],
 | |
| 
 | |
| ];
 |