|
13 | 13 | |
|
14 | 14 | */
|
15 | 15 |
|
16 |
| - 'accepted' => ':attributeを承認してください。', |
17 |
| - 'active_url' => ':attributeは、有効なURLではありません。', |
18 |
| - 'after' => ':attributeには、:date以降の日付を指定してください。', |
19 |
| - 'alpha' => ':attributeには、アルファベッドのみ使用できます。', |
20 |
| - 'alpha_dash' => ":attributeには、英数字('A-Z','a-z','0-9')とハイフンと下線('-','_')が使用できます。", |
21 |
| - 'alpha_num' => ":attributeには、英数字('A-Z','a-z','0-9')が使用できます。", |
22 |
| - 'array' => ':attributeには、配列を指定してください。', |
23 |
| - 'before' => ':attributeには、:date以前の日付を指定してください。', |
24 |
| - 'between' => [ |
| 16 | + 'accepted' => ':attributeを承認してください。', |
| 17 | + 'active_url' => ':attributeは、有効なURLではありません。', |
| 18 | + 'after' => ':attributeには、:date以降の日付を指定してください。', |
| 19 | + 'alpha' => ':attributeには、アルファベッドのみ使用できます。', |
| 20 | + 'alpha_dash' => ":attributeには、英数字('A-Z','a-z','0-9')とハイフンと下線('-','_')が使用できます。", |
| 21 | + 'alpha_num' => ":attributeには、英数字('A-Z','a-z','0-9')が使用できます。", |
| 22 | + 'array' => ':attributeには、配列を指定してください。', |
| 23 | + 'before' => ':attributeには、:date以前の日付を指定してください。', |
| 24 | + 'between' => [ |
25 | 25 | 'numeric' => ':attributeには、:minから、:maxまでの数字を指定してください。',
|
26 | 26 | 'file' => ':attributeには、:min KBから:max KBまでのサイズのファイルを指定してください。',
|
27 | 27 | 'string' => ':attributeは、:min文字から:max文字にしてください。',
|
28 | 28 | 'array' => ':attributeの項目は、:min個から:max個にしてください。',
|
29 | 29 | ],
|
30 |
| - 'boolean' => ":attributeには、'true'か'false'を指定してください。", |
31 |
| - 'confirmed' => ':attributeと:attribute確認が一致しません。', |
32 |
| - 'date' => ':attributeは、正しい日付ではありません。', |
33 |
| - 'date_format' => ":attributeの形式は、':format'と合いません。", |
34 |
| - 'different' => ':attributeと:otherには、異なるものを指定してください。', |
35 |
| - 'digits' => ':attributeは、:digits桁にしてください。', |
36 |
| - 'digits_between' => ':attributeは、:min桁から:max桁にしてください。', |
37 |
| - 'email' => ':attributeは、有効なメールアドレス形式で指定してください。', |
38 |
| - 'exists' => '選択された:attributeは、有効ではありません。', |
39 |
| - 'filled' => ':attributeは必須です。', |
40 |
| - 'image' => ':attributeには、画像を指定してください。', |
41 |
| - 'in' => '選択された:attributeは、有効ではありません。', |
42 |
| - 'integer' => ':attributeには、整数を指定してください。', |
43 |
| - 'ip' => ':attributeには、有効なIPアドレスを指定してください。', |
44 |
| - 'json' => ':attributeには、有効なJSON文字列を指定してください。', |
45 |
| - 'max' => [ |
| 30 | + 'boolean' => ":attributeには、'true'か'false'を指定してください。", |
| 31 | + 'confirmed' => ':attributeと:attribute確認が一致しません。', |
| 32 | + 'date' => ':attributeは、正しい日付ではありません。', |
| 33 | + 'date_format' => ":attributeの形式は、':format'と合いません。", |
| 34 | + 'different' => ':attributeと:otherには、異なるものを指定してください。', |
| 35 | + 'digits' => ':attributeは、:digits桁にしてください。', |
| 36 | + 'digits_between' => ':attributeは、:min桁から:max桁にしてください。', |
| 37 | + 'email' => ':attributeは、有効なメールアドレス形式で指定してください。', |
| 38 | + 'exists' => '選択された:attributeは、有効ではありません。', |
| 39 | + 'filled' => ':attributeは必須です。', |
| 40 | + 'image' => ':attributeには、画像を指定してください。', |
| 41 | + 'in' => '選択された:attributeは、有効ではありません。', |
| 42 | + 'integer' => ':attributeには、整数を指定してください。', |
| 43 | + 'ip' => ':attributeには、有効なIPアドレスを指定してください。', |
| 44 | + 'json' => ':attributeには、有効なJSON文字列を指定してください。', |
| 45 | + 'max' => [ |
46 | 46 | 'numeric' => ':attributeには、:max以下の数字を指定してください。',
|
47 | 47 | 'file' => ':attributeには、:max KB以下のファイルを指定してください。',
|
48 | 48 | 'string' => ':attributeは、:max文字以下にしてください。',
|
49 | 49 | 'array' => ':attributeの項目は、:max個以下にしてください。',
|
50 | 50 | ],
|
51 |
| - 'mimes' => ':attributeには、:valuesタイプのファイルを指定してください。', |
52 |
| - 'min' => [ |
| 51 | + 'mimes' => ':attributeには、:valuesタイプのファイルを指定してください。', |
| 52 | + 'min' => [ |
53 | 53 | 'numeric' => ':attributeには、:min以上の数字を指定してください。',
|
54 | 54 | 'file' => ':attributeには、:min KB以上のファイルを指定してください。',
|
55 | 55 | 'string' => ':attributeは、:min文字以上にしてください。',
|
|
59 | 59 | 'numeric' => ':attributeには、数字を指定してください。',
|
60 | 60 | 'regex' => ':attributeには、有効な正規表現を指定してください。',
|
61 | 61 | 'required' => ':attributeは、必ず指定してください。',
|
62 |
| - 'required_if' => ':otherが:valueの場合、:attributeを指定してください', |
63 |
| - 'required_unless' => 'The :attribute field is required unless :other is in :values.', |
| 62 | + 'required_if' => ':otherが:valueの場合、:attributeを指定してください。', |
| 63 | + 'required_unless' => ':otherが:value以外の場合、:attributeを指定してください。', |
64 | 64 | 'required_with' => ':valuesが指定されている場合、:attributeも指定してください。',
|
65 | 65 | 'required_with_all' => ':valuesが全て指定されている場合、:attributeも指定してください。',
|
66 | 66 | 'required_without' => ':valuesが指定されていない場合、:attributeを指定してください。',
|
|
72 | 72 | 'string' => ':attributeは、:size文字にしてください。',
|
73 | 73 | 'array' => ':attributeの項目は、:size個にしてください。',
|
74 | 74 | ],
|
75 |
| - 'string' => ':attributeには、文字を指定してください。', |
76 |
| - 'timezone' => ':attributeには、有効なタイムゾーンを指定してください。', |
77 |
| - 'unique' => '指定の:attributeは既に使用されています。', |
78 |
| - 'url' => ':attributeは、有効なURL形式で指定してください。', |
| 75 | + 'string' => ':attributeには、文字を指定してください。', |
| 76 | + 'timezone' => ':attributeには、有効なタイムゾーンを指定してください。', |
| 77 | + 'unique' => '指定の:attributeは既に使用されています。', |
| 78 | + 'url' => ':attributeは、有効なURL形式で指定してください。', |
79 | 79 |
|
80 | 80 | /*
|
81 | 81 | |--------------------------------------------------------------------------
|
|
88 | 88 | |
|
89 | 89 | */
|
90 | 90 |
|
91 |
| - 'custom' => [ |
| 91 | + 'custom' => [ |
92 | 92 | 'attribute-name' => [
|
93 | 93 | 'rule-name' => 'custom-message',
|
94 | 94 | ],
|
|
105 | 105 | |
|
106 | 106 | */
|
107 | 107 |
|
108 |
| - 'attributes' => [ |
109 |
| - // |
110 |
| - ], |
| 108 | + 'attributes' => [], |
111 | 109 |
|
112 | 110 | ];
|
0 commit comments