kopia lustrzana https://github.com/pixelfed/pixelfed
				
				
				
			
		
			
				
	
	
		
			155 wiersze
		
	
	
		
			9.2 KiB
		
	
	
	
		
			PHP
		
	
	
			
		
		
	
	
			155 wiersze
		
	
	
		
			9.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
 | |
|     | as the size rules. Feel free to tweak each of these messages here.
 | |
|     |
 | |
|     */
 | |
| 
 | |
|     'accepted'             => ':attribute باید پذیرفته شده باشد.',
 | |
|     'active_url'           => 'نشانی :attribute معتبر نیست',
 | |
|     'after'                => ':attribute باید تاریخی بعد از :date باشد.',
 | |
|     'after_or_equal'       => ':attribute باید تاریخی بعد از :date، یا مطابق با آن باشد.',
 | |
|     'alpha'                => ':attribute باید فقط حروف الفبا باشد.',
 | |
|     'alpha_dash'           => ':attribute باید فقط حروف الفبا، عدد و خط تیره(-) باشد.',
 | |
|     'alpha_num'            => ':attribute باید فقط حروف الفبا و عدد باشد.',
 | |
|     'array'                => ':attribute باید آرایه باشد.',
 | |
|     'before'               => ':attribute باید تاریخی قبل از :date باشد.',
 | |
|     'before_or_equal'      => ':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 باید عددی صحیح باشد.',
 | |
|     'ip'                   => ':attribute باید IP معتبر باشد.',
 | |
|     'ipv4'                 => ':attribute باید یک نشانی معتبر از نوع IPv4 باشد.',
 | |
|     'ipv6'                 => ':attribute باید یک نشانی معتبر از نوع IPv6 باشد.',
 | |
|     'json'                 => 'فیلد :attribute باید یک رشته از نوع JSON باشد.',
 | |
|     'max'                  => [
 | |
|         'numeric' => ':attribute نباید بزرگتر از :max باشد.',
 | |
|         'file'    => ':attribute نباید بزرگتر از :max کیلوبایت باشد.',
 | |
|         'string'  => ':attribute نباید بیشتر از :max حرف باشد.',
 | |
|         'array'   => ':attribute نباید بیشتر از :max مورد باشد.',
 | |
|     ],
 | |
|     'mimes'                => ':attribute باید یکی از قالبهای :values باشد.',
 | |
|     'mimetypes'            => ':attribute باید یکی از قالبهای :values باشد.',
 | |
|     'min'                  => [
 | |
|         'numeric' => ':attribute نباید کوچکتر از :min باشد.',
 | |
|         'file'    => ':attribute نباید کوچکتر از :min کیلوبایت باشد.',
 | |
|         'string'  => ':attribute نباید کمتر از :min حرف باشد.',
 | |
|         'array'   => ':attribute نباید کمتر از :min مورد باشد.',
 | |
|     ],
 | |
|     'not_in'               => ':attribute انتخاب شده معتبر نیست.',
 | |
|     'not_regex'            => ':attribute نامعتبر است.',
 | |
|     'numeric'              => ':attribute باید عدد باشد.',
 | |
|     'present'              => 'فیلد :attribute باید در پارامترهای ارسالی وجود داشته باشد.',
 | |
|     'regex'                => 'قالب :attribute معتبر نیست',
 | |
|     'required'             => 'فیلد :attribute الزامی است',
 | |
|     'required_if'          => 'هنگامی که :other برابر با :value باشد، فیلد :attribute الزامی است.',
 | |
|     'required_unless'      => 'فیلد :attribute ضروری است، مگر آنکه :other در :values موجود باشد.',
 | |
|     'required_with'        => 'در صورت وجود فیلد :values، فیلد :attribute الزامی است.',
 | |
|     'required_with_all'    => 'در صورت وجود فیلدهای :values، فیلد :attribute الزامی است.',
 | |
|     'required_without'     => 'در صورت عدم وجود فیلد :values، فیلد :attribute الزامی است.',
 | |
|     'required_without_all' => 'در صورت عدم وجود هر یک از فیلدهای :values، فیلد :attribute الزامی است.',
 | |
|     'same'                 => ':attribute و :other باید مانند هم باشند.',
 | |
|     'size'                 => [
 | |
|         'numeric' => ':attribute باید برابر با :size باشد.',
 | |
|         'file'    => ':attribute باید برابر با :size کیلوبایت باشد.',
 | |
|         'string'  => ':attribute باید برابر با :size حرف باشد.',
 | |
|         'array'   => ':attribute باید شامل :size مورد باشد.',
 | |
|     ],
 | |
|     'string'               => 'فیلد :attribute باید متن باشد.',
 | |
|     'timezone'             => 'فیلد :attribute باید یک منطقه زمانی قابل قبول باشد.',
 | |
|     'unique'               => ':attribute قبلا انتخاب شده است.',
 | |
|     'uploaded'             => 'بارگذاری پرونده :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-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'           => [
 | |
|         'name'                  => 'نام',
 | |
|         'username'              => 'نام کاربری',
 | |
|         'email'                 => 'ایمیل',
 | |
|         'first_name'            => 'نام',
 | |
|         'last_name'             => 'نام خانوادگی',
 | |
|         'password'              => 'رمز عبور',
 | |
|         'password_confirmation' => 'تکرار رمز عبور',
 | |
|         'city'                  => 'شهر',
 | |
|         'country'               => 'کشور',
 | |
|         'address'               => 'نشانی',
 | |
|         'phone'                 => 'تلفن',
 | |
|         'mobile'                => 'تلفن همراه',
 | |
|         'age'                   => 'سن',
 | |
|         'sex'                   => 'جنس',
 | |
|         'gender'                => 'جنسیت',
 | |
|         'day'                   => 'روز',
 | |
|         'month'                 => 'ماه',
 | |
|         'year'                  => 'سال',
 | |
|         'hour'                  => 'ساعت',
 | |
|         'minute'                => 'دقیقه',
 | |
|         'second'                => 'ثانیه',
 | |
|         'title'                 => 'عنوان',
 | |
|         'text'                  => 'متن',
 | |
|         'content'               => 'محتوا',
 | |
|         'description'           => 'توضیحات',
 | |
|         'excerpt'               => 'گزیده مطلب',
 | |
|         'date'                  => 'تاریخ',
 | |
|         'time'                  => 'زمان',
 | |
|         'available'             => 'موجود',
 | |
|         'size'                  => 'اندازه',
 | |
|         'terms'                 => 'شرایط',
 | |
|     ],
 | |
| 
 | |
| ];
 |