157 lines
8.1 KiB
PHP
157 lines
8.1 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 kabul edilmelidir.',
|
|||
|
|
'active_url' => ':attribute geçerli bir URL değil.',
|
|||
|
|
'after' => ':attribute, :date \'den sonraki bir tarih olmalıdır.',
|
|||
|
|
'after_or_equal' => ':attribute, :date \'den sonraki veya buna eşit bir tarih olmalıdır.',
|
|||
|
|
'alpha' => ':attribute yalnızca harf içermelidir.',
|
|||
|
|
'alpha_dash' => ':attribute yalnızca harf, sayı, tire ve alt çizgi içermelidir.',
|
|||
|
|
'alpha_num' => ':attribute yalnızca harf ve rakamlardan oluşmalıdır.',
|
|||
|
|
'array' => ':attribute bir dizi olmalıdır.',
|
|||
|
|
'before' => ':attribute, :date \'den önceki bir tarih olmalıdır.',
|
|||
|
|
'before_or_equal' => ':attribute, :date tarihinden önce veya buna eşit bir tarih olmalıdır.',
|
|||
|
|
'between' => [
|
|||
|
|
'numeric' => ':attribute :min ve :max arasında olmalıdır.',
|
|||
|
|
'file' => ':attribute :min ve :max kilobaytlar arasında olmalıdır.',
|
|||
|
|
'string' => ':attribute :min ve :max karakterleri arasında olmalıdır.',
|
|||
|
|
'array' => ':attribute, :min ve :max öğeleri arasında olmalıdır.',
|
|||
|
|
],
|
|||
|
|
'boolean' => ':attribute alanı doğru veya yanlış olmalıdır.',
|
|||
|
|
'confirmed' => ':attribute onayı eşleşmiyor.',
|
|||
|
|
'current_password' => 'Şifre yanlış.',
|
|||
|
|
'date' => ':attribute geçerli bir tarih değil.',
|
|||
|
|
'date_equals' => ':attribute, :date değerine eşit bir tarih olmalıdır.',
|
|||
|
|
'date_format' => ':attribute, :format biçimiyle eşleşmiyor.',
|
|||
|
|
'different' => ':attribute ve :other farklı olmalıdır.',
|
|||
|
|
'digits' => ':attribute :digits rakamlardan oluşmalıdır.',
|
|||
|
|
'digits_between' => ':attribute :min ve :max basamakları arasında olmalıdır.',
|
|||
|
|
'dimensions' => ':attribute geçersiz resim boyutlarına sahip.',
|
|||
|
|
'distinct' => ':attribute alanı yinelenen bir değere sahip.',
|
|||
|
|
'email' => ':attribute geçerli bir e-posta adresi olmalıdır.',
|
|||
|
|
'ends_with' => ':attribute aşağıdakilerden biriyle bitmelidir: :values.',
|
|||
|
|
'exists' => 'Seçilen :attribute geçersiz.',
|
|||
|
|
'file' => ':attribute bir dosya olmalıdır.',
|
|||
|
|
'filled' => ':attribute alanının bir değeri olmalıdır.',
|
|||
|
|
'gt' => [
|
|||
|
|
'numeric' => ':attribute, :value değerinden büyük olmalıdır.',
|
|||
|
|
'file' => ':attribute, :value kilobayttan büyük olmalıdır.',
|
|||
|
|
'string' => ':attribute, :value karakterlerinden büyük olmalıdır.',
|
|||
|
|
'array' => ':attribute, :value öğelerinden daha fazlasına sahip olmalıdır.',
|
|||
|
|
],
|
|||
|
|
'gte' => [
|
|||
|
|
'numeric' => ':attribute, :value değerinden büyük veya ona eşit olmalıdır.',
|
|||
|
|
'file' => ':attribute, :value kilobayttan büyük veya ona eşit olmalıdır.',
|
|||
|
|
'string' => ':attribute, :value karakterlerinden büyük veya ona eşit olmalıdır.',
|
|||
|
|
'array' => ':attribute, :value öğelerine veya daha fazlasına sahip olmalıdır.',
|
|||
|
|
],
|
|||
|
|
'image' => ':attribute bir resim olmalıdır.',
|
|||
|
|
'in' => 'Seçilen :attribute geçersiz.',
|
|||
|
|
'in_array' => ':attribute alanı :other içinde mevcut değil.',
|
|||
|
|
'integer' => ':attribute bir tamsayı olmalıdır.',
|
|||
|
|
'ip' => ':attribute geçerli bir IP adresi olmalıdır.',
|
|||
|
|
'ipv4' => ':attribute geçerli bir IPv4 adresi olmalıdır.',
|
|||
|
|
'ipv6' => ':attribute geçerli bir IPv6 adresi olmalıdır.',
|
|||
|
|
'json' => ':attribute geçerli bir JSON dizesi olmalıdır.',
|
|||
|
|
'lt' => [
|
|||
|
|
'numeric' => ':attribute, :value değerinden küçük olmalıdır.',
|
|||
|
|
'file' => ':attribute, :value kilobayttan küçük olmalıdır.',
|
|||
|
|
'string' => ':attribute, :value karakterlerinden daha az olmalıdır.',
|
|||
|
|
'array' => ':attribute, :value öğelerinden daha azına sahip olmalıdır.',
|
|||
|
|
],
|
|||
|
|
'lte' => [
|
|||
|
|
'numeric' => ':attribute, :value değerinden küçük veya ona eşit olmalıdır.',
|
|||
|
|
'file' => ':attribute :value kilobayttan küçük veya ona eşit olmalıdır.',
|
|||
|
|
'string' => ':attribute, :value karakterlerinden küçük veya ona eşit olmalıdır.',
|
|||
|
|
'array' => ':attribute, :value öğelerinden daha fazlasına sahip olmamalıdır.',
|
|||
|
|
],
|
|||
|
|
'max' => [
|
|||
|
|
'numeric' => ':attribute :max değerinden büyük olmamalıdır.',
|
|||
|
|
'file' => ':attribute, :max kilobayttan büyük olmamalıdır.',
|
|||
|
|
'string' => ':attribute, :max karakterlerinden büyük olmamalıdır.',
|
|||
|
|
'array' => ':attribute öğesi, :max öğelerinden daha fazlasına sahip olmamalıdır.',
|
|||
|
|
],
|
|||
|
|
'mimes' => ':attribute, :values türünde bir dosya olmalıdır.',
|
|||
|
|
'mimetypes' => ':attribute, :values türünde bir dosya olmalıdır.',
|
|||
|
|
'min' => [
|
|||
|
|
'numeric' => ':attribute en az :min olmalıdır.',
|
|||
|
|
'file' => ':attribute en az :min kilobayt olmalıdır.',
|
|||
|
|
'string' => ':attribute en az :min karakter olmalıdır.',
|
|||
|
|
'array' => ':attribute en az :min öğelerine sahip olmalıdır.',
|
|||
|
|
],
|
|||
|
|
'multiple_of' => ':attribute, :value \'nun katı olmalıdır.',
|
|||
|
|
'not_in' => 'Seçilen :attribute geçersiz.',
|
|||
|
|
'not_regex' => ':attribute biçimi geçersiz.',
|
|||
|
|
'numeric' => ':attribute bir sayı olmalıdır.',
|
|||
|
|
'password' => 'Şifre yanlış.',
|
|||
|
|
'present' => ':attribute alanı mevcut olmalıdır.',
|
|||
|
|
'regex' => ':attribute biçimi geçersiz.',
|
|||
|
|
'required' => ':attribute alanı gereklidir.',
|
|||
|
|
'required_if' => ':attribute alanı, :other :value olduğunda gereklidir.',
|
|||
|
|
'required_unless' => ':attribute alanı, :other :values içinde olmadığı sürece gereklidir.',
|
|||
|
|
'required_with' => ':attribute alanı, :values mevcut olduğunda gereklidir.',
|
|||
|
|
'required_with_all' => ':attribute alanı, :değerler mevcut olduğunda gereklidir.',
|
|||
|
|
'required_without' => ':attribute alanı, :values olmadığında gereklidir.',
|
|||
|
|
'required_without_all' => ':attribute alanı, :values değerlerinin hiçbiri mevcut olmadığında gereklidir.',
|
|||
|
|
'prohibited' => ':attribute alanı yasaktır.',
|
|||
|
|
'prohibited_if' => ':attribute alanı :other :value olduğunda yasaktır.',
|
|||
|
|
'prohibited_unless' => ':attribute alanı, :other :values içinde olmadığı sürece yasaktır.',
|
|||
|
|
'same' => ':attribute ve :other eşleşmelidir.',
|
|||
|
|
'size' => [
|
|||
|
|
'numeric' => ':attribute :size olmalıdır.',
|
|||
|
|
'file' => ':attribute :size kilobayt olmalıdır.',
|
|||
|
|
'string' => ':attribute :size karakter olmalıdır.',
|
|||
|
|
'array' => ':attribute :size öğeleri içermelidir.',
|
|||
|
|
],
|
|||
|
|
'starts_with' => ':attribute aşağıdakilerden biriyle başlamalıdır: :values.',
|
|||
|
|
'string' => ':attribute bir dize olmalıdır.',
|
|||
|
|
'timezone' => ':attribute geçerli bir saat dilimi olmalıdır.',
|
|||
|
|
'unique' => ':attribute zaten alınmış.',
|
|||
|
|
'uploaded' => ':attribute yüklenemedi.',
|
|||
|
|
'url' => ':attribute geçerli bir URL olmalıdır.',
|
|||
|
|
'uuid' => ':attribute geçerli bir UUID olmalıdır.',
|
|||
|
|
|
|||
|
|
/*
|
|||
|
|
|--------------------------------------------------------------------------
|
|||
|
|
| 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 our attribute placeholder
|
|||
|
|
| with something more reader friendly such as "E-Mail Address" instead
|
|||
|
|
| of "email". This simply helps us make our message more expressive.
|
|||
|
|
|
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
'attributes' => [],
|
|||
|
|
|
|||
|
|
];
|