|
| 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 | + | |
| 14 | + */ |
| 15 | + |
| 16 | + /* |
| 17 | + |-------------------------------------------------------------------------- |
| 18 | + | Custom Validation Language Lines |
| 19 | + |-------------------------------------------------------------------------- |
| 20 | + | |
| 21 | + | Here you may specify custom validation messages for attributes using the |
| 22 | + | convention "attribute.rule" to name the lines. This makes it quick to |
| 23 | + | specify a specific custom language line for a given attribute rule. |
| 24 | + | |
| 25 | + */ |
| 26 | + |
| 27 | + 'custom' => [ |
| 28 | + 'attribute-name' => [ |
| 29 | + |
| 30 | + ], |
| 31 | + ], |
| 32 | + |
| 33 | + /* |
| 34 | + |-------------------------------------------------------------------------- |
| 35 | + | Custom Validation Attributes |
| 36 | + |-------------------------------------------------------------------------- |
| 37 | + | |
| 38 | + | The following language lines are used to swap our attribute placeholder |
| 39 | + | with something more reader friendly such as "E-Mail Address" instead |
| 40 | + | of "email". This simply helps us make our message more expressive. |
| 41 | + | |
| 42 | + */ |
| 43 | + |
| 44 | + 'attributes' => [ |
| 45 | + 'address' => '地址', |
| 46 | + 'age' => '年齡', |
| 47 | + 'body' => '內文', |
| 48 | + 'cell' => '行動電話', |
| 49 | + 'city' => '縣市', |
| 50 | + 'country' => '國家', |
| 51 | + 'date' => '日期', |
| 52 | + 'day' => '日', |
| 53 | + 'excerpt' => '摘要', |
| 54 | + 'first_name' => '名字', |
| 55 | + 'gender' => '性別', |
| 56 | + 'marital_status' => '婚姻狀態', |
| 57 | + 'profession' => '職業', |
| 58 | + 'nationality' => '國籍', |
| 59 | + 'hour' => '時', |
| 60 | + 'last_name' => '姓氏', |
| 61 | + 'message' => '訊息內容', |
| 62 | + 'minute' => '分', |
| 63 | + 'mobile' => '行動電話', |
| 64 | + 'month' => '月', |
| 65 | + 'name' => '名稱', |
| 66 | + 'zipcode' => '郵遞區號', |
| 67 | + 'company_name' => '公司名稱', |
| 68 | + 'neighborhood' => '鄰里', |
| 69 | + 'number' => '號碼', |
| 70 | + 'password' => '密碼', |
| 71 | + 'phone' => '電話號碼', |
| 72 | + 'second' => '秒', |
| 73 | + 'sex' => '性別', |
| 74 | + 'state' => '縣市', |
| 75 | + 'street' => '街道', |
| 76 | + 'subject' => '主旨', |
| 77 | + 'text' => '文字', |
| 78 | + 'time' => '時間', |
| 79 | + 'title' => '標題', |
| 80 | + 'username' => '使用者帳號', |
| 81 | + 'year' => '年', |
| 82 | + 'description' => '說明', |
| 83 | + 'password_confirmation' => '確認密碼', |
| 84 | + 'current_password' => '目前密碼', |
| 85 | + 'complement' => '補充說明', |
| 86 | + 'modality' => '模式', |
| 87 | + 'category' => '類別', |
| 88 | + 'blood_type' => '血型', |
| 89 | + 'birth_date' => '出生日期', |
| 90 | + ], |
| 91 | +]; |
0 commit comments