<?php
-
+/**
+ * Validation 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.
+ */
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.
- |
- */
-
+ // Standard laravel validation lines
'accepted' => ':attributeに同意する必要があります。',
'active_url' => ':attributeは正しいURLではありません。',
'after' => ':attributeは:date以降である必要があります。',
'alpha_dash' => ':attributeは文字, 数値, ハイフンのみが含められます。',
'alpha_num' => ':attributeは文字と数値のみが含められます。',
'array' => ':attributeは配列である必要があります。',
+ 'backup_codes' => '提供されたコードは無効か、またはすでに使用されています。',
'before' => ':attributeは:date以前である必要があります。',
'between' => [
'numeric' => ':attributeは:min〜:maxである必要があります。',
'digits' => ':attributeは:digitsデジットである必要があります',
'digits_between' => ':attributeは:min〜:maxである必要があります。',
'email' => ':attributeは正しいEメールアドレスである必要があります。',
+ 'ends_with' => ':attributeは:valuesのいずれかで終わる必要があります。',
+ '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個以上のアイテムを指定する必要があります。',
+ ],
'exists' => '選択された:attributeは不正です。',
'image' => ':attributeは画像である必要があります。',
+ 'image_extension' => ':attributeは有効かつサポートされている拡張子の画像である必要があります。',
'in' => '選択された:attributeは不正です。',
'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キロバイトを越えることができません。',
'array' => ':attributeは:min個以上である必要があります。',
],
'not_in' => '選択された:attributeは不正です。',
+ 'not_regex' => ':attributeの形式は不正です。',
'numeric' => ':attributeは数値である必要があります。',
'regex' => ':attributeのフォーマットは不正です。',
'required' => ':attributeは必須です。',
'required_without' => ':valuesが設定されていない場合、:attributeは必須です。',
'required_without_all' => ':valuesが設定されていない場合、:attributeは必須です。',
'same' => ':attributeと:otherは一致している必要があります。',
+ 'safe_url' => '提供されたリンクは安全ではない可能性があります。',
'size' => [
'numeric' => ':attributeは:sizeである必要があります。',
'file' => ':attributeは:sizeキロバイトである必要があります。',
],
'string' => ':attributeは文字列である必要があります。',
'timezone' => ':attributeは正しいタイムゾーンである必要があります。',
+ 'totp' => '提供されたコードが無効または期限切れです。',
'unique' => ':attributeは既に使用されています。',
'url' => ':attributeのフォーマットは不正です。',
+ 'uploaded' => 'ファイルをアップロードできませんでした。サーバーがこのサイズのファイルを受け付けていない可能性があります。',
- /*
- |--------------------------------------------------------------------------
- | 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 validation lines
'custom' => [
'password-confirm' => [
'required_with' => 'パスワードの確認は必須です。',
],
],
- /*
- |--------------------------------------------------------------------------
- | 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.
- |
- */
-
+ // Custom validation attributes
'attributes' => [],
-
];