return [
// Standard laravel validation lines
- 'accepted' => 'The :attribute must be accepted.',
- 'active_url' => 'The :attribute is not a valid URL.',
- 'after' => 'The :attribute must be a date after :date.',
- 'alpha' => 'The :attribute may only contain letters.',
- 'alpha_dash' => 'The :attribute may only contain letters, numbers, dashes and underscores.',
- 'alpha_num' => 'The :attribute may only contain letters and numbers.',
- 'array' => 'The :attribute must be an array.',
- 'before' => 'The :attribute must be a date before :date.',
+ 'accepted' => ':attribute باید پذیرفته شده باشد.',
+ 'active_url' => 'آدرس :attribute معتبر نیست.',
+ 'after' => ':attribute باید تاریخی بعد از :date باشد.',
+ 'alpha' => ':attribute باید فقط حروف الفبا باشد.',
+ 'alpha_dash' => ':attribute باید فقط حروف الفبا، اعداد، خط تیره و زیرخط باشد.',
+ 'alpha_num' => ':attribute باید فقط حروف الفبا و اعداد باشد.',
+ 'array' => ':attribute باید آرایه باشد.',
+ 'backup_codes' => 'کد ارائه شده معتبر نیست یا قبلا استفاده شده است.',
+ 'before' => ':attribute باید تاریخی قبل از :date باشد.',
'between' => [
- 'numeric' => 'The :attribute must be between :min and :max.',
- 'file' => 'The :attribute must be between :min and :max kilobytes.',
- 'string' => 'The :attribute must be between :min and :max characters.',
- 'array' => 'The :attribute must have between :min and :max items.',
+ 'numeric' => ':attribute باید بین :min و :max باشد.',
+ 'file' => ':attribute باید بین :min و :max کیلوبایت باشد.',
+ 'string' => ':attribute باید بین :min و :max کاراکتر باشد.',
+ 'array' => ':attribute باید بین :min و :max آیتم باشد.',
],
- 'boolean' => 'The :attribute field must be true or false.',
- 'confirmed' => 'The :attribute confirmation does not match.',
- 'date' => 'The :attribute is not a valid date.',
- 'date_format' => 'The :attribute does not match the format :format.',
- 'different' => 'The :attribute and :other must be different.',
- 'digits' => 'The :attribute must be :digits digits.',
- 'digits_between' => 'The :attribute must be between :min and :max digits.',
- 'email' => 'The :attribute must be a valid email address.',
- 'ends_with' => 'The :attribute must end with one of the following: :values',
- 'filled' => 'The :attribute field is required.',
+ 'boolean' => 'فیلد :attribute فقط میتواند true و یا false باشد.',
+ 'confirmed' => ':attribute با فیلد تکرار مطابقت ندارد.',
+ 'date' => ':attribute یک تاریخ معتبر نیست.',
+ 'date_format' => ':attribute با الگوی :format مطابقت ندارد.',
+ 'different' => ':attribute و :other باید از یکدیگر متفاوت باشند.',
+ 'digits' => ':attribute باید :digits رقم باشد.',
+ 'digits_between' => ':attribute باید بین :min و :max رقم باشد.',
+ 'email' => ':attribute باید یک ایمیل معتبر باشد.',
+ 'ends_with' => 'فیلد :attribute باید با یکی از مقادیر زیر خاتمه یابد: :values',
+ 'file' => 'The :attribute must be provided as a valid file.',
+ 'filled' => 'فیلد :attribute باید مقدار داشته باشد.',
'gt' => [
- 'numeric' => 'The :attribute must be greater than :value.',
- 'file' => 'The :attribute must be greater than :value kilobytes.',
- 'string' => 'The :attribute must be greater than :value characters.',
- 'array' => 'The :attribute must have more than :value items.',
+ 'numeric' => ':attribute باید بزرگتر از :value باشد.',
+ 'file' => ':attribute باید بزرگتر از :value کیلوبایت باشد.',
+ 'string' => ':attribute باید بیشتر از :value کاراکتر داشته باشد.',
+ 'array' => ':attribute باید بیشتر از :value آیتم داشته باشد.',
],
'gte' => [
- 'numeric' => 'The :attribute must be greater than or equal :value.',
- 'file' => 'The :attribute must be greater than or equal :value kilobytes.',
- 'string' => 'The :attribute must be greater than or equal :value characters.',
- 'array' => 'The :attribute must have :value items or more.',
+ 'numeric' => ':attribute باید بزرگتر یا مساوی :value باشد.',
+ 'file' => ':attribute باید بزرگتر یا مساوی :value کیلوبایت باشد.',
+ 'string' => ':attribute باید بیشتر یا مساوی :value کاراکتر داشته باشد.',
+ 'array' => ':attribute باید بیشتر یا مساوی :value آیتم داشته باشد.',
],
- 'exists' => 'The selected :attribute is invalid.',
- 'image' => 'The :attribute must be an image.',
- 'image_extension' => 'The :attribute must have a valid & supported image extension.',
- 'in' => 'The selected :attribute is invalid.',
- 'integer' => 'The :attribute must be an integer.',
- 'ip' => 'The :attribute must be a valid IP address.',
- 'ipv4' => 'The :attribute must be a valid IPv4 address.',
- 'ipv6' => 'The :attribute must be a valid IPv6 address.',
- 'json' => 'The :attribute must be a valid JSON string.',
+ 'exists' => ':attribute انتخاب شده، معتبر نیست.',
+ 'image' => ':attribute باید یک تصویر معتبر باشد.',
+ 'image_extension' => ':attribute باید یک تصویر با فرمت معتبر باشد.',
+ 'in' => ':attribute انتخاب شده، معتبر نیست.',
+ 'integer' => ':attribute باید عدد صحیح باشد.',
+ 'ip' => ':attribute باید آدرس IP معتبر باشد.',
+ 'ipv4' => ':attribute باید یک آدرس معتبر از نوع IPv4 باشد.',
+ 'ipv6' => ':attribute باید یک آدرس معتبر از نوع IPv6 باشد.',
+ 'json' => 'فیلد :attribute باید یک رشته از نوع JSON باشد.',
'lt' => [
- 'numeric' => 'The :attribute must be less than :value.',
- 'file' => 'The :attribute must be less than :value kilobytes.',
- 'string' => 'The :attribute must be less than :value characters.',
- 'array' => 'The :attribute must have less than :value items.',
+ 'numeric' => ':attribute باید کوچکتر از :value باشد.',
+ 'file' => ':attribute باید کوچکتر از :value کیلوبایت باشد.',
+ 'string' => ':attribute باید کمتر از :value کاراکتر داشته باشد.',
+ 'array' => ':attribute باید کمتر از :value آیتم داشته باشد.',
],
'lte' => [
- 'numeric' => 'The :attribute must be less than or equal :value.',
- 'file' => 'The :attribute must be less than or equal :value kilobytes.',
- 'string' => 'The :attribute must be less than or equal :value characters.',
- 'array' => 'The :attribute must not have more than :value items.',
+ 'numeric' => ':attribute باید کوچکتر یا مساوی :value باشد.',
+ 'file' => ':attribute باید کوچکتر یا مساوی :value کیلوبایت باشد.',
+ 'string' => ':attribute باید کمتر یا مساوی :value کاراکتر داشته باشد.',
+ 'array' => ':attribute باید کمتر یا مساوی :value آیتم داشته باشد.',
],
'max' => [
- 'numeric' => 'The :attribute may not be greater than :max.',
- 'file' => 'The :attribute may not be greater than :max kilobytes.',
- 'string' => 'The :attribute may not be greater than :max characters.',
- 'array' => 'The :attribute may not have more than :max items.',
+ 'numeric' => ':attribute نباید بزرگتر از :max باشد.',
+ 'file' => ':attribute نباید بزرگتر از :max کیلوبایت باشد.',
+ 'string' => ':attribute نباید بیشتر از :max کاراکتر داشته باشد.',
+ 'array' => ':attribute نباید بیشتر از :max آیتم داشته باشد.',
],
- 'mimes' => 'The :attribute must be a file of type: :values.',
+ 'mimes' => 'فرمتهای معتبر فایل عبارتند از: :values.',
'min' => [
- 'numeric' => 'The :attribute must be at least :min.',
- 'file' => 'The :attribute must be at least :min kilobytes.',
- 'string' => 'The :attribute must be at least :min characters.',
- 'array' => 'The :attribute must have at least :min items.',
+ 'numeric' => ':attribute نباید کوچکتر از :min باشد.',
+ 'file' => ':attribute نباید کوچکتر از :min کیلوبایت باشد.',
+ 'string' => ':attribute نباید کمتر از :min کاراکتر داشته باشد.',
+ 'array' => ':attribute نباید کمتر از :min آیتم داشته باشد.',
],
- 'no_double_extension' => 'The :attribute must only have a single file extension.',
- 'not_in' => 'The selected :attribute is invalid.',
- 'not_regex' => 'The :attribute format is invalid.',
- 'numeric' => 'The :attribute must be a number.',
- 'regex' => 'The :attribute format is invalid.',
- 'required' => 'The :attribute field is required.',
- 'required_if' => 'The :attribute field is required when :other is :value.',
- 'required_with' => 'The :attribute field is required when :values is present.',
- 'required_with_all' => 'The :attribute field is required when :values is present.',
- 'required_without' => 'The :attribute field is required when :values is not present.',
- 'required_without_all' => 'The :attribute field is required when none of :values are present.',
- 'same' => 'The :attribute and :other must match.',
- 'safe_url' => 'The provided link may not be safe.',
+ 'not_in' => ':attribute انتخاب شده، معتبر نیست.',
+ 'not_regex' => 'فرمت :attribute معتبر نیست.',
+ 'numeric' => ':attribute باید عدد یا رشتهای از اعداد باشد.',
+ 'regex' => 'فرمت :attribute معتبر نیست.',
+ 'required' => 'فیلد :attribute الزامی است.',
+ 'required_if' => 'هنگامی که :other برابر با :value است، فیلد :attribute الزامی است.',
+ 'required_with' => 'در صورت وجود فیلد :values، فیلد :attribute نیز الزامی است.',
+ 'required_with_all' => 'در صورت وجود فیلدهای :values، فیلد :attribute نیز الزامی است.',
+ 'required_without' => 'در صورت عدم وجود فیلد :values، فیلد :attribute الزامی است.',
+ 'required_without_all' => 'در صورت عدم وجود هر یک از فیلدهای :values، فیلد :attribute الزامی است.',
+ 'same' => ':attribute و :other باید همانند هم باشند.',
+ 'safe_url' => ':attribute معتبر نمیباشد.',
'size' => [
- 'numeric' => 'The :attribute must be :size.',
- 'file' => 'The :attribute must be :size kilobytes.',
- 'string' => 'The :attribute must be :size characters.',
- 'array' => 'The :attribute must contain :size items.',
+ 'numeric' => ':attribute باید برابر با :size باشد.',
+ 'file' => ':attribute باید برابر با :size کیلوبایت باشد.',
+ 'string' => ':attribute باید برابر با :size کاراکتر باشد.',
+ 'array' => ':attribute باید شامل :size آیتم باشد.',
],
- 'string' => 'The :attribute must be a string.',
- 'timezone' => 'The :attribute must be a valid zone.',
- 'unique' => 'The :attribute has already been taken.',
- 'url' => 'The :attribute format is invalid.',
- 'uploaded' => 'The file could not be uploaded. The server may not accept files of this size.',
+ 'string' => 'فیلد :attribute باید متن باشد.',
+ 'timezone' => 'فیلد :attribute باید یک منطقه زمانی معتبر باشد.',
+ 'totp' => 'کد ارائه شده معتبر نیست یا منقضی شده است.',
+ 'unique' => ':attribute قبلا انتخاب شده است.',
+ 'url' => ':attribute معتبر نمیباشد.',
+ 'uploaded' => 'بارگذاری فایل :attribute موفقیت آمیز نبود.',
// Custom validation lines
'custom' => [
'password-confirm' => [
- 'required_with' => 'Password confirmation required',
+ 'required_with' => 'تایید کلمه عبور اجباری می باشد',
],
],