Blame view

resources/lang/fa-IR/validation.php 7.41 KB
b7c7a5f6   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
  <?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 معتبر باشد.',
      '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 انتخاب شده، معتبر نیست.',
      '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' => [],
  
  ];