openclassify/resources/lang/fa/validation.php
2019-06-22 13:59:18 +03:00

116 lines
7.0 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 باید پذیرفته شده باشد.',
'active_url' => 'آدرس :attribute معتبر نیست',
'after' => ':attribute باید تاریخی بعد از :date باشد.',
'alpha' => ':attribute باید شامل حروف الفبا باشد.',
'alpha_dash' => ':attribute باید شامل حروف الفبا و عدد و خظ تیره(-) باشد.',
'alpha_num' => ':attribute باید شامل حروف الفبا و عدد باشد.',
'array' => ':attribute باید شامل آرایه باشد.',
'before' => ':attribute باید تاریخی قبل از :date باشد.',
'between' => [
'numeric' => ':attribute باید بین :min و :max باشد.',
'file' => ':attribute باید بین :min و :max کیلوبایت باشد.',
'string' => ':attribute باید بین :min و :max کاراکتر باشد.',
'array' => ':attribute باید بین :min و :max آیتم باشد.',
],
'boolean' => 'فیلد :attribute فقط میتواند صحیح و یا غلط باشد',
'confirmed' => ':attribute با تاییدیه مطابقت ندارد.',
'date' => ':attribute یک تاریخ معتبر نیست.',
'date_format' => ':attribute با الگوی :format مطاقبت ندارد.',
'different' => ':attribute و :other باید متفاوت باشند.',
'digits' => ':attribute باید :digits رقم باشد.',
'digits_between' => ':attribute باید بین :min و :max رقم باشد.',
'dimensions' => ':attribute دارای طول عرض نامناسب می باشد.',
'distinct' => ':attribute نباید دارای مقادیر تکراری باشد.',
'email' => 'فرمت :attribute معتبر نیست.',
'exists' => ':attribute انتخاب شده، معتبر نیست.',
'file' => ':attribute باید یک فایل باشد.',
'filled' => 'فیلد :attribute الزامی است.',
'image' => ':attribute باید تصویر باشد.',
'in' => ':attribute انتخاب شده، معتبر نیست.',
'in_array' => ':attribute باید یکی از مقادیر (:other) باشد.',
'integer' => ':attribute باید نوع داده ای عددی (integer) باشد.',
'ip' => ':attribute باید IP آدرس معتبر باشد.',
'json' => ':attribute باید به صورت رشته صحیحی با فرمت JSON باشد.',
'max' => [
'numeric' => ':attribute نباید بزرگتر از :max باشد.',
'file' => ':attribute نباید بزرگتر از :max کیلوبایت باشد.',
'string' => ':attribute نباید بیشتر از :max کاراکتر باشد.',
'array' => ':attribute نباید بیشتر از :max آیتم باشد.',
],
'mimes' => ':attribute باید یکی از فرمت های :values باشد.',
'min' => [
'numeric' => ':attribute نباید کوچکتر از :min باشد.',
'file' => ':attribute نباید کوچکتر از :min کیلوبایت باشد.',
'string' => ':attribute نباید کمتر از :min کاراکتر باشد.',
'array' => ':attribute نباید کمتر از :min آیتم باشد.',
],
'not_in' => ':attribute انتخاب شده، معتبر نیست.',
'numeric' => ':attribute باید شامل عدد باشد.',
'present' => 'فیلد :attribute موجود نیست (میختواند خالی باشد).',
'regex' => ':attribute یک فرمت معتبر نیست.',
'required' => 'فیلد :attribute الزامی است.',
'required_if' => 'فیلد :attribute هنگامی که :other برابر با :value است، الزامیست.',
'required_unless' => 'فیلد :attribute هنگامی که :other یک از مقادیر :values است، الزامیست.',
'required_with' => ':attribute الزامی است زمانی که :values موجود است.',
'required_with_all' => ':attribute الزامی است زمانی که :values موجود است.',
'required_without' => ':attribute الزامی است زمانی که :values موجود نیست.',
'required_without_all' => ':attribute الزامی است زمانی که :values موجود نیست.',
'same' => ':attribute و :other باید مانند هم باشند.',
'size' => [
'numeric' => ':attribute باید برابر با :size باشد.',
'file' => ':attribute باید برابر با :size کیلوبایت باشد.',
'string' => ':attribute باید برابر با :size کاراکتر باشد.',
'array' => ':attribute باشد شامل :size آیتم باشد.',
],
'string' => 'فیلد :attribute باید یک رشته متنی باشد.',
'timezone' => 'فیلد :attribute باید یک منطقه صحیح باشد.',
'unique' => ':attribute قبلا انتخاب شده است.',
'url' => 'فرمت آدرس :attribute اشتباه است.',
/*
|--------------------------------------------------------------------------
| 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 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' => [],
];