|
| 1 | +<?php |
| 2 | + |
| 3 | +return [ |
| 4 | + |
| 5 | + /* |
| 6 | + |-------------------------------------------------------------------------- |
| 7 | + | Validation Language Lines |
| 8 | + |-------------------------------------------------------------------------- |
| 9 | + | |
| 10 | + | The following language lines contain the default error messages used by |
| 11 | + | the validator class. Some of these rules have multiple versions such |
| 12 | + | as the size rules. Feel free to tweak each of these messages here. |
| 13 | + | Translated By : LaravelForum.ir Abolfazl Talebi |
| 14 | + */ |
| 15 | + |
| 16 | + 'accepted' => ':attribute باید تایید شود.', |
| 17 | + 'active_url' => ':attribute لینک وارد شده معتبر نیست.', |
| 18 | + 'after' => ':attribute تاریخ باید بعد از :date باشد', |
| 19 | + 'after_or_equal' => ':attribute تاریخ باید بعد یا مساوی با :date باشد.', |
| 20 | + 'alpha' => ':attribute فقط حروف مجاز است.', |
| 21 | + 'alpha_dash' => ':attribute فقط حروف ، اعداد ، خط تیره مانند - و _ مجاز است', |
| 22 | + 'alpha_num' => ':attribute فقط حروف و اعداد مجاز است..', |
| 23 | + 'array' => ':attribute فقط آرایه مجاز است.', |
| 24 | + 'before' => ':attribute باید تاریخ قبل از :date باشد.', |
| 25 | + 'before_or_equal' => ':attribute باید تاریخ قبل یا مساوی با :date باشد', |
| 26 | + 'between' => [ |
| 27 | + 'numeric' => ':attribute باید مابین :min و :max باشد', |
| 28 | + 'file' => ':attribute باید مابین :min و :max کیلوبایت باشد.', |
| 29 | + 'string' => ':attribute باید مابین :min و :max کاراکتر باشد.', |
| 30 | + 'array' => ':attribute باید مابین :min و :max آیتم باشد.', |
| 31 | + ], |
| 32 | + 'boolean' => ':attribute فیلد باید true یا false باشد.', |
| 33 | + 'confirmed' => ':attribute فیلد تایید یکسان نیست.', |
| 34 | + 'date' => ':attribute تاریخ معتبر وارد نشده است.', |
| 35 | + 'date_equals' => ':attribute باید تاریخ یکسان با :date وارد شود', |
| 36 | + 'date_format' => ':attribute فرمت باید به شکل :format وارد شود', |
| 37 | + 'different' => 'مقدار :attribute و :other باید متفاوت باشند.', |
| 38 | + 'digits' => ':attribute باید :digits رقم باشد.', |
| 39 | + 'digits_between' => ':attribute باید مابین :min و :max رقم باشد.', |
| 40 | + 'dimensions' => ':attribute طول و عرض تصویر معتبر نیست.', |
| 41 | + 'distinct' => ':attribute دارای مقدار تکراری است.', |
| 42 | + 'email' => ':attribute ایمیل آدرس معتبر نیست.', |
| 43 | + 'ends_with' => ':attribute آخرین مقدار باید شامل این موارد باشد: :values', |
| 44 | + 'exists' => ':attribute مورد انتخاب شده معتبر نیست.', |
| 45 | + 'file' => ':attribute باید یک فایل انتخاب شود.', |
| 46 | + 'filled' => ':attribute باید یک مقدار وارد شود.', |
| 47 | + 'gt' => [ |
| 48 | + 'numeric' => ':attribute باید بزرگتر از :value باشد', |
| 49 | + 'file' => ':attribute باید بزرگتر از :value کیلوبایت باشد.', |
| 50 | + 'string' => ':attribute باید بیشتر از :value کاراکتر باشد.', |
| 51 | + 'array' => ':attribute باید بیشتر از :value آیتم باشد.', |
| 52 | + ], |
| 53 | + 'gte' => [ |
| 54 | + 'numeric' => ':attribute باید بزگتر یا مساوی با :value باشد', |
| 55 | + 'file' => ':attribute باید بزرگتر یا مساوی با :value کیلوبایت باشد.', |
| 56 | + 'string' => ':attribute باید بیشتر یا مساوی با :value کاراکتر باشد.', |
| 57 | + 'array' => ':attribute باید حداقل :value آیتم یا بیشتر باشد.', |
| 58 | + ], |
| 59 | + 'image' => ':attribute باید یک تصویر انتخاب شود.', |
| 60 | + 'in' => ':attribute معتبر نیست.', |
| 61 | + 'in_array' => ':attribute فیلد در :other موجود نیست', |
| 62 | + 'integer' => ':attribute باید عدد وارد شود.', |
| 63 | + 'ip' => ':attribute باید IP آدرس معتبر وارد شود.', |
| 64 | + 'ipv4' => ':attribute باید IP آدرس وارد شده IPv4 باشد.', |
| 65 | + 'ipv6' => ':attribute باید IP آدرس وارد شده IPv6 باشد.', |
| 66 | + 'json' => ':attribute باید مقدار وارد شده JSON باشد.', |
| 67 | + 'lt' => [ |
| 68 | + 'numeric' => ':attribute باید کمتر از :value وارد شود', |
| 69 | + 'file' => ':attribute باید کمتر از :value کیلوبایت باشد.', |
| 70 | + 'string' => ':attribute باید کمتر از :value کارکتر باشد.', |
| 71 | + 'array' => ':attribute باید کمتر از :value آیتم باشد.', |
| 72 | + ], |
| 73 | + 'lte' => [ |
| 74 | + 'numeric' => ':attribute باید کمتر یا مساوی با :value باشد', |
| 75 | + 'file' => ':attribute باید کمتر یا مساوی با :value کیلوبایت باشد.', |
| 76 | + 'string' => ':attribute باید کمتر یا مساوی با :value کارکتر باشد.', |
| 77 | + 'array' => ':attribute باید کمتر یا مساوی با :value آیتم باشد.', |
| 78 | + ], |
| 79 | + 'max' => [ |
| 80 | + 'numeric' => ':attribute نباید بزگتر از :max باشد', |
| 81 | + 'file' => ':attribute نباید بزگتر از :max کیلوبایت باشد.', |
| 82 | + 'string' => ':attribute نباید بیشتر از :max کارکتر باشد.', |
| 83 | + 'array' => ':attribute نباید بیشتر از :max آیتم باشد.', |
| 84 | + ], |
| 85 | + 'mimes' => ':attribute پسوند و نوع فایل باید: :values باشد', |
| 86 | + 'mimetypes' => ':attribute پسوند و نوع فایل باید: :values باشد', |
| 87 | + 'min' => [ |
| 88 | + 'numeric' => ':attribute حداقل باید :min باشد', |
| 89 | + 'file' => ':attribute حداقل باید :min کیلوبایت باشد.', |
| 90 | + 'string' => ':attribute حداقل باید :min کارکتر باشد.', |
| 91 | + 'array' => ':attribute حداقل باید :min آیتم باشد.', |
| 92 | + ], |
| 93 | + 'not_in' => ':attribute معتبر نیست.', |
| 94 | + 'not_regex' => ':attribute فرمت وارد شده معتبر نیست.', |
| 95 | + 'numeric' => ':attribute باید یک عدد باشد.', |
| 96 | + 'present' => ':attribute باید موجودیت داشته باشد.', |
| 97 | + 'regex' => ':attribute فرمت قابل قبول نیست.', |
| 98 | + 'required' => 'فیلد :attribute اجباری است.', |
| 99 | + 'required_if' => 'فیلد :attribute اجباری است در صورتی که :other برابر با :value باشد', |
| 100 | + 'required_unless' => 'فیلد :attribute اجباری است مگر اینکه :other برابر با :values باشد', |
| 101 | + 'required_with' => 'فیلد :attribute اجباری است وقتی که :values موجود باشد.', |
| 102 | + 'required_with_all' => 'فیلد :attribute اجباری است اگر :values موجود باشد.', |
| 103 | + 'required_without' => 'فیلد :attribute اجباری است وقتی که :values موجود نباشد.', |
| 104 | + 'required_without_all' => 'فیلد :attribute اجباری است اگر هیچ یک از :values موجود نباشد.', |
| 105 | + 'same' => ':attribute و :other باید یکسان باشند.', |
| 106 | + 'size' => [ |
| 107 | + 'numeric' => ':attribute باید :size باشد', |
| 108 | + 'file' => ':attribute باید :size کیلوبایت باشد.', |
| 109 | + 'string' => ':attribute باید :size کاراکتر باشد.', |
| 110 | + 'array' => ':attribute باید شامل :size آیتم باشد.', |
| 111 | + ], |
| 112 | + 'starts_with' => ':attribute باید با یکی از این موارد آغاز شده باشد: :values', |
| 113 | + 'string' => ':attribute باید حروف باشد.', |
| 114 | + 'timezone' => ':attribute زمان باید معتبر باشد.', |
| 115 | + 'unique' => ':attribute این مقدار قبلا ثبت شده و تکراری است.', |
| 116 | + 'uploaded' => ':attribute آپلود دچار اشکال شده است.', |
| 117 | + 'url' => ':attribute فرمت قابل قبول نمیباشد.', |
| 118 | + 'uuid' => ':attribute باید مقدار UUID معتبر باشد', |
| 119 | + |
| 120 | + /* |
| 121 | + |-------------------------------------------------------------------------- |
| 122 | + | Custom Validation Language Lines |
| 123 | + |-------------------------------------------------------------------------- |
| 124 | + | |
| 125 | + | Here you may specify custom validation messages for attributes using the |
| 126 | + | convention "attribute.rule" to name the lines. This makes it quick to |
| 127 | + | specify a specific custom language line for a given attribute rule. |
| 128 | + | |
| 129 | + */ |
| 130 | + |
| 131 | + 'custom' => [ |
| 132 | + 'attribute-name' => [ |
| 133 | + 'rule-name' => 'custom-message', |
| 134 | + ], |
| 135 | + ], |
| 136 | + |
| 137 | + /* |
| 138 | + |-------------------------------------------------------------------------- |
| 139 | + | Custom Validation Attributes |
| 140 | + |-------------------------------------------------------------------------- |
| 141 | + | |
| 142 | + | The following language lines are used to swap our attribute placeholder |
| 143 | + | with something more reader friendly such as "E-Mail Address" instead |
| 144 | + | of "email". This simply helps us make our message more expressive. |
| 145 | + | |
| 146 | + */ |
| 147 | + |
| 148 | + 'attributes' => [ |
| 149 | + "name" => "نام", |
| 150 | + "username" => "نام کاربری", |
| 151 | + "email" => "آدرس ایمیل", |
| 152 | + "first_name" => "نام", |
| 153 | + "last_name" => "نام خانوادگی", |
| 154 | + "family" => "نام خانوادگی", |
| 155 | + "password" => "رمز عبور", |
| 156 | + "password_confirmation" => "تاییدیه ی رمز عبور", |
| 157 | + "city" => "شهر", |
| 158 | + "country" => "کشور", |
| 159 | + "address" => "نشانی", |
| 160 | + "phone" => "تلفن", |
| 161 | + "mobile" => "تلفن همراه", |
| 162 | + "codemelli" => "کدملی", |
| 163 | + "age" => "سن", |
| 164 | + "sex" => "جنسیت", |
| 165 | + "gender" => "جنسیت", |
| 166 | + "day" => "روز", |
| 167 | + "month" => "ماه", |
| 168 | + "year" => "سال", |
| 169 | + "hour" => "ساعت", |
| 170 | + "minute" => "دقیقه", |
| 171 | + "second" => "ثانیه", |
| 172 | + "title" => "عنوان", |
| 173 | + "text" => "متن", |
| 174 | + "content" => "محتوا", |
| 175 | + "description" => "توضیحات", |
| 176 | + "excerpt" => "گلچین کردن", |
| 177 | + "date" => "تاریخ", |
| 178 | + "time" => "زمان", |
| 179 | + "available" => "موجود", |
| 180 | + "notavailable" => "موجود نیست", |
| 181 | + "size" => "اندازه" |
| 182 | + ], |
| 183 | + |
| 184 | +]; |
0 commit comments