Laravel 5.6のvalidation.phpを訳しました。
MITライセンスでご利用ください。
<?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 は有効なURLではありません。',
'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 は true または false を入力してください。',
'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 に何か値を入力してください。',
'gt' => [
'numeric' => ':attribute は :value より大きな値を入力してください。 ',
'file' => ':attribute は :value よりも大きなファイルを指定してください。',
'string' => ':attribute は :value よりも長い文字数を入力してください。',
'array' => ':attribute は :value よりも多い行数を入力してください。',
],
'gte' => [
'numeric' => ':attribute は :value 以上の値を入力してください。 ',
'file' => ':attribute は :value 以上のファイルを指定してください。',
'string' => ':attribute は :value 以上の文字数を入力してください。',
'array' => ':attribute は :value 以上の行数を入力してください。',
],
'image' => ':attribute は画像を指定してください。',
'in' => ':attribute の値が間違っています。',
'in_array' => ':attribute は :otherに存在する値を指定してください。',
'integer' => ':attribute には整数値を指定してください。',
'ip' => ':attribute には有効なIPアドレスを入力してください。',
'ipv4' => ':attribute には有効なIPv4アドレスを入力してください。',
'ipv6' => ':attribute には有効なIPv6アドレスを入力してください。',
'json' => ':attribute には有効なJSON文字列を入力してください。',
'lt' => [
'numeric' => ':attribute には :value より少ない値を入力してください。',
'file' => ':attribute には :value より小さなファイルを指定してください。',
'string' => ':attribute には :value より小さな文字数を指定してください。',
'array' => ':attribute には :value より少ない行数を指定してください。',
],
'lte' => [
'numeric' => ':attribute には :value 以下の値を入力してください。',
'file' => ':attribute には :value 以下のファイルを指定してください。',
'string' => ':attribute には :value 以下の文字数を指定してください。',
'array' => ':attribute には :value 以下の行数を指定してください。',
],
'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' => ':other が :values のいずれではない場合は :attribute を入力してください。 ',
'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' => [],
];
あとで気づいたけど
日本語ドキュメントのサイトにつけてあった。(笑)