暂存
This commit is contained in:
@@ -0,0 +1,170 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validierungsmeldungen
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'accepted' => 'Das Feld :attribute muss akzeptiert werden.',
|
||||
'accepted_if' => 'Das Feld :attribute muss akzeptiert werden, wenn :other :value ist.',
|
||||
'active_url' => 'Das Feld :attribute muss eine gültige URL sein.',
|
||||
'after' => 'Das Feld :attribute muss ein Datum nach dem :date sein.',
|
||||
'after_or_equal' => 'Das Feld :attribute muss ein Datum nach oder gleich :date sein.',
|
||||
'alpha' => 'Das Feld :attribute darf nur Buchstaben enthalten.',
|
||||
'alpha_dash' => 'Das Feld :attribute darf nur Buchstaben, Zahlen, Bindestriche und Unterstriche enthalten.',
|
||||
'alpha_num' => 'Das Feld :attribute darf nur Buchstaben und Zahlen enthalten.',
|
||||
'any_of' => 'Das Feld :attribute ist ungültig.',
|
||||
'array' => 'Das Feld :attribute muss ein Array sein.',
|
||||
'ascii' => 'Das Feld :attribute darf nur einbyte alphanumerische Zeichen und Symbole enthalten.',
|
||||
'before' => 'Das Feld :attribute muss ein Datum vor dem :date sein.',
|
||||
'before_or_equal' => 'Das Feld :attribute muss ein Datum vor oder gleich :date sein.',
|
||||
'between' => [
|
||||
'array' => 'Das Feld :attribute muss zwischen :min und :max Elemente haben.',
|
||||
'file' => 'Das Feld :attribute muss zwischen :min und :max Kilobyte sein.',
|
||||
'numeric' => 'Das Feld :attribute muss zwischen :min und :max liegen.',
|
||||
'string' => 'Das Feld :attribute muss zwischen :min und :max Zeichen haben.',
|
||||
],
|
||||
'boolean' => 'Das Feld :attribute muss wahr oder falsch sein.',
|
||||
'can' => 'Das Feld :attribute enthält einen nicht autorisierten Wert.',
|
||||
'confirmed' => 'Die Bestätigung des Feldes :attribute stimmt nicht überein.',
|
||||
'contains' => 'Das Feld :attribute enthält keinen erforderlichen Wert.',
|
||||
'current_password' => 'Das Passwort ist falsch.',
|
||||
'date' => 'Das Feld :attribute muss ein gültiges Datum sein.',
|
||||
'date_equals' => 'Das Feld :attribute muss ein Datum gleich :date sein.',
|
||||
'date_format' => 'Das Feld :attribute muss dem Format :format entsprechen.',
|
||||
'decimal' => 'Das Feld :attribute muss :decimal Dezimalstellen haben.',
|
||||
'declined' => 'Das Feld :attribute muss abgelehnt werden.',
|
||||
'declined_if' => 'Das Feld :attribute muss abgelehnt werden, wenn :other :value ist.',
|
||||
'different' => 'Die Felder :attribute und :other müssen unterschiedlich sein.',
|
||||
'digits' => 'Das Feld :attribute muss :digits Ziffern haben.',
|
||||
'digits_between' => 'Das Feld :attribute muss zwischen :min und :max Ziffern haben.',
|
||||
'dimensions' => 'Das Feld :attribute hat ungültige Bildabmessungen.',
|
||||
'distinct' => 'Das Feld :attribute hat einen doppelten Wert.',
|
||||
'doesnt_contain' => 'Das Feld :attribute darf Folgendes nicht enthalten: :values.',
|
||||
'doesnt_end_with' => 'Das Feld :attribute darf nicht mit Folgendem enden: :values.',
|
||||
'doesnt_start_with' => 'Das Feld :attribute darf nicht mit Folgendem beginnen: :values.',
|
||||
'email' => 'Das Feld :attribute muss eine gültige E-Mail-Adresse sein.',
|
||||
'encoding' => 'Das Feld :attribute muss in :encoding kodiert sein.',
|
||||
'ends_with' => 'Das Feld :attribute muss mit Folgendem enden: :values.',
|
||||
'enum' => 'Die ausgewählte :attribute ist ungültig.',
|
||||
'exists' => 'Die ausgewählte :attribute ist ungültig.',
|
||||
'extensions' => 'Das Feld :attribute muss eine der folgenden Erweiterungen haben: :values.',
|
||||
'file' => 'Das Feld :attribute muss eine Datei sein.',
|
||||
'filled' => 'Das Feld :attribute muss einen Wert haben.',
|
||||
'gt' => [
|
||||
'array' => 'Das Feld :attribute muss mehr als :value Elemente haben.',
|
||||
'file' => 'Das Feld :attribute muss größer als :value Kilobyte sein.',
|
||||
'numeric' => 'Das Feld :attribute muss größer als :value sein.',
|
||||
'string' => 'Das Feld :attribute muss mehr als :value Zeichen haben.',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => 'Das Feld :attribute muss :value oder mehr Elemente haben.',
|
||||
'file' => 'Das Feld :attribute muss größer oder gleich :value Kilobyte sein.',
|
||||
'numeric' => 'Das Feld :attribute muss größer oder gleich :value sein.',
|
||||
'string' => 'Das Feld :attribute muss :value oder mehr Zeichen haben.',
|
||||
],
|
||||
'hex_color' => 'Das Feld :attribute muss eine gültige Hexadezimalfarbe sein.',
|
||||
'image' => 'Das Feld :attribute muss ein Bild sein.',
|
||||
'in' => 'Die ausgewählte :attribute ist ungültig.',
|
||||
'in_array' => 'Das Feld :attribute muss in :other existieren.',
|
||||
'in_array_keys' => 'Das Feld :attribute muss mindestens einen der folgenden Schlüssel enthalten: :values.',
|
||||
'integer' => 'Das Feld :attribute muss eine ganze Zahl sein.',
|
||||
'ip' => 'Das Feld :attribute muss eine gültige IP-Adresse sein.',
|
||||
'ipv4' => 'Das Feld :attribute muss eine gültige IPv4-Adresse sein.',
|
||||
'ipv6' => 'Das Feld :attribute muss eine gültige IPv6-Adresse sein.',
|
||||
'json' => 'Das Feld :attribute muss eine gültige JSON-Zeichenkette sein.',
|
||||
'list' => 'Das Feld :attribute muss eine Liste sein.',
|
||||
'lowercase' => 'Das Feld :attribute muss in Kleinbuchstaben sein.',
|
||||
'lt' => [
|
||||
'array' => 'Das Feld :attribute muss weniger als :value Elemente haben.',
|
||||
'file' => 'Das Feld :attribute muss kleiner als :value Kilobyte sein.',
|
||||
'numeric' => 'Das Feld :attribute muss kleiner als :value sein.',
|
||||
'string' => 'Das Feld :attribute muss weniger als :value Zeichen haben.',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => 'Das Feld :attribute darf nicht mehr als :value Elemente haben.',
|
||||
'file' => 'Das Feld :attribute muss kleiner oder gleich :value Kilobyte sein.',
|
||||
'numeric' => 'Das Feld :attribute muss kleiner oder gleich :value sein.',
|
||||
'string' => 'Das Feld :attribute darf nicht mehr als :value Zeichen haben.',
|
||||
],
|
||||
'mac_address' => 'Das Feld :attribute muss eine gültige MAC-Adresse sein.',
|
||||
'max' => [
|
||||
'array' => 'Das Feld :attribute darf nicht mehr als :max Elemente haben.',
|
||||
'file' => 'Das Feld :attribute darf nicht größer als :max Kilobyte sein.',
|
||||
'numeric' => 'Das Feld :attribute darf nicht größer als :max sein.',
|
||||
'string' => 'Das Feld :attribute darf nicht mehr als :max Zeichen haben.',
|
||||
],
|
||||
'max_digits' => 'Das Feld :attribute darf nicht mehr als :max Ziffern haben.',
|
||||
'mimes' => 'Das Feld :attribute muss eine Datei vom Typ :values sein.',
|
||||
'mimetypes' => 'Das Feld :attribute muss eine Datei vom Typ :values sein.',
|
||||
'min' => [
|
||||
'array' => 'Das Feld :attribute muss mindestens :min Elemente haben.',
|
||||
'file' => 'Das Feld :attribute muss mindestens :min Kilobyte sein.',
|
||||
'numeric' => 'Das Feld :attribute muss mindestens :min sein.',
|
||||
'string' => 'Das Feld :attribute muss mindestens :min Zeichen haben.',
|
||||
],
|
||||
'min_digits' => 'Das Feld :attribute muss mindestens :min Ziffern haben.',
|
||||
'missing' => 'Das Feld :attribute muss fehlen.',
|
||||
'missing_if' => 'Das Feld :attribute muss fehlen, wenn :other :value ist.',
|
||||
'missing_unless' => 'Das Feld :attribute muss fehlen, es sei denn :other ist :value.',
|
||||
'missing_with' => 'Das Feld :attribute muss fehlen, wenn :values vorhanden ist.',
|
||||
'missing_with_all' => 'Das Feld :attribute muss fehlen, wenn :values vorhanden sind.',
|
||||
'multiple_of' => 'Das Feld :attribute muss ein Vielfaches von :value sein.',
|
||||
'not_in' => 'Die ausgewählte :attribute ist ungültig.',
|
||||
'not_regex' => 'Das Format des Feldes :attribute ist ungültig.',
|
||||
'numeric' => 'Das Feld :attribute muss eine Zahl sein.',
|
||||
'password' => [
|
||||
'letters' => 'Das Feld :attribute muss mindestens einen Buchstaben enthalten.',
|
||||
'mixed' => 'Das Feld :attribute muss mindestens einen Groß- und einen Kleinbuchstaben enthalten.',
|
||||
'numbers' => 'Das Feld :attribute muss mindestens eine Zahl enthalten.',
|
||||
'symbols' => 'Das Feld :attribute muss mindestens ein Symbol enthalten.',
|
||||
'uncompromised' => 'Die angegebene :attribute ist in einem Datenleck aufgetaucht. Bitte wählen Sie eine andere :attribute.',
|
||||
],
|
||||
'present' => 'Das Feld :attribute muss vorhanden sein.',
|
||||
'present_if' => 'Das Feld :attribute muss vorhanden sein, wenn :other :value ist.',
|
||||
'present_unless' => 'Das Feld :attribute muss vorhanden sein, es sei denn :other ist :value.',
|
||||
'present_with' => 'Das Feld :attribute muss vorhanden sein, wenn :values vorhanden ist.',
|
||||
'present_with_all' => 'Das Feld :attribute muss vorhanden sein, wenn :values vorhanden sind.',
|
||||
'prohibited' => 'Das Feld :attribute ist verboten.',
|
||||
'prohibited_if' => 'Das Feld :attribute ist verboten, wenn :other :value ist.',
|
||||
'prohibited_if_accepted' => 'Das Feld :attribute ist verboten, wenn :other akzeptiert wird.',
|
||||
'prohibited_if_declined' => 'Das Feld :attribute ist verboten, wenn :other abgelehnt wird.',
|
||||
'prohibited_unless' => 'Das Feld :attribute ist verboten, es sei denn :other ist in :values.',
|
||||
'prohibits' => 'Das Feld :attribute verbietet die Anwesenheit von :other.',
|
||||
'regex' => 'Das Format des Feldes :attribute ist ungültig.',
|
||||
'required' => 'Das Feld :attribute ist erforderlich.',
|
||||
'required_array_keys' => 'Das Feld :attribute muss Einträge für Folgendes enthalten: :values.',
|
||||
'required_if' => 'Das Feld :attribute ist erforderlich, wenn :other :value ist.',
|
||||
'required_if_accepted' => 'Das Feld :attribute ist erforderlich, wenn :other akzeptiert wird.',
|
||||
'required_if_declined' => 'Das Feld :attribute ist erforderlich, wenn :other abgelehnt wird.',
|
||||
'required_unless' => 'Das Feld :attribute ist erforderlich, es sei denn :other ist in :values.',
|
||||
'required_with' => 'Das Feld :attribute ist erforderlich, wenn :values vorhanden ist.',
|
||||
'required_with_all' => 'Das Feld :attribute ist erforderlich, wenn :values vorhanden sind.',
|
||||
'required_without' => 'Das Feld :attribute ist erforderlich, wenn :values nicht vorhanden ist.',
|
||||
'required_without_all' => 'Das Feld :attribute ist erforderlich, wenn keines von :values vorhanden ist.',
|
||||
'same' => 'Die Felder :attribute und :other müssen übereinstimmen.',
|
||||
'size' => [
|
||||
'array' => 'Das Feld :attribute muss :size Elemente enthalten.',
|
||||
'file' => 'Das Feld :attribute muss :size Kilobyte sein.',
|
||||
'numeric' => 'Das Feld :attribute muss :size sein.',
|
||||
'string' => 'Das Feld :attribute muss :size Zeichen haben.',
|
||||
],
|
||||
'starts_with' => 'Das Feld :attribute muss mit Folgendem beginnen: :values.',
|
||||
'string' => 'Das Feld :attribute muss eine Zeichenkette sein.',
|
||||
'timezone' => 'Das Feld :attribute muss eine gültige Zeitzone sein.',
|
||||
'unique' => 'Die :attribute wurde bereits verwendet.',
|
||||
'uploaded' => 'Der Upload von :attribute ist fehlgeschlagen.',
|
||||
'uppercase' => 'Das Feld :attribute muss in Großbuchstaben sein.',
|
||||
'url' => 'Das Feld :attribute muss eine gültige URL sein.',
|
||||
'ulid' => 'Das Feld :attribute muss eine gültige ULID sein.',
|
||||
'uuid' => 'Das Feld :attribute muss eine gültige UUID sein.',
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
'attributes' => [],
|
||||
];
|
||||
@@ -0,0 +1,180 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'accepted' => 'The :attribute field must be accepted.',
|
||||
'accepted_if' => 'The :attribute field must be accepted when :other is :value.',
|
||||
'active_url' => 'The :attribute field must be a valid URL.',
|
||||
'after' => 'The :attribute field must be a date after :date.',
|
||||
'after_or_equal' => 'The :attribute field must be a date after or equal to :date.',
|
||||
'alpha' => 'The :attribute field must only contain letters.',
|
||||
'alpha_dash' => 'The :attribute field must only contain letters, numbers, dashes, and underscores.',
|
||||
'alpha_num' => 'The :attribute field must only contain letters and numbers.',
|
||||
'any_of' => 'The :attribute field is invalid.',
|
||||
'array' => 'The :attribute field must be an array.',
|
||||
'ascii' => 'The :attribute field must only contain single-byte alphanumeric characters and symbols.',
|
||||
'before' => 'The :attribute field must be a date before :date.',
|
||||
'before_or_equal' => 'The :attribute field must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'array' => 'The :attribute field must have between :min and :max items.',
|
||||
'file' => 'The :attribute field must be between :min and :max kilobytes.',
|
||||
'numeric' => 'The :attribute field must be between :min and :max.',
|
||||
'string' => 'The :attribute field must be between :min and :max characters.',
|
||||
],
|
||||
'boolean' => 'The :attribute field must be true or false.',
|
||||
'can' => 'The :attribute field contains an unauthorized value.',
|
||||
'confirmed' => 'The :attribute field confirmation does not match.',
|
||||
'contains' => 'The :attribute field is missing a required value.',
|
||||
'current_password' => 'The password is incorrect.',
|
||||
'date' => 'The :attribute field must be a valid date.',
|
||||
'date_equals' => 'The :attribute field must be a date equal to :date.',
|
||||
'date_format' => 'The :attribute field must match the format :format.',
|
||||
'decimal' => 'The :attribute field must have :decimal decimal places.',
|
||||
'declined' => 'The :attribute field must be declined.',
|
||||
'declined_if' => 'The :attribute field must be declined when :other is :value.',
|
||||
'different' => 'The :attribute field and :other must be different.',
|
||||
'digits' => 'The :attribute field must be :digits digits.',
|
||||
'digits_between' => 'The :attribute field must be between :min and :max digits.',
|
||||
'dimensions' => 'The :attribute field has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'doesnt_contain' => 'The :attribute field must not contain any of the following: :values.',
|
||||
'doesnt_end_with' => 'The :attribute field must not end with one of the following: :values.',
|
||||
'doesnt_start_with' => 'The :attribute field must not start with one of the following: :values.',
|
||||
'email' => 'The :attribute field must be a valid email address.',
|
||||
'encoding' => 'The :attribute field must be encoded in :encoding.',
|
||||
'ends_with' => 'The :attribute field must end with one of the following: :values.',
|
||||
'enum' => 'The selected :attribute is invalid.',
|
||||
'exists' => 'The selected :attribute is invalid.',
|
||||
'extensions' => 'The :attribute field must have one of the following extensions: :values.',
|
||||
'file' => 'The :attribute field must be a file.',
|
||||
'filled' => 'The :attribute field must have a value.',
|
||||
'gt' => [
|
||||
'array' => 'The :attribute field must have more than :value items.',
|
||||
'file' => 'The :attribute field must be greater than :value kilobytes.',
|
||||
'numeric' => 'The :attribute field must be greater than :value.',
|
||||
'string' => 'The :attribute field must be greater than :value characters.',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => 'The :attribute field must have :value items or more.',
|
||||
'file' => 'The :attribute field must be greater than or equal to :value kilobytes.',
|
||||
'numeric' => 'The :attribute field must be greater than or equal to :value.',
|
||||
'string' => 'The :attribute field must be greater than or equal to :value characters.',
|
||||
],
|
||||
'hex_color' => 'The :attribute field must be a valid hexadecimal color.',
|
||||
'image' => 'The :attribute field must be an image.',
|
||||
'in' => 'The selected :attribute is invalid.',
|
||||
'in_array' => 'The :attribute field must exist in :other.',
|
||||
'in_array_keys' => 'The :attribute field must contain at least one of the following keys: :values.',
|
||||
'integer' => 'The :attribute field must be an integer.',
|
||||
'ip' => 'The :attribute field must be a valid IP address.',
|
||||
'ipv4' => 'The :attribute field must be a valid IPv4 address.',
|
||||
'ipv6' => 'The :attribute field must be a valid IPv6 address.',
|
||||
'json' => 'The :attribute field must be a valid JSON string.',
|
||||
'list' => 'The :attribute field must be a list.',
|
||||
'lowercase' => 'The :attribute field must be lowercase.',
|
||||
'lt' => [
|
||||
'array' => 'The :attribute field must have less than :value items.',
|
||||
'file' => 'The :attribute field must be less than :value kilobytes.',
|
||||
'numeric' => 'The :attribute field must be less than :value.',
|
||||
'string' => 'The :attribute field must be less than :value characters.',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => 'The :attribute field must not have more than :value items.',
|
||||
'file' => 'The :attribute field must be less than or equal to :value kilobytes.',
|
||||
'numeric' => 'The :attribute field must be less than or equal to :value.',
|
||||
'string' => 'The :attribute field must be less than or equal to :value characters.',
|
||||
],
|
||||
'mac_address' => 'The :attribute field must be a valid MAC address.',
|
||||
'max' => [
|
||||
'array' => 'The :attribute field must not have more than :max items.',
|
||||
'file' => 'The :attribute field must not be greater than :max kilobytes.',
|
||||
'numeric' => 'The :attribute field must not be greater than :max.',
|
||||
'string' => 'The :attribute field must not be greater than :max characters.',
|
||||
],
|
||||
'max_digits' => 'The :attribute field must not have more than :max digits.',
|
||||
'mimes' => 'The :attribute field must be a file of type: :values.',
|
||||
'mimetypes' => 'The :attribute field must be a file of type: :values.',
|
||||
'min' => [
|
||||
'array' => 'The :attribute field must have at least :min items.',
|
||||
'file' => 'The :attribute field must be at least :min kilobytes.',
|
||||
'numeric' => 'The :attribute field must be at least :min.',
|
||||
'string' => 'The :attribute field must be at least :min characters.',
|
||||
],
|
||||
'min_digits' => 'The :attribute field must have at least :min digits.',
|
||||
'missing' => 'The :attribute field must be missing.',
|
||||
'missing_if' => 'The :attribute field must be missing when :other is :value.',
|
||||
'missing_unless' => 'The :attribute field must be missing unless :other is :value.',
|
||||
'missing_with' => 'The :attribute field must be missing when :values is present.',
|
||||
'missing_with_all' => 'The :attribute field must be missing when :values are present.',
|
||||
'multiple_of' => 'The :attribute field must be a multiple of :value.',
|
||||
'not_in' => 'The selected :attribute is invalid.',
|
||||
'not_regex' => 'The :attribute field format is invalid.',
|
||||
'numeric' => 'The :attribute field must be a number.',
|
||||
'password' => [
|
||||
'letters' => 'The :attribute field must contain at least one letter.',
|
||||
'mixed' => 'The :attribute field must contain at least one uppercase and one lowercase letter.',
|
||||
'numbers' => 'The :attribute field must contain at least one number.',
|
||||
'symbols' => 'The :attribute field must contain at least one symbol.',
|
||||
'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.',
|
||||
],
|
||||
'present' => 'The :attribute field must be present.',
|
||||
'present_if' => 'The :attribute field must be present when :other is :value.',
|
||||
'present_unless' => 'The :attribute field must be present unless :other is :value.',
|
||||
'present_with' => 'The :attribute field must be present when :values is present.',
|
||||
'present_with_all' => 'The :attribute field must be present when :values are present.',
|
||||
'prohibited' => 'The :attribute field is prohibited.',
|
||||
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
|
||||
'prohibited_if_accepted' => 'The :attribute field is prohibited when :other is accepted.',
|
||||
'prohibited_if_declined' => 'The :attribute field is prohibited when :other is declined.',
|
||||
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
|
||||
'prohibits' => 'The :attribute field prohibits :other from being present.',
|
||||
'regex' => 'The :attribute field format is invalid.',
|
||||
'required' => 'The :attribute field is required.',
|
||||
'required_array_keys' => 'The :attribute field must contain entries for: :values.',
|
||||
'required_if' => 'The :attribute field is required when :other is :value.',
|
||||
'required_if_accepted' => 'The :attribute field is required when :other is accepted.',
|
||||
'required_if_declined' => 'The :attribute field is required when :other is declined.',
|
||||
'required_unless' => 'The :attribute field is required unless :other is in :values.',
|
||||
'required_with' => 'The :attribute field is required when :values is present.',
|
||||
'required_with_all' => 'The :attribute field is required when :values are present.',
|
||||
'required_without' => 'The :attribute field is required when :values is not present.',
|
||||
'required_without_all' => 'The :attribute field is required when none of :values are present.',
|
||||
'same' => 'The :attribute field must match :other.',
|
||||
'size' => [
|
||||
'array' => 'The :attribute field must contain :size items.',
|
||||
'file' => 'The :attribute field must be :size kilobytes.',
|
||||
'numeric' => 'The :attribute field must be :size.',
|
||||
'string' => 'The :attribute field must be :size characters.',
|
||||
],
|
||||
'starts_with' => 'The :attribute field must start with one of the following: :values.',
|
||||
'string' => 'The :attribute field must be a string.',
|
||||
'timezone' => 'The :attribute field must be a valid timezone.',
|
||||
'unique' => 'The :attribute has already been taken.',
|
||||
'uploaded' => 'The :attribute failed to upload.',
|
||||
'uppercase' => 'The :attribute field must be uppercase.',
|
||||
'url' => 'The :attribute field must be a valid URL.',
|
||||
'ulid' => 'The :attribute field must be a valid ULID.',
|
||||
'uuid' => 'The :attribute field must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Attributes
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'attributes' => [],
|
||||
];
|
||||
@@ -0,0 +1,170 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Mensajes de validación
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'accepted' => 'El campo :attribute debe ser aceptado.',
|
||||
'accepted_if' => 'El campo :attribute debe ser aceptado cuando :other sea :value.',
|
||||
'active_url' => 'El campo :attribute debe ser una URL válida.',
|
||||
'after' => 'El campo :attribute debe ser una fecha posterior a :date.',
|
||||
'after_or_equal' => 'El campo :attribute debe ser una fecha posterior o igual a :date.',
|
||||
'alpha' => 'El campo :attribute solo debe contener letras.',
|
||||
'alpha_dash' => 'El campo :attribute solo debe contener letras, números, guiones y guiones bajos.',
|
||||
'alpha_num' => 'El campo :attribute solo debe contener letras y números.',
|
||||
'any_of' => 'El campo :attribute no es válido.',
|
||||
'array' => 'El campo :attribute debe ser un array.',
|
||||
'ascii' => 'El campo :attribute solo debe contener caracteres alfanuméricos y símbolos de un byte.',
|
||||
'before' => 'El campo :attribute debe ser una fecha anterior a :date.',
|
||||
'before_or_equal' => 'El campo :attribute debe ser una fecha anterior o igual a :date.',
|
||||
'between' => [
|
||||
'array' => 'El campo :attribute debe tener entre :min y :max elementos.',
|
||||
'file' => 'El campo :attribute debe tener entre :min y :max kilobytes.',
|
||||
'numeric' => 'El campo :attribute debe estar entre :min y :max.',
|
||||
'string' => 'El campo :attribute debe tener entre :min y :max caracteres.',
|
||||
],
|
||||
'boolean' => 'El campo :attribute debe ser verdadero o falso.',
|
||||
'can' => 'El campo :attribute contiene un valor no autorizado.',
|
||||
'confirmed' => 'La confirmación del campo :attribute no coincide.',
|
||||
'contains' => 'El campo :attribute no contiene un valor requerido.',
|
||||
'current_password' => 'La contraseña es incorrecta.',
|
||||
'date' => 'El campo :attribute debe ser una fecha válida.',
|
||||
'date_equals' => 'El campo :attribute debe ser una fecha igual a :date.',
|
||||
'date_format' => 'El campo :attribute debe coincidir con el formato :format.',
|
||||
'decimal' => 'El campo :attribute debe tener :decimal decimales.',
|
||||
'declined' => 'El campo :attribute debe ser rechazado.',
|
||||
'declined_if' => 'El campo :attribute debe ser rechazado cuando :other sea :value.',
|
||||
'different' => 'Los campos :attribute y :other deben ser diferentes.',
|
||||
'digits' => 'El campo :attribute debe tener :digits dígitos.',
|
||||
'digits_between' => 'El campo :attribute debe tener entre :min y :max dígitos.',
|
||||
'dimensions' => 'El campo :attribute tiene dimensiones de imagen inválidas.',
|
||||
'distinct' => 'El campo :attribute tiene un valor duplicado.',
|
||||
'doesnt_contain' => 'El campo :attribute no debe contener: :values.',
|
||||
'doesnt_end_with' => 'El campo :attribute no debe terminar con: :values.',
|
||||
'doesnt_start_with' => 'El campo :attribute no debe comenzar con: :values.',
|
||||
'email' => 'El campo :attribute debe ser una dirección de correo electrónico válida.',
|
||||
'encoding' => 'El campo :attribute debe estar codificado en :encoding.',
|
||||
'ends_with' => 'El campo :attribute debe terminar con: :values.',
|
||||
'enum' => 'El :attribute seleccionado no es válido.',
|
||||
'exists' => 'El :attribute seleccionado no es válido.',
|
||||
'extensions' => 'El campo :attribute debe tener una de las siguientes extensiones: :values.',
|
||||
'file' => 'El campo :attribute debe ser un archivo.',
|
||||
'filled' => 'El campo :attribute debe tener un valor.',
|
||||
'gt' => [
|
||||
'array' => 'El campo :attribute debe tener más de :value elementos.',
|
||||
'file' => 'El campo :attribute debe ser mayor que :value kilobytes.',
|
||||
'numeric' => 'El campo :attribute debe ser mayor que :value.',
|
||||
'string' => 'El campo :attribute debe tener más de :value caracteres.',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => 'El campo :attribute debe tener :value elementos o más.',
|
||||
'file' => 'El campo :attribute debe ser mayor o igual que :value kilobytes.',
|
||||
'numeric' => 'El campo :attribute debe ser mayor o igual que :value.',
|
||||
'string' => 'El campo :attribute debe tener :value caracteres o más.',
|
||||
],
|
||||
'hex_color' => 'El campo :attribute debe ser un color hexadecimal válido.',
|
||||
'image' => 'El campo :attribute debe ser una imagen.',
|
||||
'in' => 'El :attribute seleccionado no es válido.',
|
||||
'in_array' => 'El campo :attribute debe existir en :other.',
|
||||
'in_array_keys' => 'El campo :attribute debe contener al menos una de las siguientes claves: :values.',
|
||||
'integer' => 'El campo :attribute debe ser un número entero.',
|
||||
'ip' => 'El campo :attribute debe ser una dirección IP válida.',
|
||||
'ipv4' => 'El campo :attribute debe ser una dirección IPv4 válida.',
|
||||
'ipv6' => 'El campo :attribute debe ser una dirección IPv6 válida.',
|
||||
'json' => 'El campo :attribute debe ser una cadena JSON válida.',
|
||||
'list' => 'El campo :attribute debe ser una lista.',
|
||||
'lowercase' => 'El campo :attribute debe estar en minúsculas.',
|
||||
'lt' => [
|
||||
'array' => 'El campo :attribute debe tener menos de :value elementos.',
|
||||
'file' => 'El campo :attribute debe ser menor que :value kilobytes.',
|
||||
'numeric' => 'El campo :attribute debe ser menor que :value.',
|
||||
'string' => 'El campo :attribute debe tener menos de :value caracteres.',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => 'El campo :attribute no debe tener más de :value elementos.',
|
||||
'file' => 'El campo :attribute debe ser menor o igual que :value kilobytes.',
|
||||
'numeric' => 'El campo :attribute debe ser menor o igual que :value.',
|
||||
'string' => 'El campo :attribute debe tener :value caracteres o menos.',
|
||||
],
|
||||
'mac_address' => 'El campo :attribute debe ser una dirección MAC válida.',
|
||||
'max' => [
|
||||
'array' => 'El campo :attribute no debe tener más de :max elementos.',
|
||||
'file' => 'El campo :attribute no debe ser mayor que :max kilobytes.',
|
||||
'numeric' => 'El campo :attribute no debe ser mayor que :max.',
|
||||
'string' => 'El campo :attribute no debe tener más de :max caracteres.',
|
||||
],
|
||||
'max_digits' => 'El campo :attribute no debe tener más de :max dígitos.',
|
||||
'mimes' => 'El campo :attribute debe ser un archivo de tipo: :values.',
|
||||
'mimetypes' => 'El campo :attribute debe ser un archivo de tipo: :values.',
|
||||
'min' => [
|
||||
'array' => 'El campo :attribute debe tener al menos :min elementos.',
|
||||
'file' => 'El campo :attribute debe tener al menos :min kilobytes.',
|
||||
'numeric' => 'El campo :attribute debe ser al menos :min.',
|
||||
'string' => 'El campo :attribute debe tener al menos :min caracteres.',
|
||||
],
|
||||
'min_digits' => 'El campo :attribute debe tener al menos :min dígitos.',
|
||||
'missing' => 'El campo :attribute debe estar ausente.',
|
||||
'missing_if' => 'El campo :attribute debe estar ausente cuando :other sea :value.',
|
||||
'missing_unless' => 'El campo :attribute debe estar ausente a menos que :other sea :value.',
|
||||
'missing_with' => 'El campo :attribute debe estar ausente cuando :values esté presente.',
|
||||
'missing_with_all' => 'El campo :attribute debe estar ausente cuando :values estén presentes.',
|
||||
'multiple_of' => 'El campo :attribute debe ser un múltiplo de :value.',
|
||||
'not_in' => 'El :attribute seleccionado no es válido.',
|
||||
'not_regex' => 'El formato del campo :attribute no es válido.',
|
||||
'numeric' => 'El campo :attribute debe ser un número.',
|
||||
'password' => [
|
||||
'letters' => 'El campo :attribute debe contener al menos una letra.',
|
||||
'mixed' => 'El campo :attribute debe contener al menos una mayúscula y una minúscula.',
|
||||
'numbers' => 'El campo :attribute debe contener al menos un número.',
|
||||
'symbols' => 'El campo :attribute debe contener al menos un símbolo.',
|
||||
'uncompromised' => 'El :attribute proporcionado ha aparecido en una filtración de datos. Por favor elija un :attribute diferente.',
|
||||
],
|
||||
'present' => 'El campo :attribute debe estar presente.',
|
||||
'present_if' => 'El campo :attribute debe estar presente cuando :other sea :value.',
|
||||
'present_unless' => 'El campo :attribute debe estar presente a menos que :other sea :value.',
|
||||
'present_with' => 'El campo :attribute debe estar presente cuando :values esté presente.',
|
||||
'present_with_all' => 'El campo :attribute debe estar presente cuando :values estén presentes.',
|
||||
'prohibited' => 'El campo :attribute está prohibido.',
|
||||
'prohibited_if' => 'El campo :attribute está prohibido cuando :other sea :value.',
|
||||
'prohibited_if_accepted' => 'El campo :attribute está prohibido cuando :other sea aceptado.',
|
||||
'prohibited_if_declined' => 'El campo :attribute está prohibido cuando :other sea rechazado.',
|
||||
'prohibited_unless' => 'El campo :attribute está prohibido a menos que :other esté en :values.',
|
||||
'prohibits' => 'El campo :attribute prohíbe que :other esté presente.',
|
||||
'regex' => 'El formato del campo :attribute no es válido.',
|
||||
'required' => 'El campo :attribute es obligatorio.',
|
||||
'required_array_keys' => 'El campo :attribute debe contener entradas para: :values.',
|
||||
'required_if' => 'El campo :attribute es obligatorio cuando :other sea :value.',
|
||||
'required_if_accepted' => 'El campo :attribute es obligatorio cuando :other sea aceptado.',
|
||||
'required_if_declined' => 'El campo :attribute es obligatorio cuando :other sea rechazado.',
|
||||
'required_unless' => 'El campo :attribute es obligatorio a menos que :other esté en :values.',
|
||||
'required_with' => 'El campo :attribute es obligatorio cuando :values esté presente.',
|
||||
'required_with_all' => 'El campo :attribute es obligatorio cuando :values estén presentes.',
|
||||
'required_without' => 'El campo :attribute es obligatorio cuando :values no esté presente.',
|
||||
'required_without_all' => 'El campo :attribute es obligatorio cuando ninguno de :values esté presente.',
|
||||
'same' => 'Los campos :attribute y :other deben coincidir.',
|
||||
'size' => [
|
||||
'array' => 'El campo :attribute debe contener :size elementos.',
|
||||
'file' => 'El campo :attribute debe tener :size kilobytes.',
|
||||
'numeric' => 'El campo :attribute debe ser :size.',
|
||||
'string' => 'El campo :attribute debe tener :size caracteres.',
|
||||
],
|
||||
'starts_with' => 'El campo :attribute debe comenzar con: :values.',
|
||||
'string' => 'El campo :attribute debe ser una cadena de caracteres.',
|
||||
'timezone' => 'El campo :attribute debe ser una zona horaria válida.',
|
||||
'unique' => 'El :attribute ya ha sido utilizado.',
|
||||
'uploaded' => 'La subida del :attribute ha fallado.',
|
||||
'uppercase' => 'El campo :attribute debe estar en mayúsculas.',
|
||||
'url' => 'El campo :attribute debe ser una URL válida.',
|
||||
'ulid' => 'El campo :attribute debe ser un ULID válido.',
|
||||
'uuid' => 'El campo :attribute debe ser un UUID válido.',
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
'attributes' => [],
|
||||
];
|
||||
@@ -0,0 +1,170 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages de validation
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'accepted' => 'Le champ :attribute doit être accepté.',
|
||||
'accepted_if' => 'Le champ :attribute doit être accepté lorsque :other est :value.',
|
||||
'active_url' => 'Le champ :attribute doit être une URL valide.',
|
||||
'after' => 'Le champ :attribute doit être une date postérieure à :date.',
|
||||
'after_or_equal' => 'Le champ :attribute doit être une date postérieure ou égale à :date.',
|
||||
'alpha' => 'Le champ :attribute ne doit contenir que des lettres.',
|
||||
'alpha_dash' => 'Le champ :attribute ne doit contenir que des lettres, des chiffres, des tirets et des underscores.',
|
||||
'alpha_num' => 'Le champ :attribute ne doit contenir que des lettres et des chiffres.',
|
||||
'any_of' => 'Le champ :attribute est invalide.',
|
||||
'array' => 'Le champ :attribute doit être un tableau.',
|
||||
'ascii' => 'Le champ :attribute ne doit contenir que des caractères alphanumériques et des symboles sur un octet.',
|
||||
'before' => 'Le champ :attribute doit être une date antérieure à :date.',
|
||||
'before_or_equal' => 'Le champ :attribute doit être une date antérieure ou égale à :date.',
|
||||
'between' => [
|
||||
'array' => 'Le champ :attribute doit contenir entre :min et :max éléments.',
|
||||
'file' => 'Le champ :attribute doit être entre :min et :max kilo-octets.',
|
||||
'numeric' => 'Le champ :attribute doit être entre :min et :max.',
|
||||
'string' => 'Le champ :attribute doit contenir entre :min et :max caractères.',
|
||||
],
|
||||
'boolean' => 'Le champ :attribute doit être vrai ou faux.',
|
||||
'can' => 'Le champ :attribute contient une valeur non autorisée.',
|
||||
'confirmed' => 'La confirmation du champ :attribute ne correspond pas.',
|
||||
'contains' => 'Le champ :attribute ne contient pas une valeur requise.',
|
||||
'current_password' => 'Le mot de passe est incorrect.',
|
||||
'date' => 'Le champ :attribute doit être une date valide.',
|
||||
'date_equals' => 'Le champ :attribute doit être une date égale à :date.',
|
||||
'date_format' => 'Le champ :attribute doit correspondre au format :format.',
|
||||
'decimal' => 'Le champ :attribute doit avoir :decimal décimales.',
|
||||
'declined' => 'Le champ :attribute doit être refusé.',
|
||||
'declined_if' => 'Le champ :attribute doit être refusé lorsque :other est :value.',
|
||||
'different' => 'Les champs :attribute et :other doivent être différents.',
|
||||
'digits' => 'Le champ :attribute doit contenir :digits chiffres.',
|
||||
'digits_between' => 'Le champ :attribute doit contenir entre :min et :max chiffres.',
|
||||
'dimensions' => 'Le champ :attribute a des dimensions d\'image invalides.',
|
||||
'distinct' => 'Le champ :attribute a une valeur en double.',
|
||||
'doesnt_contain' => 'Le champ :attribute ne doit pas contenir :values.',
|
||||
'doesnt_end_with' => 'Le champ :attribute ne doit pas se terminer par :values.',
|
||||
'doesnt_start_with' => 'Le champ :attribute ne doit pas commencer par :values.',
|
||||
'email' => 'Le champ :attribute doit être une adresse e-mail valide.',
|
||||
'encoding' => 'Le champ :attribute doit être encodé en :encoding.',
|
||||
'ends_with' => 'Le champ :attribute doit se terminer par :values.',
|
||||
'enum' => 'Le :attribute sélectionné est invalide.',
|
||||
'exists' => 'Le :attribute sélectionné est invalide.',
|
||||
'extensions' => 'Le champ :attribute doit avoir l\'une des extensions suivantes : :values.',
|
||||
'file' => 'Le champ :attribute doit être un fichier.',
|
||||
'filled' => 'Le champ :attribute doit avoir une valeur.',
|
||||
'gt' => [
|
||||
'array' => 'Le champ :attribute doit contenir plus de :value éléments.',
|
||||
'file' => 'Le champ :attribute doit être supérieur à :value kilo-octets.',
|
||||
'numeric' => 'Le champ :attribute doit être supérieur à :value.',
|
||||
'string' => 'Le champ :attribute doit contenir plus de :value caractères.',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => 'Le champ :attribute doit contenir :value éléments ou plus.',
|
||||
'file' => 'Le champ :attribute doit être supérieur ou égal à :value kilo-octets.',
|
||||
'numeric' => 'Le champ :attribute doit être supérieur ou égal à :value.',
|
||||
'string' => 'Le champ :attribute doit contenir :value caractères ou plus.',
|
||||
],
|
||||
'hex_color' => 'Le champ :attribute doit être une couleur hexadécimale valide.',
|
||||
'image' => 'Le champ :attribute doit être une image.',
|
||||
'in' => 'Le :attribute sélectionné est invalide.',
|
||||
'in_array' => 'Le champ :attribute doit exister dans :other.',
|
||||
'in_array_keys' => 'Le champ :attribute doit contenir au moins une des clés suivantes : :values.',
|
||||
'integer' => 'Le champ :attribute doit être un entier.',
|
||||
'ip' => 'Le champ :attribute doit être une adresse IP valide.',
|
||||
'ipv4' => 'Le champ :attribute doit être une adresse IPv4 valide.',
|
||||
'ipv6' => 'Le champ :attribute doit être une adresse IPv6 valide.',
|
||||
'json' => 'Le champ :attribute doit être une chaîne JSON valide.',
|
||||
'list' => 'Le champ :attribute doit être une liste.',
|
||||
'lowercase' => 'Le champ :attribute doit être en minuscules.',
|
||||
'lt' => [
|
||||
'array' => 'Le champ :attribute doit contenir moins de :value éléments.',
|
||||
'file' => 'Le champ :attribute doit être inférieur à :value kilo-octets.',
|
||||
'numeric' => 'Le champ :attribute doit être inférieur à :value.',
|
||||
'string' => 'Le champ :attribute doit contenir moins de :value caractères.',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => 'Le champ :attribute ne doit pas contenir plus de :value éléments.',
|
||||
'file' => 'Le champ :attribute doit être inférieur ou égal à :value kilo-octets.',
|
||||
'numeric' => 'Le champ :attribute doit être inférieur ou égal à :value.',
|
||||
'string' => 'Le champ :attribute doit contenir :value caractères ou moins.',
|
||||
],
|
||||
'mac_address' => 'Le champ :attribute doit être une adresse MAC valide.',
|
||||
'max' => [
|
||||
'array' => 'Le champ :attribute ne doit pas contenir plus de :max éléments.',
|
||||
'file' => 'Le champ :attribute ne doit pas dépasser :max kilo-octets.',
|
||||
'numeric' => 'Le champ :attribute ne doit pas être supérieur à :max.',
|
||||
'string' => 'Le champ :attribute ne doit pas contenir plus de :max caractères.',
|
||||
],
|
||||
'max_digits' => 'Le champ :attribute ne doit pas contenir plus de :max chiffres.',
|
||||
'mimes' => 'Le champ :attribute doit être un fichier de type : :values.',
|
||||
'mimetypes' => 'Le champ :attribute doit être un fichier de type : :values.',
|
||||
'min' => [
|
||||
'array' => 'Le champ :attribute doit contenir au moins :min éléments.',
|
||||
'file' => 'Le champ :attribute doit faire au moins :min kilo-octets.',
|
||||
'numeric' => 'Le champ :attribute doit être au moins :min.',
|
||||
'string' => 'Le champ :attribute doit contenir au moins :min caractères.',
|
||||
],
|
||||
'min_digits' => 'Le champ :attribute doit contenir au moins :min chiffres.',
|
||||
'missing' => 'Le champ :attribute doit être absent.',
|
||||
'missing_if' => 'Le champ :attribute doit être absent lorsque :other est :value.',
|
||||
'missing_unless' => 'Le champ :attribute doit être absent sauf si :other est :value.',
|
||||
'missing_with' => 'Le champ :attribute doit être absent lorsque :values est présent.',
|
||||
'missing_with_all' => 'Le champ :attribute doit être absent lorsque :values sont présents.',
|
||||
'multiple_of' => 'Le champ :attribute doit être un multiple de :value.',
|
||||
'not_in' => 'Le :attribute sélectionné est invalide.',
|
||||
'not_regex' => 'Le format du champ :attribute est invalide.',
|
||||
'numeric' => 'Le champ :attribute doit être un nombre.',
|
||||
'password' => [
|
||||
'letters' => 'Le champ :attribute doit contenir au moins une lettre.',
|
||||
'mixed' => 'Le champ :attribute doit contenir au moins une majuscule et une minuscule.',
|
||||
'numbers' => 'Le champ :attribute doit contenir au moins un chiffre.',
|
||||
'symbols' => 'Le champ :attribute doit contenir au moins un symbole.',
|
||||
'uncompromised' => 'Le :attribute donné est apparu dans une fuite de données. Veuillez choisir un autre :attribute.',
|
||||
],
|
||||
'present' => 'Le champ :attribute doit être présent.',
|
||||
'present_if' => 'Le champ :attribute doit être présent lorsque :other est :value.',
|
||||
'present_unless' => 'Le champ :attribute doit être présent sauf si :other est :value.',
|
||||
'present_with' => 'Le champ :attribute doit être présent lorsque :values est présent.',
|
||||
'present_with_all' => 'Le champ :attribute doit être présent lorsque :values sont présents.',
|
||||
'prohibited' => 'Le champ :attribute est interdit.',
|
||||
'prohibited_if' => 'Le champ :attribute est interdit lorsque :other est :value.',
|
||||
'prohibited_if_accepted' => 'Le champ :attribute est interdit lorsque :other est accepté.',
|
||||
'prohibited_if_declined' => 'Le champ :attribute est interdit lorsque :other est refusé.',
|
||||
'prohibited_unless' => 'Le champ :attribute est interdit sauf si :other est dans :values.',
|
||||
'prohibits' => 'Le champ :attribute interdit la présence de :other.',
|
||||
'regex' => 'Le format du champ :attribute est invalide.',
|
||||
'required' => 'Le champ :attribute est obligatoire.',
|
||||
'required_array_keys' => 'Le champ :attribute doit contenir les entrées suivantes : :values.',
|
||||
'required_if' => 'Le champ :attribute est obligatoire lorsque :other est :value.',
|
||||
'required_if_accepted' => 'Le champ :attribute est obligatoire lorsque :other est accepté.',
|
||||
'required_if_declined' => 'Le champ :attribute est obligatoire lorsque :other est refusé.',
|
||||
'required_unless' => 'Le champ :attribute est obligatoire sauf si :other est dans :values.',
|
||||
'required_with' => 'Le champ :attribute est obligatoire lorsque :values est présent.',
|
||||
'required_with_all' => 'Le champ :attribute est obligatoire lorsque :values sont présents.',
|
||||
'required_without' => 'Le champ :attribute est obligatoire lorsque :values n\'est pas présent.',
|
||||
'required_without_all' => 'Le champ :attribute est obligatoire lorsqu\'aucun de :values n\'est présent.',
|
||||
'same' => 'Les champs :attribute et :other doivent correspondre.',
|
||||
'size' => [
|
||||
'array' => 'Le champ :attribute doit contenir :size éléments.',
|
||||
'file' => 'Le champ :attribute doit faire :size kilo-octets.',
|
||||
'numeric' => 'Le champ :attribute doit être :size.',
|
||||
'string' => 'Le champ :attribute doit contenir :size caractères.',
|
||||
],
|
||||
'starts_with' => 'Le champ :attribute doit commencer par :values.',
|
||||
'string' => 'Le champ :attribute doit être une chaîne de caractères.',
|
||||
'timezone' => 'Le champ :attribute doit être un fuseau horaire valide.',
|
||||
'unique' => 'Le :attribute a déjà été utilisé.',
|
||||
'uploaded' => 'Le téléchargement du :attribute a échoué.',
|
||||
'uppercase' => 'Le champ :attribute doit être en majuscules.',
|
||||
'url' => 'Le champ :attribute doit être une URL valide.',
|
||||
'ulid' => 'Le champ :attribute doit être un ULID valide.',
|
||||
'uuid' => 'Le champ :attribute doit être un UUID valide.',
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
'attributes' => [],
|
||||
];
|
||||
@@ -0,0 +1,170 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Pesan validasi
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'accepted' => 'Bidang :attribute harus diterima.',
|
||||
'accepted_if' => 'Bidang :attribute harus diterima ketika :other adalah :value.',
|
||||
'active_url' => 'Bidang :attribute harus berupa URL yang valid.',
|
||||
'after' => 'Bidang :attribute harus berupa tanggal setelah :date.',
|
||||
'after_or_equal' => 'Bidang :attribute harus berupa tanggal setelah atau sama dengan :date.',
|
||||
'alpha' => 'Bidang :attribute hanya boleh berisi huruf.',
|
||||
'alpha_dash' => 'Bidang :attribute hanya boleh berisi huruf, angka, tanda hubung, dan garis bawah.',
|
||||
'alpha_num' => 'Bidang :attribute hanya boleh berisi huruf dan angka.',
|
||||
'any_of' => 'Bidang :attribute tidak valid.',
|
||||
'array' => 'Bidang :attribute harus berupa array.',
|
||||
'ascii' => 'Bidang :attribute hanya boleh berisi karakter alfanumerik dan simbol satu byte.',
|
||||
'before' => 'Bidang :attribute harus berupa tanggal sebelum :date.',
|
||||
'before_or_equal' => 'Bidang :attribute harus berupa tanggal sebelum atau sama dengan :date.',
|
||||
'between' => [
|
||||
'array' => 'Bidang :attribute harus memiliki antara :min dan :max item.',
|
||||
'file' => 'Bidang :attribute harus antara :min dan :max kilobyte.',
|
||||
'numeric' => 'Bidang :attribute harus antara :min dan :max.',
|
||||
'string' => 'Bidang :attribute harus antara :min dan :max karakter.',
|
||||
],
|
||||
'boolean' => 'Bidang :attribute harus benar atau salah.',
|
||||
'can' => 'Bidang :attribute berisi nilai yang tidak diizinkan.',
|
||||
'confirmed' => 'Konfirmasi bidang :attribute tidak cocok.',
|
||||
'contains' => 'Bidang :attribute tidak berisi nilai yang wajib.',
|
||||
'current_password' => 'Kata sandi salah.',
|
||||
'date' => 'Bidang :attribute harus berupa tanggal yang valid.',
|
||||
'date_equals' => 'Bidang :attribute harus berupa tanggal yang sama dengan :date.',
|
||||
'date_format' => 'Bidang :attribute harus sesuai format :format.',
|
||||
'decimal' => 'Bidang :attribute harus memiliki :decimal tempat desimal.',
|
||||
'declined' => 'Bidang :attribute harus ditolak.',
|
||||
'declined_if' => 'Bidang :attribute harus ditolak ketika :other adalah :value.',
|
||||
'different' => 'Bidang :attribute dan :other harus berbeda.',
|
||||
'digits' => 'Bidang :attribute harus :digits digit.',
|
||||
'digits_between' => 'Bidang :attribute harus antara :min dan :max digit.',
|
||||
'dimensions' => 'Bidang :attribute memiliki dimensi gambar yang tidak valid.',
|
||||
'distinct' => 'Bidang :attribute memiliki nilai duplikat.',
|
||||
'doesnt_contain' => 'Bidang :attribute tidak boleh berisi: :values.',
|
||||
'doesnt_end_with' => 'Bidang :attribute tidak boleh diakhiri dengan: :values.',
|
||||
'doesnt_start_with' => 'Bidang :attribute tidak boleh diawali dengan: :values.',
|
||||
'email' => 'Bidang :attribute harus berupa alamat email yang valid.',
|
||||
'encoding' => 'Bidang :attribute harus dikodekan dalam :encoding.',
|
||||
'ends_with' => 'Bidang :attribute harus diakhiri dengan: :values.',
|
||||
'enum' => ':attribute yang dipilih tidak valid.',
|
||||
'exists' => ':attribute yang dipilih tidak valid.',
|
||||
'extensions' => 'Bidang :attribute harus memiliki salah satu ekstensi berikut: :values.',
|
||||
'file' => 'Bidang :attribute harus berupa file.',
|
||||
'filled' => 'Bidang :attribute harus memiliki nilai.',
|
||||
'gt' => [
|
||||
'array' => 'Bidang :attribute harus memiliki lebih dari :value item.',
|
||||
'file' => 'Bidang :attribute harus lebih besar dari :value kilobyte.',
|
||||
'numeric' => 'Bidang :attribute harus lebih besar dari :value.',
|
||||
'string' => 'Bidang :attribute harus lebih dari :value karakter.',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => 'Bidang :attribute harus memiliki :value item atau lebih.',
|
||||
'file' => 'Bidang :attribute harus lebih besar atau sama dengan :value kilobyte.',
|
||||
'numeric' => 'Bidang :attribute harus lebih besar atau sama dengan :value.',
|
||||
'string' => 'Bidang :attribute harus :value karakter atau lebih.',
|
||||
],
|
||||
'hex_color' => 'Bidang :attribute harus berupa warna heksadesimal yang valid.',
|
||||
'image' => 'Bidang :attribute harus berupa gambar.',
|
||||
'in' => ':attribute yang dipilih tidak valid.',
|
||||
'in_array' => 'Bidang :attribute harus ada di :other.',
|
||||
'in_array_keys' => 'Bidang :attribute harus berisi setidaknya salah satu kunci berikut: :values.',
|
||||
'integer' => 'Bidang :attribute harus berupa bilangan bulat.',
|
||||
'ip' => 'Bidang :attribute harus berupa alamat IP yang valid.',
|
||||
'ipv4' => 'Bidang :attribute harus berupa alamat IPv4 yang valid.',
|
||||
'ipv6' => 'Bidang :attribute harus berupa alamat IPv6 yang valid.',
|
||||
'json' => 'Bidang :attribute harus berupa string JSON yang valid.',
|
||||
'list' => 'Bidang :attribute harus berupa daftar.',
|
||||
'lowercase' => 'Bidang :attribute harus huruf kecil.',
|
||||
'lt' => [
|
||||
'array' => 'Bidang :attribute harus memiliki kurang dari :value item.',
|
||||
'file' => 'Bidang :attribute harus kurang dari :value kilobyte.',
|
||||
'numeric' => 'Bidang :attribute harus kurang dari :value.',
|
||||
'string' => 'Bidang :attribute harus kurang dari :value karakter.',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => 'Bidang :attribute tidak boleh memiliki lebih dari :value item.',
|
||||
'file' => 'Bidang :attribute harus kurang dari atau sama dengan :value kilobyte.',
|
||||
'numeric' => 'Bidang :attribute harus kurang dari atau sama dengan :value.',
|
||||
'string' => 'Bidang :attribute harus :value karakter atau kurang.',
|
||||
],
|
||||
'mac_address' => 'Bidang :attribute harus berupa alamat MAC yang valid.',
|
||||
'max' => [
|
||||
'array' => 'Bidang :attribute tidak boleh memiliki lebih dari :max item.',
|
||||
'file' => 'Bidang :attribute tidak boleh lebih besar dari :max kilobyte.',
|
||||
'numeric' => 'Bidang :attribute tidak boleh lebih besar dari :max.',
|
||||
'string' => 'Bidang :attribute tidak boleh lebih dari :max karakter.',
|
||||
],
|
||||
'max_digits' => 'Bidang :attribute tidak boleh memiliki lebih dari :max digit.',
|
||||
'mimes' => 'Bidang :attribute harus berupa file bertipe: :values.',
|
||||
'mimetypes' => 'Bidang :attribute harus berupa file bertipe: :values.',
|
||||
'min' => [
|
||||
'array' => 'Bidang :attribute harus memiliki setidaknya :min item.',
|
||||
'file' => 'Bidang :attribute harus setidaknya :min kilobyte.',
|
||||
'numeric' => 'Bidang :attribute harus setidaknya :min.',
|
||||
'string' => 'Bidang :attribute harus setidaknya :min karakter.',
|
||||
],
|
||||
'min_digits' => 'Bidang :attribute harus memiliki setidaknya :min digit.',
|
||||
'missing' => 'Bidang :attribute harus tidak ada.',
|
||||
'missing_if' => 'Bidang :attribute harus tidak ada ketika :other adalah :value.',
|
||||
'missing_unless' => 'Bidang :attribute harus tidak ada kecuali :other adalah :value.',
|
||||
'missing_with' => 'Bidang :attribute harus tidak ada ketika :values ada.',
|
||||
'missing_with_all' => 'Bidang :attribute harus tidak ada ketika :values ada.',
|
||||
'multiple_of' => 'Bidang :attribute harus kelipatan dari :value.',
|
||||
'not_in' => ':attribute yang dipilih tidak valid.',
|
||||
'not_regex' => 'Format bidang :attribute tidak valid.',
|
||||
'numeric' => 'Bidang :attribute harus berupa angka.',
|
||||
'password' => [
|
||||
'letters' => 'Bidang :attribute harus berisi setidaknya satu huruf.',
|
||||
'mixed' => 'Bidang :attribute harus berisi setidaknya satu huruf besar dan satu huruf kecil.',
|
||||
'numbers' => 'Bidang :attribute harus berisi setidaknya satu angka.',
|
||||
'symbols' => 'Bidang :attribute harus berisi setidaknya satu simbol.',
|
||||
'uncompromised' => ':attribute yang diberikan telah muncul dalam kebocoran data. Silakan pilih :attribute yang berbeda.',
|
||||
],
|
||||
'present' => 'Bidang :attribute harus ada.',
|
||||
'present_if' => 'Bidang :attribute harus ada ketika :other adalah :value.',
|
||||
'present_unless' => 'Bidang :attribute harus ada kecuali :other adalah :value.',
|
||||
'present_with' => 'Bidang :attribute harus ada ketika :values ada.',
|
||||
'present_with_all' => 'Bidang :attribute harus ada ketika :values ada.',
|
||||
'prohibited' => 'Bidang :attribute dilarang.',
|
||||
'prohibited_if' => 'Bidang :attribute dilarang ketika :other adalah :value.',
|
||||
'prohibited_if_accepted' => 'Bidang :attribute dilarang ketika :other diterima.',
|
||||
'prohibited_if_declined' => 'Bidang :attribute dilarang ketika :other ditolak.',
|
||||
'prohibited_unless' => 'Bidang :attribute dilarang kecuali :other ada di :values.',
|
||||
'prohibits' => 'Bidang :attribute melarang :other untuk ada.',
|
||||
'regex' => 'Format bidang :attribute tidak valid.',
|
||||
'required' => 'Bidang :attribute wajib diisi.',
|
||||
'required_array_keys' => 'Bidang :attribute harus berisi entri untuk: :values.',
|
||||
'required_if' => 'Bidang :attribute wajib diisi ketika :other adalah :value.',
|
||||
'required_if_accepted' => 'Bidang :attribute wajib diisi ketika :other diterima.',
|
||||
'required_if_declined' => 'Bidang :attribute wajib diisi ketika :other ditolak.',
|
||||
'required_unless' => 'Bidang :attribute wajib diisi kecuali :other ada di :values.',
|
||||
'required_with' => 'Bidang :attribute wajib diisi ketika :values ada.',
|
||||
'required_with_all' => 'Bidang :attribute wajib diisi ketika :values ada.',
|
||||
'required_without' => 'Bidang :attribute wajib diisi ketika :values tidak ada.',
|
||||
'required_without_all' => 'Bidang :attribute wajib diisi ketika tidak ada :values.',
|
||||
'same' => 'Bidang :attribute dan :other harus cocok.',
|
||||
'size' => [
|
||||
'array' => 'Bidang :attribute harus berisi :size item.',
|
||||
'file' => 'Bidang :attribute harus :size kilobyte.',
|
||||
'numeric' => 'Bidang :attribute harus :size.',
|
||||
'string' => 'Bidang :attribute harus :size karakter.',
|
||||
],
|
||||
'starts_with' => 'Bidang :attribute harus diawali dengan: :values.',
|
||||
'string' => 'Bidang :attribute harus berupa string.',
|
||||
'timezone' => 'Bidang :attribute harus berupa zona waktu yang valid.',
|
||||
'unique' => ':attribute sudah digunakan.',
|
||||
'uploaded' => 'Unggah :attribute gagal.',
|
||||
'uppercase' => 'Bidang :attribute harus huruf besar.',
|
||||
'url' => 'Bidang :attribute harus berupa URL yang valid.',
|
||||
'ulid' => 'Bidang :attribute harus berupa ULID yang valid.',
|
||||
'uuid' => 'Bidang :attribute harus berupa UUID yang valid.',
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
'attributes' => [],
|
||||
];
|
||||
@@ -0,0 +1,170 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| バリデーション文言
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'accepted' => ':attribute を受け入れる必要があります。',
|
||||
'accepted_if' => ':other が :value の場合、:attribute を受け入れる必要があります。',
|
||||
'active_url' => ':attribute は有効なURLである必要があります。',
|
||||
'after' => ':attribute は :date より後の日付である必要があります。',
|
||||
'after_or_equal' => ':attribute は :date 以降の日付である必要があります。',
|
||||
'alpha' => ':attribute は英字のみを含む必要があります。',
|
||||
'alpha_dash' => ':attribute は英字、数字、ハイフン、アンダースコアのみを含む必要があります。',
|
||||
'alpha_num' => ':attribute は英字と数字のみを含む必要があります。',
|
||||
'any_of' => ':attribute は無効です。',
|
||||
'array' => ':attribute は配列である必要があります。',
|
||||
'ascii' => ':attribute はASCII文字のみを含む必要があります。',
|
||||
'before' => ':attribute は :date より前の日付である必要があります。',
|
||||
'before_or_equal' => ':attribute は :date 以前の日付である必要があります。',
|
||||
'between' => [
|
||||
'array' => ':attribute は :min から :max 個である必要があります。',
|
||||
'file' => ':attribute は :min から :max KB である必要があります。',
|
||||
'numeric' => ':attribute は :min から :max の間である必要があります。',
|
||||
'string' => ':attribute は :min から :max 文字である必要があります。',
|
||||
],
|
||||
'boolean' => ':attribute は真偽値である必要があります。',
|
||||
'can' => ':attribute に許可されていない値が含まれています。',
|
||||
'confirmed' => ':attribute の確認が一致しません。',
|
||||
'contains' => ':attribute に必須の値が含まれていません。',
|
||||
'current_password' => 'パスワードが正しくありません。',
|
||||
'date' => ':attribute は有効な日付である必要があります。',
|
||||
'date_equals' => ':attribute は :date と等しい日付である必要があります。',
|
||||
'date_format' => ':attribute は :format 形式である必要があります。',
|
||||
'decimal' => ':attribute は :decimal 桁の小数である必要があります。',
|
||||
'declined' => ':attribute は拒否する必要があります。',
|
||||
'declined_if' => ':other が :value の場合、:attribute は拒否する必要があります。',
|
||||
'different' => ':attribute と :other は異なる必要があります。',
|
||||
'digits' => ':attribute は :digits 桁の数字である必要があります。',
|
||||
'digits_between' => ':attribute は :min から :max 桁の数字である必要があります。',
|
||||
'dimensions' => ':attribute の画像サイズが無効です。',
|
||||
'distinct' => ':attribute に重複した値があります。',
|
||||
'doesnt_contain' => ':attribute に以下を含めることはできません::values。',
|
||||
'doesnt_end_with' => ':attribute は以下で終わってはいけません::values。',
|
||||
'doesnt_start_with' => ':attribute は以下で始まってはいけません::values。',
|
||||
'email' => ':attribute は有効なメールアドレスである必要があります。',
|
||||
'encoding' => ':attribute は :encoding でエンコードされている必要があります。',
|
||||
'ends_with' => ':attribute は以下で終わる必要があります::values。',
|
||||
'enum' => '選択した :attribute は無効です。',
|
||||
'exists' => '選択した :attribute は無効です。',
|
||||
'extensions' => ':attribute は以下の拡張子のいずれかである必要があります::values。',
|
||||
'file' => ':attribute はファイルである必要があります。',
|
||||
'filled' => ':attribute には値が必要です。',
|
||||
'gt' => [
|
||||
'array' => ':attribute は :value 個より多い必要があります。',
|
||||
'file' => ':attribute は :value KB より大きい必要があります。',
|
||||
'numeric' => ':attribute は :value より大きい必要があります。',
|
||||
'string' => ':attribute は :value 文字より多い必要があります。',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => ':attribute は :value 個以上である必要があります。',
|
||||
'file' => ':attribute は :value KB 以上である必要があります。',
|
||||
'numeric' => ':attribute は :value 以上である必要があります。',
|
||||
'string' => ':attribute は :value 文字以上である必要があります。',
|
||||
],
|
||||
'hex_color' => ':attribute は有効な16進数カラーである必要があります。',
|
||||
'image' => ':attribute は画像である必要があります。',
|
||||
'in' => '選択した :attribute は無効です。',
|
||||
'in_array' => ':attribute は :other に存在する必要があります。',
|
||||
'in_array_keys' => ':attribute は以下のキーのいずれかを含む必要があります::values。',
|
||||
'integer' => ':attribute は整数である必要があります。',
|
||||
'ip' => ':attribute は有効なIPアドレスである必要があります。',
|
||||
'ipv4' => ':attribute は有効なIPv4アドレスである必要があります。',
|
||||
'ipv6' => ':attribute は有効なIPv6アドレスである必要があります。',
|
||||
'json' => ':attribute は有効なJSON文字列である必要があります。',
|
||||
'list' => ':attribute はリストである必要があります。',
|
||||
'lowercase' => ':attribute は小文字である必要があります。',
|
||||
'lt' => [
|
||||
'array' => ':attribute は :value 個未満である必要があります。',
|
||||
'file' => ':attribute は :value KB 未満である必要があります。',
|
||||
'numeric' => ':attribute は :value 未満である必要があります。',
|
||||
'string' => ':attribute は :value 文字未満である必要があります。',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => ':attribute は :value 個以下である必要があります。',
|
||||
'file' => ':attribute は :value KB 以下である必要があります。',
|
||||
'numeric' => ':attribute は :value 以下である必要があります。',
|
||||
'string' => ':attribute は :value 文字以下である必要があります。',
|
||||
],
|
||||
'mac_address' => ':attribute は有効なMACアドレスである必要があります。',
|
||||
'max' => [
|
||||
'array' => ':attribute は :max 個以下である必要があります。',
|
||||
'file' => ':attribute は :max KB 以下である必要があります。',
|
||||
'numeric' => ':attribute は :max 以下である必要があります。',
|
||||
'string' => ':attribute は :max 文字以下である必要があります。',
|
||||
],
|
||||
'max_digits' => ':attribute は :max 桁以下である必要があります。',
|
||||
'mimes' => ':attribute は :values タイプのファイルである必要があります。',
|
||||
'mimetypes' => ':attribute は :values タイプのファイルである必要があります。',
|
||||
'min' => [
|
||||
'array' => ':attribute は少なくとも :min 個である必要があります。',
|
||||
'file' => ':attribute は少なくとも :min KB である必要があります。',
|
||||
'numeric' => ':attribute は少なくとも :min である必要があります。',
|
||||
'string' => ':attribute は少なくとも :min 文字である必要があります。',
|
||||
],
|
||||
'min_digits' => ':attribute は少なくとも :min 桁である必要があります。',
|
||||
'missing' => ':attribute は存在してはいけません。',
|
||||
'missing_if' => ':other が :value の場合、:attribute は存在してはいけません。',
|
||||
'missing_unless' => ':other が :value でない限り、:attribute は存在してはいけません。',
|
||||
'missing_with' => ':values が存在する場合、:attribute は存在してはいけません。',
|
||||
'missing_with_all' => ':values がすべて存在する場合、:attribute は存在してはいけません。',
|
||||
'multiple_of' => ':attribute は :value の倍数である必要があります。',
|
||||
'not_in' => '選択した :attribute は無効です。',
|
||||
'not_regex' => ':attribute の形式が無効です。',
|
||||
'numeric' => ':attribute は数値である必要があります。',
|
||||
'password' => [
|
||||
'letters' => ':attribute は少なくとも1文字の英字を含む必要があります。',
|
||||
'mixed' => ':attribute は少なくとも1つの大文字と1つの小文字を含む必要があります。',
|
||||
'numbers' => ':attribute は少なくとも1つの数字を含む必要があります。',
|
||||
'symbols' => ':attribute は少なくとも1つの記号を含む必要があります。',
|
||||
'uncompromised' => ':attribute はデータ漏洩で発見されました。別の :attribute を選択してください。',
|
||||
],
|
||||
'present' => ':attribute は存在する必要があります。',
|
||||
'present_if' => ':other が :value の場合、:attribute は存在する必要があります。',
|
||||
'present_unless' => ':other が :value でない限り、:attribute は存在する必要があります。',
|
||||
'present_with' => ':values が存在する場合、:attribute は存在する必要があります。',
|
||||
'present_with_all' => ':values がすべて存在する場合、:attribute は存在する必要があります。',
|
||||
'prohibited' => ':attribute は禁止されています。',
|
||||
'prohibited_if' => ':other が :value の場合、:attribute は禁止されています。',
|
||||
'prohibited_if_accepted' => ':other が受け入れられた場合、:attribute は禁止されています。',
|
||||
'prohibited_if_declined' => ':other が拒否された場合、:attribute は禁止されています。',
|
||||
'prohibited_unless' => ':other が :values に含まれていない限り、:attribute は禁止されています。',
|
||||
'prohibits' => ':attribute が存在する場合、:other は禁止されています。',
|
||||
'regex' => ':attribute の形式が無効です。',
|
||||
'required' => ':attribute は必須です。',
|
||||
'required_array_keys' => ':attribute は以下のキーを含む必要があります::values。',
|
||||
'required_if' => ':other が :value の場合、:attribute は必須です。',
|
||||
'required_if_accepted' => ':other が受け入れられた場合、:attribute は必須です。',
|
||||
'required_if_declined' => ':other が拒否された場合、: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' => [
|
||||
'array' => ':attribute は :size 個である必要があります。',
|
||||
'file' => ':attribute は :size KB である必要があります。',
|
||||
'numeric' => ':attribute は :size である必要があります。',
|
||||
'string' => ':attribute は :size 文字である必要があります。',
|
||||
],
|
||||
'starts_with' => ':attribute は以下で始まる必要があります::values。',
|
||||
'string' => ':attribute は文字列である必要があります。',
|
||||
'timezone' => ':attribute は有効なタイムゾーンである必要があります。',
|
||||
'unique' => ':attribute は既に使用されています。',
|
||||
'uploaded' => ':attribute のアップロードに失敗しました。',
|
||||
'uppercase' => ':attribute は大文字である必要があります。',
|
||||
'url' => ':attribute は有効なURLである必要があります。',
|
||||
'ulid' => ':attribute は有効なULIDである必要があります。',
|
||||
'uuid' => ':attribute は有効なUUIDである必要があります。',
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
'attributes' => [],
|
||||
];
|
||||
@@ -0,0 +1,170 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 유효성 검사 메시지
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'accepted' => ':attribute을(를) 수락해야 합니다.',
|
||||
'accepted_if' => ':other이(가) :value일 때 :attribute을(를) 수락해야 합니다.',
|
||||
'active_url' => ':attribute은(는) 유효한 URL이어야 합니다.',
|
||||
'after' => ':attribute은(는) :date 이후 날짜여야 합니다.',
|
||||
'after_or_equal' => ':attribute은(는) :date 이후이거나 같은 날짜여야 합니다.',
|
||||
'alpha' => ':attribute은(는) 문자만 포함해야 합니다.',
|
||||
'alpha_dash' => ':attribute은(는) 문자, 숫자, 대시, 밑줄만 포함해야 합니다.',
|
||||
'alpha_num' => ':attribute은(는) 문자와 숫자만 포함해야 합니다.',
|
||||
'any_of' => ':attribute이(가) 유효하지 않습니다.',
|
||||
'array' => ':attribute은(는) 배열이어야 합니다.',
|
||||
'ascii' => ':attribute은(는) ASCII 문자만 포함해야 합니다.',
|
||||
'before' => ':attribute은(는) :date 이전 날짜여야 합니다.',
|
||||
'before_or_equal' => ':attribute은(는) :date 이전이거나 같은 날짜여야 합니다.',
|
||||
'between' => [
|
||||
'array' => ':attribute은(는) :min개에서 :max개 사이여야 합니다.',
|
||||
'file' => ':attribute은(는) :min KB에서 :max KB 사이여야 합니다.',
|
||||
'numeric' => ':attribute은(는) :min에서 :max 사이여야 합니다.',
|
||||
'string' => ':attribute은(는) :min자에서 :max자 사이여야 합니다.',
|
||||
],
|
||||
'boolean' => ':attribute은(는) 참 또는 거짓이어야 합니다.',
|
||||
'can' => ':attribute에 허용되지 않은 값이 포함되어 있습니다.',
|
||||
'confirmed' => ':attribute 확인이 일치하지 않습니다.',
|
||||
'contains' => ':attribute에 필수 값이 없습니다.',
|
||||
'current_password' => '비밀번호가 올바르지 않습니다.',
|
||||
'date' => ':attribute은(는) 유효한 날짜여야 합니다.',
|
||||
'date_equals' => ':attribute은(는) :date와 같은 날짜여야 합니다.',
|
||||
'date_format' => ':attribute은(는) :format 형식이어야 합니다.',
|
||||
'decimal' => ':attribute은(는) :decimal자리 소수여야 합니다.',
|
||||
'declined' => ':attribute을(를) 거부해야 합니다.',
|
||||
'declined_if' => ':other이(가) :value일 때 :attribute을(를) 거부해야 합니다.',
|
||||
'different' => ':attribute과(와) :other은(는) 달라야 합니다.',
|
||||
'digits' => ':attribute은(는) :digits자리 숫자여야 합니다.',
|
||||
'digits_between' => ':attribute은(는) :min자리에서 :max자리 숫자여야 합니다.',
|
||||
'dimensions' => ':attribute 이미지 크기가 유효하지 않습니다.',
|
||||
'distinct' => ':attribute에 중복된 값이 있습니다.',
|
||||
'doesnt_contain' => ':attribute에 다음을 포함할 수 없습니다: :values.',
|
||||
'doesnt_end_with' => ':attribute은(는) 다음으로 끝나면 안 됩니다: :values.',
|
||||
'doesnt_start_with' => ':attribute은(는) 다음으로 시작하면 안 됩니다: :values.',
|
||||
'email' => ':attribute은(는) 유효한 이메일 주소여야 합니다.',
|
||||
'encoding' => ':attribute은(는) :encoding으로 인코딩되어야 합니다.',
|
||||
'ends_with' => ':attribute은(는) 다음 중 하나로 끝나야 합니다: :values.',
|
||||
'enum' => '선택한 :attribute이(가) 유효하지 않습니다.',
|
||||
'exists' => '선택한 :attribute이(가) 유효하지 않습니다.',
|
||||
'extensions' => ':attribute은(는) 다음 확장자 중 하나여야 합니다: :values.',
|
||||
'file' => ':attribute은(는) 파일이어야 합니다.',
|
||||
'filled' => ':attribute에는 값이 있어야 합니다.',
|
||||
'gt' => [
|
||||
'array' => ':attribute은(는) :value개보다 많아야 합니다.',
|
||||
'file' => ':attribute은(는) :value KB보다 커야 합니다.',
|
||||
'numeric' => ':attribute은(는) :value보다 커야 합니다.',
|
||||
'string' => ':attribute은(는) :value자보다 많아야 합니다.',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => ':attribute은(는) :value개 이상이어야 합니다.',
|
||||
'file' => ':attribute은(는) :value KB 이상이어야 합니다.',
|
||||
'numeric' => ':attribute은(는) :value 이상이어야 합니다.',
|
||||
'string' => ':attribute은(는) :value자 이상이어야 합니다.',
|
||||
],
|
||||
'hex_color' => ':attribute은(는) 유효한 16진수 색상이어야 합니다.',
|
||||
'image' => ':attribute은(는) 이미지여야 합니다.',
|
||||
'in' => '선택한 :attribute이(가) 유효하지 않습니다.',
|
||||
'in_array' => ':attribute은(는) :other에 존재해야 합니다.',
|
||||
'in_array_keys' => ':attribute은(는) 다음 키 중 하나를 포함해야 합니다: :values.',
|
||||
'integer' => ':attribute은(는) 정수여야 합니다.',
|
||||
'ip' => ':attribute은(는) 유효한 IP 주소여야 합니다.',
|
||||
'ipv4' => ':attribute은(는) 유효한 IPv4 주소여야 합니다.',
|
||||
'ipv6' => ':attribute은(는) 유효한 IPv6 주소여야 합니다.',
|
||||
'json' => ':attribute은(는) 유효한 JSON 문자열이어야 합니다.',
|
||||
'list' => ':attribute은(는) 목록이어야 합니다.',
|
||||
'lowercase' => ':attribute은(는) 소문자여야 합니다.',
|
||||
'lt' => [
|
||||
'array' => ':attribute은(는) :value개 미만이어야 합니다.',
|
||||
'file' => ':attribute은(는) :value KB 미만이어야 합니다.',
|
||||
'numeric' => ':attribute은(는) :value 미만이어야 합니다.',
|
||||
'string' => ':attribute은(는) :value자 미만이어야 합니다.',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => ':attribute은(는) :value개 이하여야 합니다.',
|
||||
'file' => ':attribute은(는) :value KB 이하여야 합니다.',
|
||||
'numeric' => ':attribute은(는) :value 이하여야 합니다.',
|
||||
'string' => ':attribute은(는) :value자 이하여야 합니다.',
|
||||
],
|
||||
'mac_address' => ':attribute은(는) 유효한 MAC 주소여야 합니다.',
|
||||
'max' => [
|
||||
'array' => ':attribute은(는) :max개 이하여야 합니다.',
|
||||
'file' => ':attribute은(는) :max KB 이하여야 합니다.',
|
||||
'numeric' => ':attribute은(는) :max 이하여야 합니다.',
|
||||
'string' => ':attribute은(는) :max자 이하여야 합니다.',
|
||||
],
|
||||
'max_digits' => ':attribute은(는) :max자리 이하여야 합니다.',
|
||||
'mimes' => ':attribute은(는) :values 유형의 파일이어야 합니다.',
|
||||
'mimetypes' => ':attribute은(는) :values 유형의 파일이어야 합니다.',
|
||||
'min' => [
|
||||
'array' => ':attribute은(는) 최소 :min개여야 합니다.',
|
||||
'file' => ':attribute은(는) 최소 :min KB여야 합니다.',
|
||||
'numeric' => ':attribute은(는) 최소 :min이어야 합니다.',
|
||||
'string' => ':attribute은(는) 최소 :min자여야 합니다.',
|
||||
],
|
||||
'min_digits' => ':attribute은(는) 최소 :min자리여야 합니다.',
|
||||
'missing' => ':attribute은(는) 없어야 합니다.',
|
||||
'missing_if' => ':other이(가) :value일 때 :attribute은(는) 없어야 합니다.',
|
||||
'missing_unless' => ':other이(가) :value가 아니면 :attribute은(는) 없어야 합니다.',
|
||||
'missing_with' => ':values이(가) 있으면 :attribute은(는) 없어야 합니다.',
|
||||
'missing_with_all' => ':values이(가) 모두 있으면 :attribute은(는) 없어야 합니다.',
|
||||
'multiple_of' => ':attribute은(는) :value의 배수여야 합니다.',
|
||||
'not_in' => '선택한 :attribute이(가) 유효하지 않습니다.',
|
||||
'not_regex' => ':attribute 형식이 유효하지 않습니다.',
|
||||
'numeric' => ':attribute은(는) 숫자여야 합니다.',
|
||||
'password' => [
|
||||
'letters' => ':attribute은(는) 최소 한 개의 문자를 포함해야 합니다.',
|
||||
'mixed' => ':attribute은(는) 최소 한 개의 대문자와 한 개의 소문자를 포함해야 합니다.',
|
||||
'numbers' => ':attribute은(는) 최소 한 개의 숫자를 포함해야 합니다.',
|
||||
'symbols' => ':attribute은(는) 최소 한 개의 기호를 포함해야 합니다.',
|
||||
'uncompromised' => ':attribute이(가) 데이터 유출에서 발견되었습니다. 다른 :attribute을(를) 선택하세요.',
|
||||
],
|
||||
'present' => ':attribute이(가) 있어야 합니다.',
|
||||
'present_if' => ':other이(가) :value일 때 :attribute이(가) 있어야 합니다.',
|
||||
'present_unless' => ':other이(가) :value가 아니면 :attribute이(가) 있어야 합니다.',
|
||||
'present_with' => ':values이(가) 있으면 :attribute이(가) 있어야 합니다.',
|
||||
'present_with_all' => ':values이(가) 모두 있으면 :attribute이(가) 있어야 합니다.',
|
||||
'prohibited' => ':attribute은(는) 금지되어 있습니다.',
|
||||
'prohibited_if' => ':other이(가) :value일 때 :attribute은(는) 금지되어 있습니다.',
|
||||
'prohibited_if_accepted' => ':other이(가) 수락되면 :attribute은(는) 금지되어 있습니다.',
|
||||
'prohibited_if_declined' => ':other이(가) 거부되면 :attribute은(는) 금지되어 있습니다.',
|
||||
'prohibited_unless' => ':other이(가) :values에 없으면 :attribute은(는) 금지되어 있습니다.',
|
||||
'prohibits' => ':attribute이(가) 있으면 :other은(는) 금지되어 있습니다.',
|
||||
'regex' => ':attribute 형식이 유효하지 않습니다.',
|
||||
'required' => ':attribute은(는) 필수입니다.',
|
||||
'required_array_keys' => ':attribute은(는) 다음 키를 포함해야 합니다: :values.',
|
||||
'required_if' => ':other이(가) :value일 때 :attribute은(는) 필수입니다.',
|
||||
'required_if_accepted' => ':other이(가) 수락되면 :attribute은(는) 필수입니다.',
|
||||
'required_if_declined' => ':other이(가) 거부되면 :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' => [
|
||||
'array' => ':attribute은(는) :size개여야 합니다.',
|
||||
'file' => ':attribute은(는) :size KB여야 합니다.',
|
||||
'numeric' => ':attribute은(는) :size여야 합니다.',
|
||||
'string' => ':attribute은(는) :size자여야 합니다.',
|
||||
],
|
||||
'starts_with' => ':attribute은(는) 다음 중 하나로 시작해야 합니다: :values.',
|
||||
'string' => ':attribute은(는) 문자열이어야 합니다.',
|
||||
'timezone' => ':attribute은(는) 유효한 시간대여야 합니다.',
|
||||
'unique' => ':attribute은(는) 이미 사용 중입니다.',
|
||||
'uploaded' => ':attribute 업로드에 실패했습니다.',
|
||||
'uppercase' => ':attribute은(는) 대문자여야 합니다.',
|
||||
'url' => ':attribute은(는) 유효한 URL이어야 합니다.',
|
||||
'ulid' => ':attribute은(는) 유효한 ULID여야 합니다.',
|
||||
'uuid' => ':attribute은(는) 유효한 UUID여야 합니다.',
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
'attributes' => [],
|
||||
];
|
||||
@@ -0,0 +1,170 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Mensagens de validação
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'accepted' => 'O campo :attribute deve ser aceito.',
|
||||
'accepted_if' => 'O campo :attribute deve ser aceito quando :other for :value.',
|
||||
'active_url' => 'O campo :attribute deve ser uma URL válida.',
|
||||
'after' => 'O campo :attribute deve ser uma data posterior a :date.',
|
||||
'after_or_equal' => 'O campo :attribute deve ser uma data posterior ou igual a :date.',
|
||||
'alpha' => 'O campo :attribute deve conter apenas letras.',
|
||||
'alpha_dash' => 'O campo :attribute deve conter apenas letras, números, traços e sublinhados.',
|
||||
'alpha_num' => 'O campo :attribute deve conter apenas letras e números.',
|
||||
'any_of' => 'O campo :attribute é inválido.',
|
||||
'array' => 'O campo :attribute deve ser um array.',
|
||||
'ascii' => 'O campo :attribute deve conter apenas caracteres alfanuméricos e símbolos de um byte.',
|
||||
'before' => 'O campo :attribute deve ser uma data anterior a :date.',
|
||||
'before_or_equal' => 'O campo :attribute deve ser uma data anterior ou igual a :date.',
|
||||
'between' => [
|
||||
'array' => 'O campo :attribute deve ter entre :min e :max itens.',
|
||||
'file' => 'O campo :attribute deve ter entre :min e :max kilobytes.',
|
||||
'numeric' => 'O campo :attribute deve estar entre :min e :max.',
|
||||
'string' => 'O campo :attribute deve ter entre :min e :max caracteres.',
|
||||
],
|
||||
'boolean' => 'O campo :attribute deve ser verdadeiro ou falso.',
|
||||
'can' => 'O campo :attribute contém um valor não autorizado.',
|
||||
'confirmed' => 'A confirmação do campo :attribute não corresponde.',
|
||||
'contains' => 'O campo :attribute não contém um valor obrigatório.',
|
||||
'current_password' => 'A senha está incorreta.',
|
||||
'date' => 'O campo :attribute deve ser uma data válida.',
|
||||
'date_equals' => 'O campo :attribute deve ser uma data igual a :date.',
|
||||
'date_format' => 'O campo :attribute deve corresponder ao formato :format.',
|
||||
'decimal' => 'O campo :attribute deve ter :decimal casas decimais.',
|
||||
'declined' => 'O campo :attribute deve ser recusado.',
|
||||
'declined_if' => 'O campo :attribute deve ser recusado quando :other for :value.',
|
||||
'different' => 'Os campos :attribute e :other devem ser diferentes.',
|
||||
'digits' => 'O campo :attribute deve ter :digits dígitos.',
|
||||
'digits_between' => 'O campo :attribute deve ter entre :min e :max dígitos.',
|
||||
'dimensions' => 'O campo :attribute tem dimensões de imagem inválidas.',
|
||||
'distinct' => 'O campo :attribute tem um valor duplicado.',
|
||||
'doesnt_contain' => 'O campo :attribute não deve conter: :values.',
|
||||
'doesnt_end_with' => 'O campo :attribute não deve terminar com: :values.',
|
||||
'doesnt_start_with' => 'O campo :attribute não deve começar com: :values.',
|
||||
'email' => 'O campo :attribute deve ser um endereço de e-mail válido.',
|
||||
'encoding' => 'O campo :attribute deve estar codificado em :encoding.',
|
||||
'ends_with' => 'O campo :attribute deve terminar com: :values.',
|
||||
'enum' => 'O :attribute selecionado é inválido.',
|
||||
'exists' => 'O :attribute selecionado é inválido.',
|
||||
'extensions' => 'O campo :attribute deve ter uma das seguintes extensões: :values.',
|
||||
'file' => 'O campo :attribute deve ser um arquivo.',
|
||||
'filled' => 'O campo :attribute deve ter um valor.',
|
||||
'gt' => [
|
||||
'array' => 'O campo :attribute deve ter mais de :value itens.',
|
||||
'file' => 'O campo :attribute deve ser maior que :value kilobytes.',
|
||||
'numeric' => 'O campo :attribute deve ser maior que :value.',
|
||||
'string' => 'O campo :attribute deve ter mais de :value caracteres.',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => 'O campo :attribute deve ter :value itens ou mais.',
|
||||
'file' => 'O campo :attribute deve ser maior ou igual a :value kilobytes.',
|
||||
'numeric' => 'O campo :attribute deve ser maior ou igual a :value.',
|
||||
'string' => 'O campo :attribute deve ter :value caracteres ou mais.',
|
||||
],
|
||||
'hex_color' => 'O campo :attribute deve ser uma cor hexadecimal válida.',
|
||||
'image' => 'O campo :attribute deve ser uma imagem.',
|
||||
'in' => 'O :attribute selecionado é inválido.',
|
||||
'in_array' => 'O campo :attribute deve existir em :other.',
|
||||
'in_array_keys' => 'O campo :attribute deve conter pelo menos uma das seguintes chaves: :values.',
|
||||
'integer' => 'O campo :attribute deve ser um número inteiro.',
|
||||
'ip' => 'O campo :attribute deve ser um endereço IP válido.',
|
||||
'ipv4' => 'O campo :attribute deve ser um endereço IPv4 válido.',
|
||||
'ipv6' => 'O campo :attribute deve ser um endereço IPv6 válido.',
|
||||
'json' => 'O campo :attribute deve ser uma string JSON válida.',
|
||||
'list' => 'O campo :attribute deve ser uma lista.',
|
||||
'lowercase' => 'O campo :attribute deve estar em minúsculas.',
|
||||
'lt' => [
|
||||
'array' => 'O campo :attribute deve ter menos de :value itens.',
|
||||
'file' => 'O campo :attribute deve ser menor que :value kilobytes.',
|
||||
'numeric' => 'O campo :attribute deve ser menor que :value.',
|
||||
'string' => 'O campo :attribute deve ter menos de :value caracteres.',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => 'O campo :attribute não deve ter mais de :value itens.',
|
||||
'file' => 'O campo :attribute deve ser menor ou igual a :value kilobytes.',
|
||||
'numeric' => 'O campo :attribute deve ser menor ou igual a :value.',
|
||||
'string' => 'O campo :attribute deve ter :value caracteres ou menos.',
|
||||
],
|
||||
'mac_address' => 'O campo :attribute deve ser um endereço MAC válido.',
|
||||
'max' => [
|
||||
'array' => 'O campo :attribute não deve ter mais de :max itens.',
|
||||
'file' => 'O campo :attribute não deve ser maior que :max kilobytes.',
|
||||
'numeric' => 'O campo :attribute não deve ser maior que :max.',
|
||||
'string' => 'O campo :attribute não deve ter mais de :max caracteres.',
|
||||
],
|
||||
'max_digits' => 'O campo :attribute não deve ter mais de :max dígitos.',
|
||||
'mimes' => 'O campo :attribute deve ser um arquivo do tipo: :values.',
|
||||
'mimetypes' => 'O campo :attribute deve ser um arquivo do tipo: :values.',
|
||||
'min' => [
|
||||
'array' => 'O campo :attribute deve ter pelo menos :min itens.',
|
||||
'file' => 'O campo :attribute deve ter pelo menos :min kilobytes.',
|
||||
'numeric' => 'O campo :attribute deve ser pelo menos :min.',
|
||||
'string' => 'O campo :attribute deve ter pelo menos :min caracteres.',
|
||||
],
|
||||
'min_digits' => 'O campo :attribute deve ter pelo menos :min dígitos.',
|
||||
'missing' => 'O campo :attribute deve estar ausente.',
|
||||
'missing_if' => 'O campo :attribute deve estar ausente quando :other for :value.',
|
||||
'missing_unless' => 'O campo :attribute deve estar ausente a menos que :other seja :value.',
|
||||
'missing_with' => 'O campo :attribute deve estar ausente quando :values estiver presente.',
|
||||
'missing_with_all' => 'O campo :attribute deve estar ausente quando :values estiverem presentes.',
|
||||
'multiple_of' => 'O campo :attribute deve ser um múltiplo de :value.',
|
||||
'not_in' => 'O :attribute selecionado é inválido.',
|
||||
'not_regex' => 'O formato do campo :attribute é inválido.',
|
||||
'numeric' => 'O campo :attribute deve ser um número.',
|
||||
'password' => [
|
||||
'letters' => 'O campo :attribute deve conter pelo menos uma letra.',
|
||||
'mixed' => 'O campo :attribute deve conter pelo menos uma letra maiúscula e uma minúscula.',
|
||||
'numbers' => 'O campo :attribute deve conter pelo menos um número.',
|
||||
'symbols' => 'O campo :attribute deve conter pelo menos um símbolo.',
|
||||
'uncompromised' => 'O :attribute fornecido apareceu em um vazamento de dados. Por favor, escolha um :attribute diferente.',
|
||||
],
|
||||
'present' => 'O campo :attribute deve estar presente.',
|
||||
'present_if' => 'O campo :attribute deve estar presente quando :other for :value.',
|
||||
'present_unless' => 'O campo :attribute deve estar presente a menos que :other seja :value.',
|
||||
'present_with' => 'O campo :attribute deve estar presente quando :values estiver presente.',
|
||||
'present_with_all' => 'O campo :attribute deve estar presente quando :values estiverem presentes.',
|
||||
'prohibited' => 'O campo :attribute é proibido.',
|
||||
'prohibited_if' => 'O campo :attribute é proibido quando :other for :value.',
|
||||
'prohibited_if_accepted' => 'O campo :attribute é proibido quando :other for aceito.',
|
||||
'prohibited_if_declined' => 'O campo :attribute é proibido quando :other for recusado.',
|
||||
'prohibited_unless' => 'O campo :attribute é proibido a menos que :other esteja em :values.',
|
||||
'prohibits' => 'O campo :attribute proíbe que :other esteja presente.',
|
||||
'regex' => 'O formato do campo :attribute é inválido.',
|
||||
'required' => 'O campo :attribute é obrigatório.',
|
||||
'required_array_keys' => 'O campo :attribute deve conter entradas para: :values.',
|
||||
'required_if' => 'O campo :attribute é obrigatório quando :other for :value.',
|
||||
'required_if_accepted' => 'O campo :attribute é obrigatório quando :other for aceito.',
|
||||
'required_if_declined' => 'O campo :attribute é obrigatório quando :other for recusado.',
|
||||
'required_unless' => 'O campo :attribute é obrigatório a menos que :other esteja em :values.',
|
||||
'required_with' => 'O campo :attribute é obrigatório quando :values estiver presente.',
|
||||
'required_with_all' => 'O campo :attribute é obrigatório quando :values estiverem presentes.',
|
||||
'required_without' => 'O campo :attribute é obrigatório quando :values não estiver presente.',
|
||||
'required_without_all' => 'O campo :attribute é obrigatório quando nenhum de :values estiver presente.',
|
||||
'same' => 'Os campos :attribute e :other devem corresponder.',
|
||||
'size' => [
|
||||
'array' => 'O campo :attribute deve conter :size itens.',
|
||||
'file' => 'O campo :attribute deve ter :size kilobytes.',
|
||||
'numeric' => 'O campo :attribute deve ser :size.',
|
||||
'string' => 'O campo :attribute deve ter :size caracteres.',
|
||||
],
|
||||
'starts_with' => 'O campo :attribute deve começar com: :values.',
|
||||
'string' => 'O campo :attribute deve ser uma string.',
|
||||
'timezone' => 'O campo :attribute deve ser um fuso horário válido.',
|
||||
'unique' => 'O :attribute já foi utilizado.',
|
||||
'uploaded' => 'O upload do :attribute falhou.',
|
||||
'uppercase' => 'O campo :attribute deve estar em maiúsculas.',
|
||||
'url' => 'O campo :attribute deve ser uma URL válida.',
|
||||
'ulid' => 'O campo :attribute deve ser um ULID válido.',
|
||||
'uuid' => 'O campo :attribute deve ser um UUID válido.',
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
'attributes' => [],
|
||||
];
|
||||
@@ -0,0 +1,170 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Сообщения валидации
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'accepted' => 'Поле :attribute должно быть принято.',
|
||||
'accepted_if' => 'Поле :attribute должно быть принято, когда :other равно :value.',
|
||||
'active_url' => 'Поле :attribute должно быть действительным URL.',
|
||||
'after' => 'Поле :attribute должно быть датой после :date.',
|
||||
'after_or_equal' => 'Поле :attribute должно быть датой после или равной :date.',
|
||||
'alpha' => 'Поле :attribute должно содержать только буквы.',
|
||||
'alpha_dash' => 'Поле :attribute должно содержать только буквы, цифры, дефисы и подчёркивания.',
|
||||
'alpha_num' => 'Поле :attribute должно содержать только буквы и цифры.',
|
||||
'any_of' => 'Поле :attribute недействительно.',
|
||||
'array' => 'Поле :attribute должно быть массивом.',
|
||||
'ascii' => 'Поле :attribute должно содержать только однобайтовые буквенно-цифровые символы и символы.',
|
||||
'before' => 'Поле :attribute должно быть датой до :date.',
|
||||
'before_or_equal' => 'Поле :attribute должно быть датой до или равной :date.',
|
||||
'between' => [
|
||||
'array' => 'Поле :attribute должно содержать от :min до :max элементов.',
|
||||
'file' => 'Поле :attribute должно быть от :min до :max килобайт.',
|
||||
'numeric' => 'Поле :attribute должно быть от :min до :max.',
|
||||
'string' => 'Поле :attribute должно содержать от :min до :max символов.',
|
||||
],
|
||||
'boolean' => 'Поле :attribute должно быть истиной или ложью.',
|
||||
'can' => 'Поле :attribute содержит неразрешённое значение.',
|
||||
'confirmed' => 'Подтверждение поля :attribute не совпадает.',
|
||||
'contains' => 'Поле :attribute не содержит обязательного значения.',
|
||||
'current_password' => 'Пароль неверный.',
|
||||
'date' => 'Поле :attribute должно быть действительной датой.',
|
||||
'date_equals' => 'Поле :attribute должно быть датой, равной :date.',
|
||||
'date_format' => 'Поле :attribute должно соответствовать формату :format.',
|
||||
'decimal' => 'Поле :attribute должно иметь :decimal десятичных знаков.',
|
||||
'declined' => 'Поле :attribute должно быть отклонено.',
|
||||
'declined_if' => 'Поле :attribute должно быть отклонено, когда :other равно :value.',
|
||||
'different' => 'Поля :attribute и :other должны различаться.',
|
||||
'digits' => 'Поле :attribute должно содержать :digits цифр.',
|
||||
'digits_between' => 'Поле :attribute должно содержать от :min до :max цифр.',
|
||||
'dimensions' => 'Поле :attribute имеет недействительные размеры изображения.',
|
||||
'distinct' => 'Поле :attribute содержит повторяющееся значение.',
|
||||
'doesnt_contain' => 'Поле :attribute не должно содержать: :values.',
|
||||
'doesnt_end_with' => 'Поле :attribute не должно заканчиваться на: :values.',
|
||||
'doesnt_start_with' => 'Поле :attribute не должно начинаться с: :values.',
|
||||
'email' => 'Поле :attribute должно быть действительным адресом электронной почты.',
|
||||
'encoding' => 'Поле :attribute должно быть закодировано в :encoding.',
|
||||
'ends_with' => 'Поле :attribute должно заканчиваться на: :values.',
|
||||
'enum' => 'Выбранное :attribute недействительно.',
|
||||
'exists' => 'Выбранное :attribute недействительно.',
|
||||
'extensions' => 'Поле :attribute должно иметь одно из следующих расширений: :values.',
|
||||
'file' => 'Поле :attribute должно быть файлом.',
|
||||
'filled' => 'Поле :attribute должно иметь значение.',
|
||||
'gt' => [
|
||||
'array' => 'Поле :attribute должно содержать более :value элементов.',
|
||||
'file' => 'Поле :attribute должно быть больше :value килобайт.',
|
||||
'numeric' => 'Поле :attribute должно быть больше :value.',
|
||||
'string' => 'Поле :attribute должно содержать более :value символов.',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => 'Поле :attribute должно содержать :value элементов или более.',
|
||||
'file' => 'Поле :attribute должно быть больше или равно :value килобайт.',
|
||||
'numeric' => 'Поле :attribute должно быть больше или равно :value.',
|
||||
'string' => 'Поле :attribute должно содержать :value символов или более.',
|
||||
],
|
||||
'hex_color' => 'Поле :attribute должно быть действительным шестнадцатеричным цветом.',
|
||||
'image' => 'Поле :attribute должно быть изображением.',
|
||||
'in' => 'Выбранное :attribute недействительно.',
|
||||
'in_array' => 'Поле :attribute должно существовать в :other.',
|
||||
'in_array_keys' => 'Поле :attribute должно содержать хотя бы один из следующих ключей: :values.',
|
||||
'integer' => 'Поле :attribute должно быть целым числом.',
|
||||
'ip' => 'Поле :attribute должно быть действительным IP-адресом.',
|
||||
'ipv4' => 'Поле :attribute должно быть действительным IPv4-адресом.',
|
||||
'ipv6' => 'Поле :attribute должно быть действительным IPv6-адресом.',
|
||||
'json' => 'Поле :attribute должно быть действительной JSON-строкой.',
|
||||
'list' => 'Поле :attribute должно быть списком.',
|
||||
'lowercase' => 'Поле :attribute должно быть в нижнем регистре.',
|
||||
'lt' => [
|
||||
'array' => 'Поле :attribute должно содержать менее :value элементов.',
|
||||
'file' => 'Поле :attribute должно быть меньше :value килобайт.',
|
||||
'numeric' => 'Поле :attribute должно быть меньше :value.',
|
||||
'string' => 'Поле :attribute должно содержать менее :value символов.',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => 'Поле :attribute не должно содержать более :value элементов.',
|
||||
'file' => 'Поле :attribute должно быть меньше или равно :value килобайт.',
|
||||
'numeric' => 'Поле :attribute должно быть меньше или равно :value.',
|
||||
'string' => 'Поле :attribute должно содержать :value символов или менее.',
|
||||
],
|
||||
'mac_address' => 'Поле :attribute должно быть действительным MAC-адресом.',
|
||||
'max' => [
|
||||
'array' => 'Поле :attribute не должно содержать более :max элементов.',
|
||||
'file' => 'Поле :attribute не должно быть больше :max килобайт.',
|
||||
'numeric' => 'Поле :attribute не должно быть больше :max.',
|
||||
'string' => 'Поле :attribute не должно содержать более :max символов.',
|
||||
],
|
||||
'max_digits' => 'Поле :attribute не должно содержать более :max цифр.',
|
||||
'mimes' => 'Поле :attribute должно быть файлом типа: :values.',
|
||||
'mimetypes' => 'Поле :attribute должно быть файлом типа: :values.',
|
||||
'min' => [
|
||||
'array' => 'Поле :attribute должно содержать не менее :min элементов.',
|
||||
'file' => 'Поле :attribute должно быть не менее :min килобайт.',
|
||||
'numeric' => 'Поле :attribute должно быть не менее :min.',
|
||||
'string' => 'Поле :attribute должно содержать не менее :min символов.',
|
||||
],
|
||||
'min_digits' => 'Поле :attribute должно содержать не менее :min цифр.',
|
||||
'missing' => 'Поле :attribute должно отсутствовать.',
|
||||
'missing_if' => 'Поле :attribute должно отсутствовать, когда :other равно :value.',
|
||||
'missing_unless' => 'Поле :attribute должно отсутствовать, если :other не равно :value.',
|
||||
'missing_with' => 'Поле :attribute должно отсутствовать, когда присутствует :values.',
|
||||
'missing_with_all' => 'Поле :attribute должно отсутствовать, когда присутствуют :values.',
|
||||
'multiple_of' => 'Поле :attribute должно быть кратным :value.',
|
||||
'not_in' => 'Выбранное :attribute недействительно.',
|
||||
'not_regex' => 'Формат поля :attribute недействителен.',
|
||||
'numeric' => 'Поле :attribute должно быть числом.',
|
||||
'password' => [
|
||||
'letters' => 'Поле :attribute должно содержать хотя бы одну букву.',
|
||||
'mixed' => 'Поле :attribute должно содержать хотя бы одну заглавную и одну строчную букву.',
|
||||
'numbers' => 'Поле :attribute должно содержать хотя бы одну цифру.',
|
||||
'symbols' => 'Поле :attribute должно содержать хотя бы один символ.',
|
||||
'uncompromised' => 'Указанное :attribute появилось в утечке данных. Пожалуйста, выберите другое :attribute.',
|
||||
],
|
||||
'present' => 'Поле :attribute должно присутствовать.',
|
||||
'present_if' => 'Поле :attribute должно присутствовать, когда :other равно :value.',
|
||||
'present_unless' => 'Поле :attribute должно присутствовать, если :other не равно :value.',
|
||||
'present_with' => 'Поле :attribute должно присутствовать, когда присутствует :values.',
|
||||
'present_with_all' => 'Поле :attribute должно присутствовать, когда присутствуют :values.',
|
||||
'prohibited' => 'Поле :attribute запрещено.',
|
||||
'prohibited_if' => 'Поле :attribute запрещено, когда :other равно :value.',
|
||||
'prohibited_if_accepted' => 'Поле :attribute запрещено, когда :other принято.',
|
||||
'prohibited_if_declined' => 'Поле :attribute запрещено, когда :other отклонено.',
|
||||
'prohibited_unless' => 'Поле :attribute запрещено, если :other не в :values.',
|
||||
'prohibits' => 'Поле :attribute запрещает присутствие :other.',
|
||||
'regex' => 'Формат поля :attribute недействителен.',
|
||||
'required' => 'Поле :attribute обязательно.',
|
||||
'required_array_keys' => 'Поле :attribute должно содержать записи для: :values.',
|
||||
'required_if' => 'Поле :attribute обязательно, когда :other равно :value.',
|
||||
'required_if_accepted' => 'Поле :attribute обязательно, когда :other принято.',
|
||||
'required_if_declined' => 'Поле :attribute обязательно, когда :other отклонено.',
|
||||
'required_unless' => 'Поле :attribute обязательно, если :other не в :values.',
|
||||
'required_with' => 'Поле :attribute обязательно, когда присутствует :values.',
|
||||
'required_with_all' => 'Поле :attribute обязательно, когда присутствуют :values.',
|
||||
'required_without' => 'Поле :attribute обязательно, когда :values отсутствует.',
|
||||
'required_without_all' => 'Поле :attribute обязательно, когда ни одно из :values не присутствует.',
|
||||
'same' => 'Поля :attribute и :other должны совпадать.',
|
||||
'size' => [
|
||||
'array' => 'Поле :attribute должно содержать :size элементов.',
|
||||
'file' => 'Поле :attribute должно быть :size килобайт.',
|
||||
'numeric' => 'Поле :attribute должно быть :size.',
|
||||
'string' => 'Поле :attribute должно содержать :size символов.',
|
||||
],
|
||||
'starts_with' => 'Поле :attribute должно начинаться с: :values.',
|
||||
'string' => 'Поле :attribute должно быть строкой.',
|
||||
'timezone' => 'Поле :attribute должно быть действительным часовым поясом.',
|
||||
'unique' => 'Такое :attribute уже существует.',
|
||||
'uploaded' => 'Загрузка :attribute не удалась.',
|
||||
'uppercase' => 'Поле :attribute должно быть в верхнем регистре.',
|
||||
'url' => 'Поле :attribute должно быть действительным URL.',
|
||||
'ulid' => 'Поле :attribute должно быть действительным ULID.',
|
||||
'uuid' => 'Поле :attribute должно быть действительным UUID.',
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
'attributes' => [],
|
||||
];
|
||||
@@ -0,0 +1,170 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| ข้อความการตรวจสอบ
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'accepted' => 'ฟิลด์ :attribute ต้องได้รับการยอมรับ',
|
||||
'accepted_if' => 'ฟิลด์ :attribute ต้องได้รับการยอมรับเมื่อ :other เป็น :value',
|
||||
'active_url' => 'ฟิลด์ :attribute ต้องเป็น URL ที่ถูกต้อง',
|
||||
'after' => 'ฟิลด์ :attribute ต้องเป็นวันที่หลังจาก :date',
|
||||
'after_or_equal' => 'ฟิลด์ :attribute ต้องเป็นวันที่หลังหรือเท่ากับ :date',
|
||||
'alpha' => 'ฟิลด์ :attribute ต้องมีเฉพาะตัวอักษรเท่านั้น',
|
||||
'alpha_dash' => 'ฟิลด์ :attribute ต้องมีเฉพาะตัวอักษร ตัวเลข ขีด และขีดล่างเท่านั้น',
|
||||
'alpha_num' => 'ฟิลด์ :attribute ต้องมีเฉพาะตัวอักษรและตัวเลขเท่านั้น',
|
||||
'any_of' => 'ฟิลด์ :attribute ไม่ถูกต้อง',
|
||||
'array' => 'ฟิลด์ :attribute ต้องเป็นอาร์เรย์',
|
||||
'ascii' => 'ฟิลด์ :attribute ต้องมีเฉพาะอักขระตัวเลขและสัญลักษณ์แบบไบต์เดียวเท่านั้น',
|
||||
'before' => 'ฟิลด์ :attribute ต้องเป็นวันที่ก่อน :date',
|
||||
'before_or_equal' => 'ฟิลด์ :attribute ต้องเป็นวันที่ก่อนหรือเท่ากับ :date',
|
||||
'between' => [
|
||||
'array' => 'ฟิลด์ :attribute ต้องมีระหว่าง :min ถึง :max รายการ',
|
||||
'file' => 'ฟิลด์ :attribute ต้องมีขนาดระหว่าง :min ถึง :max กิโลไบต์',
|
||||
'numeric' => 'ฟิลด์ :attribute ต้องอยู่ระหว่าง :min ถึง :max',
|
||||
'string' => 'ฟิลด์ :attribute ต้องมีความยาวระหว่าง :min ถึง :max ตัวอักษร',
|
||||
],
|
||||
'boolean' => 'ฟิลด์ :attribute ต้องเป็นจริงหรือเท็จ',
|
||||
'can' => 'ฟิลด์ :attribute มีค่าที่ไม่ได้รับอนุญาต',
|
||||
'confirmed' => 'การยืนยันฟิลด์ :attribute ไม่ตรงกัน',
|
||||
'contains' => 'ฟิลด์ :attribute ไม่มีค่าที่จำเป็น',
|
||||
'current_password' => 'รหัสผ่านไม่ถูกต้อง',
|
||||
'date' => 'ฟิลด์ :attribute ต้องเป็นวันที่ที่ถูกต้อง',
|
||||
'date_equals' => 'ฟิลด์ :attribute ต้องเป็นวันที่เท่ากับ :date',
|
||||
'date_format' => 'ฟิลด์ :attribute ต้องตรงกับรูปแบบ :format',
|
||||
'decimal' => 'ฟิลด์ :attribute ต้องมีทศนิยม :decimal ตำแหน่ง',
|
||||
'declined' => 'ฟิลด์ :attribute ต้องถูกปฏิเสธ',
|
||||
'declined_if' => 'ฟิลด์ :attribute ต้องถูกปฏิเสธเมื่อ :other เป็น :value',
|
||||
'different' => 'ฟิลด์ :attribute และ :other ต้องแตกต่างกัน',
|
||||
'digits' => 'ฟิลด์ :attribute ต้องมี :digits หลัก',
|
||||
'digits_between' => 'ฟิลด์ :attribute ต้องมีระหว่าง :min ถึง :max หลัก',
|
||||
'dimensions' => 'ฟิลด์ :attribute มีขนาดรูปภาพไม่ถูกต้อง',
|
||||
'distinct' => 'ฟิลด์ :attribute มีค่าซ้ำ',
|
||||
'doesnt_contain' => 'ฟิลด์ :attribute ต้องไม่มี: :values',
|
||||
'doesnt_end_with' => 'ฟิลด์ :attribute ต้องไม่ลงท้ายด้วย: :values',
|
||||
'doesnt_start_with' => 'ฟิลด์ :attribute ต้องไม่ขึ้นต้นด้วย: :values',
|
||||
'email' => 'ฟิลด์ :attribute ต้องเป็นที่อยู่อีเมลที่ถูกต้อง',
|
||||
'encoding' => 'ฟิลด์ :attribute ต้องเข้ารหัสด้วย :encoding',
|
||||
'ends_with' => 'ฟิลด์ :attribute ต้องลงท้ายด้วย: :values',
|
||||
'enum' => ':attribute ที่เลือกไม่ถูกต้อง',
|
||||
'exists' => ':attribute ที่เลือกไม่ถูกต้อง',
|
||||
'extensions' => 'ฟิลด์ :attribute ต้องมีนามสกุลใดนามสกุลหนึ่งต่อไปนี้: :values',
|
||||
'file' => 'ฟิลด์ :attribute ต้องเป็นไฟล์',
|
||||
'filled' => 'ฟิลด์ :attribute ต้องมีค่า',
|
||||
'gt' => [
|
||||
'array' => 'ฟิลด์ :attribute ต้องมีมากกว่า :value รายการ',
|
||||
'file' => 'ฟิลด์ :attribute ต้องใหญ่กว่า :value กิโลไบต์',
|
||||
'numeric' => 'ฟิลด์ :attribute ต้องมากกว่า :value',
|
||||
'string' => 'ฟิลด์ :attribute ต้องยาวกว่า :value ตัวอักษร',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => 'ฟิลด์ :attribute ต้องมี :value รายการขึ้นไป',
|
||||
'file' => 'ฟิลด์ :attribute ต้องใหญ่กว่าหรือเท่ากับ :value กิโลไบต์',
|
||||
'numeric' => 'ฟิลด์ :attribute ต้องมากกว่าหรือเท่ากับ :value',
|
||||
'string' => 'ฟิลด์ :attribute ต้องยาว :value ตัวอักษรขึ้นไป',
|
||||
],
|
||||
'hex_color' => 'ฟิลด์ :attribute ต้องเป็นสีฐานสิบหกที่ถูกต้อง',
|
||||
'image' => 'ฟิลด์ :attribute ต้องเป็นรูปภาพ',
|
||||
'in' => ':attribute ที่เลือกไม่ถูกต้อง',
|
||||
'in_array' => 'ฟิลด์ :attribute ต้องมีอยู่ใน :other',
|
||||
'in_array_keys' => 'ฟิลด์ :attribute ต้องมีคีย์อย่างน้อยหนึ่งรายการต่อไปนี้: :values',
|
||||
'integer' => 'ฟิลด์ :attribute ต้องเป็นจำนวนเต็ม',
|
||||
'ip' => 'ฟิลด์ :attribute ต้องเป็นที่อยู่ IP ที่ถูกต้อง',
|
||||
'ipv4' => 'ฟิลด์ :attribute ต้องเป็นที่อยู่ IPv4 ที่ถูกต้อง',
|
||||
'ipv6' => 'ฟิลด์ :attribute ต้องเป็นที่อยู่ IPv6 ที่ถูกต้อง',
|
||||
'json' => 'ฟิลด์ :attribute ต้องเป็นสตริง JSON ที่ถูกต้อง',
|
||||
'list' => 'ฟิลด์ :attribute ต้องเป็นรายการ',
|
||||
'lowercase' => 'ฟิลด์ :attribute ต้องเป็นตัวพิมพ์เล็ก',
|
||||
'lt' => [
|
||||
'array' => 'ฟิลด์ :attribute ต้องมีน้อยกว่า :value รายการ',
|
||||
'file' => 'ฟิลด์ :attribute ต้องเล็กกว่า :value กิโลไบต์',
|
||||
'numeric' => 'ฟิลด์ :attribute ต้องน้อยกว่า :value',
|
||||
'string' => 'ฟิลด์ :attribute ต้องสั้นกว่า :value ตัวอักษร',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => 'ฟิลด์ :attribute ต้องไม่เกิน :value รายการ',
|
||||
'file' => 'ฟิลด์ :attribute ต้องเล็กกว่าหรือเท่ากับ :value กิโลไบต์',
|
||||
'numeric' => 'ฟิลด์ :attribute ต้องน้อยกว่าหรือเท่ากับ :value',
|
||||
'string' => 'ฟิลด์ :attribute ต้องไม่เกิน :value ตัวอักษร',
|
||||
],
|
||||
'mac_address' => 'ฟิลด์ :attribute ต้องเป็นที่อยู่ MAC ที่ถูกต้อง',
|
||||
'max' => [
|
||||
'array' => 'ฟิลด์ :attribute ต้องไม่เกิน :max รายการ',
|
||||
'file' => 'ฟิลด์ :attribute ต้องไม่เกิน :max กิโลไบต์',
|
||||
'numeric' => 'ฟิลด์ :attribute ต้องไม่เกิน :max',
|
||||
'string' => 'ฟิลด์ :attribute ต้องไม่เกิน :max ตัวอักษร',
|
||||
],
|
||||
'max_digits' => 'ฟิลด์ :attribute ต้องไม่เกิน :max หลัก',
|
||||
'mimes' => 'ฟิลด์ :attribute ต้องเป็นไฟล์ประเภท: :values',
|
||||
'mimetypes' => 'ฟิลด์ :attribute ต้องเป็นไฟล์ประเภท: :values',
|
||||
'min' => [
|
||||
'array' => 'ฟิลด์ :attribute ต้องมีอย่างน้อย :min รายการ',
|
||||
'file' => 'ฟิลด์ :attribute ต้องมีอย่างน้อย :min กิโลไบต์',
|
||||
'numeric' => 'ฟิลด์ :attribute ต้องมีอย่างน้อย :min',
|
||||
'string' => 'ฟิลด์ :attribute ต้องมีอย่างน้อย :min ตัวอักษร',
|
||||
],
|
||||
'min_digits' => 'ฟิลด์ :attribute ต้องมีอย่างน้อย :min หลัก',
|
||||
'missing' => 'ฟิลด์ :attribute ต้องไม่มี',
|
||||
'missing_if' => 'ฟิลด์ :attribute ต้องไม่มีเมื่อ :other เป็น :value',
|
||||
'missing_unless' => 'ฟิลด์ :attribute ต้องไม่มีเว้นแต่ :other เป็น :value',
|
||||
'missing_with' => 'ฟิลด์ :attribute ต้องไม่มีเมื่อ :values มีอยู่',
|
||||
'missing_with_all' => 'ฟิลด์ :attribute ต้องไม่มีเมื่อ :values มีอยู่',
|
||||
'multiple_of' => 'ฟิลด์ :attribute ต้องเป็นพหุคูณของ :value',
|
||||
'not_in' => ':attribute ที่เลือกไม่ถูกต้อง',
|
||||
'not_regex' => 'รูปแบบฟิลด์ :attribute ไม่ถูกต้อง',
|
||||
'numeric' => 'ฟิลด์ :attribute ต้องเป็นตัวเลข',
|
||||
'password' => [
|
||||
'letters' => 'ฟิลด์ :attribute ต้องมีอย่างน้อยหนึ่งตัวอักษร',
|
||||
'mixed' => 'ฟิลด์ :attribute ต้องมีอย่างน้อยหนึ่งตัวพิมพ์ใหญ่และหนึ่งตัวพิมพ์เล็ก',
|
||||
'numbers' => 'ฟิลด์ :attribute ต้องมีอย่างน้อยหนึ่งตัวเลข',
|
||||
'symbols' => 'ฟิลด์ :attribute ต้องมีอย่างน้อยหนึ่งสัญลักษณ์',
|
||||
'uncompromised' => ':attribute ที่ให้มามีการปรากฏในการรั่วไหลของข้อมูล กรุณาเลือก :attribute อื่น',
|
||||
],
|
||||
'present' => 'ฟิลด์ :attribute ต้องมีอยู่',
|
||||
'present_if' => 'ฟิลด์ :attribute ต้องมีอยู่เมื่อ :other เป็น :value',
|
||||
'present_unless' => 'ฟิลด์ :attribute ต้องมีอยู่เว้นแต่ :other เป็น :value',
|
||||
'present_with' => 'ฟิลด์ :attribute ต้องมีอยู่เมื่อ :values มีอยู่',
|
||||
'present_with_all' => 'ฟิลด์ :attribute ต้องมีอยู่เมื่อ :values มีอยู่',
|
||||
'prohibited' => 'ฟิลด์ :attribute ถูกห้าม',
|
||||
'prohibited_if' => 'ฟิลด์ :attribute ถูกห้ามเมื่อ :other เป็น :value',
|
||||
'prohibited_if_accepted' => 'ฟิลด์ :attribute ถูกห้ามเมื่อ :other ถูกยอมรับ',
|
||||
'prohibited_if_declined' => 'ฟิลด์ :attribute ถูกห้ามเมื่อ :other ถูกปฏิเสธ',
|
||||
'prohibited_unless' => 'ฟิลด์ :attribute ถูกห้ามเว้นแต่ :other อยู่ใน :values',
|
||||
'prohibits' => 'ฟิลด์ :attribute ห้าม :other มีอยู่',
|
||||
'regex' => 'รูปแบบฟิลด์ :attribute ไม่ถูกต้อง',
|
||||
'required' => 'ฟิลด์ :attribute จำเป็นต้องมี',
|
||||
'required_array_keys' => 'ฟิลด์ :attribute ต้องมีรายการสำหรับ: :values',
|
||||
'required_if' => 'ฟิลด์ :attribute จำเป็นต้องมีเมื่อ :other เป็น :value',
|
||||
'required_if_accepted' => 'ฟิลด์ :attribute จำเป็นต้องมีเมื่อ :other ถูกยอมรับ',
|
||||
'required_if_declined' => 'ฟิลด์ :attribute จำเป็นต้องมีเมื่อ :other ถูกปฏิเสธ',
|
||||
'required_unless' => 'ฟิลด์ :attribute จำเป็นต้องมีเว้นแต่ :other อยู่ใน :values',
|
||||
'required_with' => 'ฟิลด์ :attribute จำเป็นต้องมีเมื่อ :values มีอยู่',
|
||||
'required_with_all' => 'ฟิลด์ :attribute จำเป็นต้องมีเมื่อ :values มีอยู่',
|
||||
'required_without' => 'ฟิลด์ :attribute จำเป็นต้องมีเมื่อ :values ไม่มีอยู่',
|
||||
'required_without_all' => 'ฟิลด์ :attribute จำเป็นต้องมีเมื่อไม่มี :values',
|
||||
'same' => 'ฟิลด์ :attribute และ :other ต้องตรงกัน',
|
||||
'size' => [
|
||||
'array' => 'ฟิลด์ :attribute ต้องมี :size รายการ',
|
||||
'file' => 'ฟิลด์ :attribute ต้องมีขนาด :size กิโลไบต์',
|
||||
'numeric' => 'ฟิลด์ :attribute ต้องเป็น :size',
|
||||
'string' => 'ฟิลด์ :attribute ต้องมีความยาว :size ตัวอักษร',
|
||||
],
|
||||
'starts_with' => 'ฟิลด์ :attribute ต้องขึ้นต้นด้วย: :values',
|
||||
'string' => 'ฟิลด์ :attribute ต้องเป็นสตริง',
|
||||
'timezone' => 'ฟิลด์ :attribute ต้องเป็นเขตเวลาที่ถูกต้อง',
|
||||
'unique' => ':attribute ถูกใช้ไปแล้ว',
|
||||
'uploaded' => 'การอัปโหลด :attribute ล้มเหลว',
|
||||
'uppercase' => 'ฟิลด์ :attribute ต้องเป็นตัวพิมพ์ใหญ่',
|
||||
'url' => 'ฟิลด์ :attribute ต้องเป็น URL ที่ถูกต้อง',
|
||||
'ulid' => 'ฟิลด์ :attribute ต้องเป็น ULID ที่ถูกต้อง',
|
||||
'uuid' => 'ฟิลด์ :attribute ต้องเป็น UUID ที่ถูกต้อง',
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
'attributes' => [],
|
||||
];
|
||||
@@ -0,0 +1,170 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Doğrulama mesajları
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'accepted' => ':attribute alanı kabul edilmelidir.',
|
||||
'accepted_if' => ':other :value olduğunda :attribute alanı kabul edilmelidir.',
|
||||
'active_url' => ':attribute alanı geçerli bir URL olmalıdır.',
|
||||
'after' => ':attribute alanı :date tarihinden sonra bir tarih olmalıdır.',
|
||||
'after_or_equal' => ':attribute alanı :date tarihinden sonra veya aynı tarihte olmalıdır.',
|
||||
'alpha' => ':attribute alanı yalnızca harf içermelidir.',
|
||||
'alpha_dash' => ':attribute alanı yalnızca harf, rakam, tire ve alt çizgi içermelidir.',
|
||||
'alpha_num' => ':attribute alanı yalnızca harf ve rakam içermelidir.',
|
||||
'any_of' => ':attribute alanı geçersiz.',
|
||||
'array' => ':attribute alanı bir dizi olmalıdır.',
|
||||
'ascii' => ':attribute alanı yalnızca tek baytlık alfanümerik karakterler ve semboller içermelidir.',
|
||||
'before' => ':attribute alanı :date tarihinden önce bir tarih olmalıdır.',
|
||||
'before_or_equal' => ':attribute alanı :date tarihinden önce veya aynı tarihte olmalıdır.',
|
||||
'between' => [
|
||||
'array' => ':attribute alanı :min ile :max öğe arasında olmalıdır.',
|
||||
'file' => ':attribute alanı :min ile :max kilobayt arasında olmalıdır.',
|
||||
'numeric' => ':attribute alanı :min ile :max arasında olmalıdır.',
|
||||
'string' => ':attribute alanı :min ile :max karakter arasında olmalıdır.',
|
||||
],
|
||||
'boolean' => ':attribute alanı doğru veya yanlış olmalıdır.',
|
||||
'can' => ':attribute alanı yetkisiz bir değer içeriyor.',
|
||||
'confirmed' => ':attribute alanı onayı eşleşmiyor.',
|
||||
'contains' => ':attribute alanı gerekli bir değer içermiyor.',
|
||||
'current_password' => 'Şifre yanlış.',
|
||||
'date' => ':attribute alanı geçerli bir tarih olmalıdır.',
|
||||
'date_equals' => ':attribute alanı :date tarihine eşit bir tarih olmalıdır.',
|
||||
'date_format' => ':attribute alanı :format biçimine uymalıdır.',
|
||||
'decimal' => ':attribute alanı :decimal ondalık basamağa sahip olmalıdır.',
|
||||
'declined' => ':attribute alanı reddedilmelidir.',
|
||||
'declined_if' => ':other :value olduğunda :attribute alanı reddedilmelidir.',
|
||||
'different' => ':attribute ve :other alanları farklı olmalıdır.',
|
||||
'digits' => ':attribute alanı :digits basamaklı olmalıdır.',
|
||||
'digits_between' => ':attribute alanı :min ile :max basamak arasında olmalıdır.',
|
||||
'dimensions' => ':attribute alanının görsel boyutları geçersiz.',
|
||||
'distinct' => ':attribute alanında yinelenen bir değer var.',
|
||||
'doesnt_contain' => ':attribute alanı şunları içermemelidir: :values.',
|
||||
'doesnt_end_with' => ':attribute alanı şunlarla bitmemelidir: :values.',
|
||||
'doesnt_start_with' => ':attribute alanı şunlarla başlamamalıdır: :values.',
|
||||
'email' => ':attribute alanı geçerli bir e-posta adresi olmalıdır.',
|
||||
'encoding' => ':attribute alanı :encoding ile kodlanmış olmalıdır.',
|
||||
'ends_with' => ':attribute alanı şunlarla bitmelidir: :values.',
|
||||
'enum' => 'Seçilen :attribute geçersiz.',
|
||||
'exists' => 'Seçilen :attribute geçersiz.',
|
||||
'extensions' => ':attribute alanı şu uzantılardan birine sahip olmalıdır: :values.',
|
||||
'file' => ':attribute alanı bir dosya olmalıdır.',
|
||||
'filled' => ':attribute alanının bir değeri olmalıdır.',
|
||||
'gt' => [
|
||||
'array' => ':attribute alanı :value öğeden fazla içermelidir.',
|
||||
'file' => ':attribute alanı :value kilobayttan büyük olmalıdır.',
|
||||
'numeric' => ':attribute alanı :value değerinden büyük olmalıdır.',
|
||||
'string' => ':attribute alanı :value karakterden fazla içermelidir.',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => ':attribute alanı :value veya daha fazla öğe içermelidir.',
|
||||
'file' => ':attribute alanı :value kilobayt veya daha fazla olmalıdır.',
|
||||
'numeric' => ':attribute alanı :value veya daha fazla olmalıdır.',
|
||||
'string' => ':attribute alanı :value veya daha fazla karakter içermelidir.',
|
||||
],
|
||||
'hex_color' => ':attribute alanı geçerli bir onaltılık renk olmalıdır.',
|
||||
'image' => ':attribute alanı bir görsel olmalıdır.',
|
||||
'in' => 'Seçilen :attribute geçersiz.',
|
||||
'in_array' => ':attribute alanı :other içinde bulunmalıdır.',
|
||||
'in_array_keys' => ':attribute alanı şu anahtarlardan en az birini içermelidir: :values.',
|
||||
'integer' => ':attribute alanı bir tam sayı olmalıdır.',
|
||||
'ip' => ':attribute alanı geçerli bir IP adresi olmalıdır.',
|
||||
'ipv4' => ':attribute alanı geçerli bir IPv4 adresi olmalıdır.',
|
||||
'ipv6' => ':attribute alanı geçerli bir IPv6 adresi olmalıdır.',
|
||||
'json' => ':attribute alanı geçerli bir JSON dizisi olmalıdır.',
|
||||
'list' => ':attribute alanı bir liste olmalıdır.',
|
||||
'lowercase' => ':attribute alanı küçük harf olmalıdır.',
|
||||
'lt' => [
|
||||
'array' => ':attribute alanı :value öğeden az içermelidir.',
|
||||
'file' => ':attribute alanı :value kilobayttan küçük olmalıdır.',
|
||||
'numeric' => ':attribute alanı :value değerinden küçük olmalıdır.',
|
||||
'string' => ':attribute alanı :value karakterden az içermelidir.',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => ':attribute alanı :value öğeden fazla içermemelidir.',
|
||||
'file' => ':attribute alanı :value kilobayt veya daha az olmalıdır.',
|
||||
'numeric' => ':attribute alanı :value veya daha az olmalıdır.',
|
||||
'string' => ':attribute alanı :value karakter veya daha az içermelidir.',
|
||||
],
|
||||
'mac_address' => ':attribute alanı geçerli bir MAC adresi olmalıdır.',
|
||||
'max' => [
|
||||
'array' => ':attribute alanı :max öğeden fazla içermemelidir.',
|
||||
'file' => ':attribute alanı :max kilobayttan büyük olmamalıdır.',
|
||||
'numeric' => ':attribute alanı :max değerinden büyük olmamalıdır.',
|
||||
'string' => ':attribute alanı :max karakterden fazla içermemelidir.',
|
||||
],
|
||||
'max_digits' => ':attribute alanı :max basamaktan fazla içermemelidir.',
|
||||
'mimes' => ':attribute alanı şu türde bir dosya olmalıdır: :values.',
|
||||
'mimetypes' => ':attribute alanı şu türde bir dosya olmalıdır: :values.',
|
||||
'min' => [
|
||||
'array' => ':attribute alanı en az :min öğe içermelidir.',
|
||||
'file' => ':attribute alanı en az :min kilobayt olmalıdır.',
|
||||
'numeric' => ':attribute alanı en az :min olmalıdır.',
|
||||
'string' => ':attribute alanı en az :min karakter içermelidir.',
|
||||
],
|
||||
'min_digits' => ':attribute alanı en az :min basamak içermelidir.',
|
||||
'missing' => ':attribute alanı eksik olmalıdır.',
|
||||
'missing_if' => ':other :value olduğunda :attribute alanı eksik olmalıdır.',
|
||||
'missing_unless' => ':other :value olmadıkça :attribute alanı eksik olmalıdır.',
|
||||
'missing_with' => ':values mevcut olduğunda :attribute alanı eksik olmalıdır.',
|
||||
'missing_with_all' => ':values mevcut olduğunda :attribute alanı eksik olmalıdır.',
|
||||
'multiple_of' => ':attribute alanı :value\'nin katı olmalıdır.',
|
||||
'not_in' => 'Seçilen :attribute geçersiz.',
|
||||
'not_regex' => ':attribute alanı biçimi geçersiz.',
|
||||
'numeric' => ':attribute alanı bir sayı olmalıdır.',
|
||||
'password' => [
|
||||
'letters' => ':attribute alanı en az bir harf içermelidir.',
|
||||
'mixed' => ':attribute alanı en az bir büyük ve bir küçük harf içermelidir.',
|
||||
'numbers' => ':attribute alanı en az bir rakam içermelidir.',
|
||||
'symbols' => ':attribute alanı en az bir sembol içermelidir.',
|
||||
'uncompromised' => 'Verilen :attribute bir veri sızıntısında göründü. Lütfen farklı bir :attribute seçin.',
|
||||
],
|
||||
'present' => ':attribute alanı mevcut olmalıdır.',
|
||||
'present_if' => ':other :value olduğunda :attribute alanı mevcut olmalıdır.',
|
||||
'present_unless' => ':other :value olmadıkça :attribute alanı mevcut olmalıdır.',
|
||||
'present_with' => ':values mevcut olduğunda :attribute alanı mevcut olmalıdır.',
|
||||
'present_with_all' => ':values mevcut olduğunda :attribute alanı mevcut olmalıdır.',
|
||||
'prohibited' => ':attribute alanı yasaktır.',
|
||||
'prohibited_if' => ':other :value olduğunda :attribute alanı yasaktır.',
|
||||
'prohibited_if_accepted' => ':other kabul edildiğinde :attribute alanı yasaktır.',
|
||||
'prohibited_if_declined' => ':other reddedildiğinde :attribute alanı yasaktır.',
|
||||
'prohibited_unless' => ':other :values içinde olmadıkça :attribute alanı yasaktır.',
|
||||
'prohibits' => ':attribute alanı :other\'ın mevcut olmasını yasaklar.',
|
||||
'regex' => ':attribute alanı biçimi geçersiz.',
|
||||
'required' => ':attribute alanı zorunludur.',
|
||||
'required_array_keys' => ':attribute alanı şunlar için girişler içermelidir: :values.',
|
||||
'required_if' => ':other :value olduğunda :attribute alanı zorunludur.',
|
||||
'required_if_accepted' => ':other kabul edildiğinde :attribute alanı zorunludur.',
|
||||
'required_if_declined' => ':other reddedildiğinde :attribute alanı zorunludur.',
|
||||
'required_unless' => ':other :values içinde olmadıkça :attribute alanı zorunludur.',
|
||||
'required_with' => ':values mevcut olduğunda :attribute alanı zorunludur.',
|
||||
'required_with_all' => ':values mevcut olduğunda :attribute alanı zorunludur.',
|
||||
'required_without' => ':values mevcut olmadığında :attribute alanı zorunludur.',
|
||||
'required_without_all' => ':values\'tan hiçbiri mevcut olmadığında :attribute alanı zorunludur.',
|
||||
'same' => ':attribute ve :other alanları eşleşmelidir.',
|
||||
'size' => [
|
||||
'array' => ':attribute alanı :size öğe içermelidir.',
|
||||
'file' => ':attribute alanı :size kilobayt olmalıdır.',
|
||||
'numeric' => ':attribute alanı :size olmalıdır.',
|
||||
'string' => ':attribute alanı :size karakter içermelidir.',
|
||||
],
|
||||
'starts_with' => ':attribute alanı şunlarla başlamalıdır: :values.',
|
||||
'string' => ':attribute alanı bir dizge olmalıdır.',
|
||||
'timezone' => ':attribute alanı geçerli bir saat dilimi olmalıdır.',
|
||||
'unique' => ':attribute zaten kullanılmış.',
|
||||
'uploaded' => ':attribute yüklenemedi.',
|
||||
'uppercase' => ':attribute alanı büyük harf olmalıdır.',
|
||||
'url' => ':attribute alanı geçerli bir URL olmalıdır.',
|
||||
'ulid' => ':attribute alanı geçerli bir ULID olmalıdır.',
|
||||
'uuid' => ':attribute alanı geçerli bir UUID olmalıdır.',
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
'attributes' => [],
|
||||
];
|
||||
@@ -0,0 +1,170 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Thông báo xác thực
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'accepted' => 'Trường :attribute phải được chấp nhận.',
|
||||
'accepted_if' => 'Trường :attribute phải được chấp nhận khi :other là :value.',
|
||||
'active_url' => 'Trường :attribute phải là URL hợp lệ.',
|
||||
'after' => 'Trường :attribute phải là ngày sau :date.',
|
||||
'after_or_equal' => 'Trường :attribute phải là ngày sau hoặc bằng :date.',
|
||||
'alpha' => 'Trường :attribute chỉ được chứa chữ cái.',
|
||||
'alpha_dash' => 'Trường :attribute chỉ được chứa chữ cái, số, dấu gạch ngang và gạch dưới.',
|
||||
'alpha_num' => 'Trường :attribute chỉ được chứa chữ cái và số.',
|
||||
'any_of' => 'Trường :attribute không hợp lệ.',
|
||||
'array' => 'Trường :attribute phải là mảng.',
|
||||
'ascii' => 'Trường :attribute chỉ được chứa ký tự chữ số và ký hiệu một byte.',
|
||||
'before' => 'Trường :attribute phải là ngày trước :date.',
|
||||
'before_or_equal' => 'Trường :attribute phải là ngày trước hoặc bằng :date.',
|
||||
'between' => [
|
||||
'array' => 'Trường :attribute phải có từ :min đến :max phần tử.',
|
||||
'file' => 'Trường :attribute phải từ :min đến :max kilobyte.',
|
||||
'numeric' => 'Trường :attribute phải từ :min đến :max.',
|
||||
'string' => 'Trường :attribute phải có từ :min đến :max ký tự.',
|
||||
],
|
||||
'boolean' => 'Trường :attribute phải là đúng hoặc sai.',
|
||||
'can' => 'Trường :attribute chứa giá trị không được phép.',
|
||||
'confirmed' => 'Xác nhận trường :attribute không khớp.',
|
||||
'contains' => 'Trường :attribute thiếu giá trị bắt buộc.',
|
||||
'current_password' => 'Mật khẩu không đúng.',
|
||||
'date' => 'Trường :attribute phải là ngày hợp lệ.',
|
||||
'date_equals' => 'Trường :attribute phải là ngày bằng :date.',
|
||||
'date_format' => 'Trường :attribute phải khớp với định dạng :format.',
|
||||
'decimal' => 'Trường :attribute phải có :decimal chữ số thập phân.',
|
||||
'declined' => 'Trường :attribute phải bị từ chối.',
|
||||
'declined_if' => 'Trường :attribute phải bị từ chối khi :other là :value.',
|
||||
'different' => 'Các trường :attribute và :other phải khác nhau.',
|
||||
'digits' => 'Trường :attribute phải có :digits chữ số.',
|
||||
'digits_between' => 'Trường :attribute phải có từ :min đến :max chữ số.',
|
||||
'dimensions' => 'Trường :attribute có kích thước hình ảnh không hợp lệ.',
|
||||
'distinct' => 'Trường :attribute có giá trị trùng lặp.',
|
||||
'doesnt_contain' => 'Trường :attribute không được chứa: :values.',
|
||||
'doesnt_end_with' => 'Trường :attribute không được kết thúc bằng: :values.',
|
||||
'doesnt_start_with' => 'Trường :attribute không được bắt đầu bằng: :values.',
|
||||
'email' => 'Trường :attribute phải là địa chỉ email hợp lệ.',
|
||||
'encoding' => 'Trường :attribute phải được mã hóa bằng :encoding.',
|
||||
'ends_with' => 'Trường :attribute phải kết thúc bằng: :values.',
|
||||
'enum' => ':attribute được chọn không hợp lệ.',
|
||||
'exists' => ':attribute được chọn không hợp lệ.',
|
||||
'extensions' => 'Trường :attribute phải có một trong các phần mở rộng sau: :values.',
|
||||
'file' => 'Trường :attribute phải là tệp.',
|
||||
'filled' => 'Trường :attribute phải có giá trị.',
|
||||
'gt' => [
|
||||
'array' => 'Trường :attribute phải có nhiều hơn :value phần tử.',
|
||||
'file' => 'Trường :attribute phải lớn hơn :value kilobyte.',
|
||||
'numeric' => 'Trường :attribute phải lớn hơn :value.',
|
||||
'string' => 'Trường :attribute phải có nhiều hơn :value ký tự.',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => 'Trường :attribute phải có :value phần tử trở lên.',
|
||||
'file' => 'Trường :attribute phải lớn hơn hoặc bằng :value kilobyte.',
|
||||
'numeric' => 'Trường :attribute phải lớn hơn hoặc bằng :value.',
|
||||
'string' => 'Trường :attribute phải có :value ký tự trở lên.',
|
||||
],
|
||||
'hex_color' => 'Trường :attribute phải là màu hex hợp lệ.',
|
||||
'image' => 'Trường :attribute phải là hình ảnh.',
|
||||
'in' => ':attribute được chọn không hợp lệ.',
|
||||
'in_array' => 'Trường :attribute phải tồn tại trong :other.',
|
||||
'in_array_keys' => 'Trường :attribute phải chứa ít nhất một trong các khóa sau: :values.',
|
||||
'integer' => 'Trường :attribute phải là số nguyên.',
|
||||
'ip' => 'Trường :attribute phải là địa chỉ IP hợp lệ.',
|
||||
'ipv4' => 'Trường :attribute phải là địa chỉ IPv4 hợp lệ.',
|
||||
'ipv6' => 'Trường :attribute phải là địa chỉ IPv6 hợp lệ.',
|
||||
'json' => 'Trường :attribute phải là chuỗi JSON hợp lệ.',
|
||||
'list' => 'Trường :attribute phải là danh sách.',
|
||||
'lowercase' => 'Trường :attribute phải viết thường.',
|
||||
'lt' => [
|
||||
'array' => 'Trường :attribute phải có ít hơn :value phần tử.',
|
||||
'file' => 'Trường :attribute phải nhỏ hơn :value kilobyte.',
|
||||
'numeric' => 'Trường :attribute phải nhỏ hơn :value.',
|
||||
'string' => 'Trường :attribute phải có ít hơn :value ký tự.',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => 'Trường :attribute không được có quá :value phần tử.',
|
||||
'file' => 'Trường :attribute phải nhỏ hơn hoặc bằng :value kilobyte.',
|
||||
'numeric' => 'Trường :attribute phải nhỏ hơn hoặc bằng :value.',
|
||||
'string' => 'Trường :attribute phải có :value ký tự trở xuống.',
|
||||
],
|
||||
'mac_address' => 'Trường :attribute phải là địa chỉ MAC hợp lệ.',
|
||||
'max' => [
|
||||
'array' => 'Trường :attribute không được có quá :max phần tử.',
|
||||
'file' => 'Trường :attribute không được lớn hơn :max kilobyte.',
|
||||
'numeric' => 'Trường :attribute không được lớn hơn :max.',
|
||||
'string' => 'Trường :attribute không được có quá :max ký tự.',
|
||||
],
|
||||
'max_digits' => 'Trường :attribute không được có quá :max chữ số.',
|
||||
'mimes' => 'Trường :attribute phải là tệp loại: :values.',
|
||||
'mimetypes' => 'Trường :attribute phải là tệp loại: :values.',
|
||||
'min' => [
|
||||
'array' => 'Trường :attribute phải có ít nhất :min phần tử.',
|
||||
'file' => 'Trường :attribute phải ít nhất :min kilobyte.',
|
||||
'numeric' => 'Trường :attribute phải ít nhất :min.',
|
||||
'string' => 'Trường :attribute phải có ít nhất :min ký tự.',
|
||||
],
|
||||
'min_digits' => 'Trường :attribute phải có ít nhất :min chữ số.',
|
||||
'missing' => 'Trường :attribute phải vắng mặt.',
|
||||
'missing_if' => 'Trường :attribute phải vắng mặt khi :other là :value.',
|
||||
'missing_unless' => 'Trường :attribute phải vắng mặt trừ khi :other là :value.',
|
||||
'missing_with' => 'Trường :attribute phải vắng mặt khi :values có mặt.',
|
||||
'missing_with_all' => 'Trường :attribute phải vắng mặt khi :values có mặt.',
|
||||
'multiple_of' => 'Trường :attribute phải là bội số của :value.',
|
||||
'not_in' => ':attribute được chọn không hợp lệ.',
|
||||
'not_regex' => 'Định dạng trường :attribute không hợp lệ.',
|
||||
'numeric' => 'Trường :attribute phải là số.',
|
||||
'password' => [
|
||||
'letters' => 'Trường :attribute phải chứa ít nhất một chữ cái.',
|
||||
'mixed' => 'Trường :attribute phải chứa ít nhất một chữ hoa và một chữ thường.',
|
||||
'numbers' => 'Trường :attribute phải chứa ít nhất một số.',
|
||||
'symbols' => 'Trường :attribute phải chứa ít nhất một ký hiệu.',
|
||||
'uncompromised' => ':attribute đã xuất hiện trong rò rỉ dữ liệu. Vui lòng chọn :attribute khác.',
|
||||
],
|
||||
'present' => 'Trường :attribute phải có mặt.',
|
||||
'present_if' => 'Trường :attribute phải có mặt khi :other là :value.',
|
||||
'present_unless' => 'Trường :attribute phải có mặt trừ khi :other là :value.',
|
||||
'present_with' => 'Trường :attribute phải có mặt khi :values có mặt.',
|
||||
'present_with_all' => 'Trường :attribute phải có mặt khi :values có mặt.',
|
||||
'prohibited' => 'Trường :attribute bị cấm.',
|
||||
'prohibited_if' => 'Trường :attribute bị cấm khi :other là :value.',
|
||||
'prohibited_if_accepted' => 'Trường :attribute bị cấm khi :other được chấp nhận.',
|
||||
'prohibited_if_declined' => 'Trường :attribute bị cấm khi :other bị từ chối.',
|
||||
'prohibited_unless' => 'Trường :attribute bị cấm trừ khi :other nằm trong :values.',
|
||||
'prohibits' => 'Trường :attribute cấm :other có mặt.',
|
||||
'regex' => 'Định dạng trường :attribute không hợp lệ.',
|
||||
'required' => 'Trường :attribute là bắt buộc.',
|
||||
'required_array_keys' => 'Trường :attribute phải chứa mục cho: :values.',
|
||||
'required_if' => 'Trường :attribute là bắt buộc khi :other là :value.',
|
||||
'required_if_accepted' => 'Trường :attribute là bắt buộc khi :other được chấp nhận.',
|
||||
'required_if_declined' => 'Trường :attribute là bắt buộc khi :other bị từ chối.',
|
||||
'required_unless' => 'Trường :attribute là bắt buộc trừ khi :other nằm trong :values.',
|
||||
'required_with' => 'Trường :attribute là bắt buộc khi :values có mặt.',
|
||||
'required_with_all' => 'Trường :attribute là bắt buộc khi :values có mặt.',
|
||||
'required_without' => 'Trường :attribute là bắt buộc khi :values vắng mặt.',
|
||||
'required_without_all' => 'Trường :attribute là bắt buộc khi không có :values nào có mặt.',
|
||||
'same' => 'Các trường :attribute và :other phải khớp.',
|
||||
'size' => [
|
||||
'array' => 'Trường :attribute phải chứa :size phần tử.',
|
||||
'file' => 'Trường :attribute phải là :size kilobyte.',
|
||||
'numeric' => 'Trường :attribute phải là :size.',
|
||||
'string' => 'Trường :attribute phải có :size ký tự.',
|
||||
],
|
||||
'starts_with' => 'Trường :attribute phải bắt đầu bằng: :values.',
|
||||
'string' => 'Trường :attribute phải là chuỗi.',
|
||||
'timezone' => 'Trường :attribute phải là múi giờ hợp lệ.',
|
||||
'unique' => ':attribute đã được sử dụng.',
|
||||
'uploaded' => 'Tải lên :attribute thất bại.',
|
||||
'uppercase' => 'Trường :attribute phải viết hoa.',
|
||||
'url' => 'Trường :attribute phải là URL hợp lệ.',
|
||||
'ulid' => 'Trường :attribute phải là ULID hợp lệ.',
|
||||
'uuid' => 'Trường :attribute phải là UUID hợp lệ.',
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
'attributes' => [],
|
||||
];
|
||||
@@ -0,0 +1,180 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 验证提示语
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'accepted' => ':attribute 必须接受。',
|
||||
'accepted_if' => '当 :other 为 :value 时 :attribute 必须接受。',
|
||||
'active_url' => ':attribute 必须是一个有效的 URL。',
|
||||
'after' => ':attribute 必须是 :date 之后的日期。',
|
||||
'after_or_equal' => ':attribute 必须是 :date 之后或相同的日期。',
|
||||
'alpha' => ':attribute 只能包含字母。',
|
||||
'alpha_dash' => ':attribute 只能包含字母、数字、短横线和下划线。',
|
||||
'alpha_num' => ':attribute 只能包含字母和数字。',
|
||||
'any_of' => ':attribute 无效。',
|
||||
'array' => ':attribute 必须是数组。',
|
||||
'ascii' => ':attribute 只能包含 ASCII 字符。',
|
||||
'before' => ':attribute 必须是 :date 之前的日期。',
|
||||
'before_or_equal' => ':attribute 必须是 :date 之前或相同的日期。',
|
||||
'between' => [
|
||||
'array' => ':attribute 必须在 :min 到 :max 个之间。',
|
||||
'file' => ':attribute 必须在 :min 到 :max KB 之间。',
|
||||
'numeric' => ':attribute 必须在 :min 到 :max 之间。',
|
||||
'string' => ':attribute 必须在 :min 到 :max 个字符之间。',
|
||||
],
|
||||
'boolean' => ':attribute 必须是布尔值。',
|
||||
'can' => ':attribute 包含未授权的值。',
|
||||
'confirmed' => ':attribute 两次输入不一致。',
|
||||
'contains' => ':attribute 缺少必需值。',
|
||||
'current_password' => '密码不正确。',
|
||||
'date' => ':attribute 必须是有效日期。',
|
||||
'date_equals' => ':attribute 必须等于 :date。',
|
||||
'date_format' => ':attribute 格式必须为 :format。',
|
||||
'decimal' => ':attribute 必须有 :decimal 位小数。',
|
||||
'declined' => ':attribute 必须拒绝。',
|
||||
'declined_if' => '当 :other 为 :value 时 :attribute 必须拒绝。',
|
||||
'different' => ':attribute 与 :other 必须不同。',
|
||||
'digits' => ':attribute 必须是 :digits 位数字。',
|
||||
'digits_between' => ':attribute 必须在 :min 到 :max 位数字之间。',
|
||||
'dimensions' => ':attribute 图片尺寸无效。',
|
||||
'distinct' => ':attribute 存在重复值。',
|
||||
'doesnt_contain' => ':attribute 不能包含以下内容::values。',
|
||||
'doesnt_end_with' => ':attribute 不能以下列之一结尾::values。',
|
||||
'doesnt_start_with' => ':attribute 不能以下列之一开头::values。',
|
||||
'email' => ':attribute 必须是有效的邮箱地址。',
|
||||
'encoding' => ':attribute 必须使用 :encoding 编码。',
|
||||
'ends_with' => ':attribute 必须以下列之一结尾::values。',
|
||||
'enum' => '所选的 :attribute 无效。',
|
||||
'exists' => '所选的 :attribute 无效。',
|
||||
'extensions' => ':attribute 必须具有以下扩展名之一::values。',
|
||||
'file' => ':attribute 必须是文件。',
|
||||
'filled' => ':attribute 必须有值。',
|
||||
'gt' => [
|
||||
'array' => ':attribute 必须多于 :value 个元素。',
|
||||
'file' => ':attribute 必须大于 :value KB。',
|
||||
'numeric' => ':attribute 必须大于 :value。',
|
||||
'string' => ':attribute 必须大于 :value 个字符。',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => ':attribute 必须不少于 :value 个元素。',
|
||||
'file' => ':attribute 必须大于等于 :value KB。',
|
||||
'numeric' => ':attribute 必须大于等于 :value。',
|
||||
'string' => ':attribute 必须大于等于 :value 个字符。',
|
||||
],
|
||||
'hex_color' => ':attribute 必须是有效的十六进制颜色值。',
|
||||
'image' => ':attribute 必须是图片。',
|
||||
'in' => '所选的 :attribute 无效。',
|
||||
'in_array' => ':attribute 必须存在于 :other 中。',
|
||||
'in_array_keys' => ':attribute 必须包含以下键之一::values。',
|
||||
'integer' => ':attribute 必须是整数。',
|
||||
'ip' => ':attribute 必须是有效的 IP 地址。',
|
||||
'ipv4' => ':attribute 必须是有效的 IPv4 地址。',
|
||||
'ipv6' => ':attribute 必须是有效的 IPv6 地址。',
|
||||
'json' => ':attribute 必须是有效的 JSON 字符串。',
|
||||
'list' => ':attribute 必须是列表。',
|
||||
'lowercase' => ':attribute 必须是小写。',
|
||||
'lt' => [
|
||||
'array' => ':attribute 必须少于 :value 个元素。',
|
||||
'file' => ':attribute 必须小于 :value KB。',
|
||||
'numeric' => ':attribute 必须小于 :value。',
|
||||
'string' => ':attribute 必须小于 :value 个字符。',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => ':attribute 不能多于 :value 个元素。',
|
||||
'file' => ':attribute 必须小于等于 :value KB。',
|
||||
'numeric' => ':attribute 必须小于等于 :value。',
|
||||
'string' => ':attribute 必须小于等于 :value 个字符。',
|
||||
],
|
||||
'mac_address' => ':attribute 必须是有效的 MAC 地址。',
|
||||
'max' => [
|
||||
'array' => ':attribute 不能超过 :max 个元素。',
|
||||
'file' => ':attribute 不能大于 :max KB。',
|
||||
'numeric' => ':attribute 不能大于 :max。',
|
||||
'string' => ':attribute 不能大于 :max 个字符。',
|
||||
],
|
||||
'max_digits' => ':attribute 不能超过 :max 位数字。',
|
||||
'mimes' => ':attribute 必须是 :values 类型的文件。',
|
||||
'mimetypes' => ':attribute 必须是 :values 类型的文件。',
|
||||
'min' => [
|
||||
'array' => ':attribute 至少有 :min 个元素。',
|
||||
'file' => ':attribute 至少 :min KB。',
|
||||
'numeric' => ':attribute 至少 :min。',
|
||||
'string' => ':attribute 至少 :min 个字符。',
|
||||
],
|
||||
'min_digits' => ':attribute 至少 :min 位数字。',
|
||||
'missing' => ':attribute 必须不存在。',
|
||||
'missing_if' => '当 :other 为 :value 时 :attribute 必须不存在。',
|
||||
'missing_unless' => '除非 :other 为 :value,否则 :attribute 必须不存在。',
|
||||
'missing_with' => '当 :values 存在时 :attribute 必须不存在。',
|
||||
'missing_with_all' => '当 :values 都存在时 :attribute 必须不存在。',
|
||||
'multiple_of' => ':attribute 必须是 :value 的倍数。',
|
||||
'not_in' => '所选的 :attribute 无效。',
|
||||
'not_regex' => ':attribute 格式无效。',
|
||||
'numeric' => ':attribute 必须是数字。',
|
||||
'password' => [
|
||||
'letters' => ':attribute 必须包含至少一个字母。',
|
||||
'mixed' => ':attribute 必须包含至少一个大写和一个小写字母。',
|
||||
'numbers' => ':attribute 必须包含至少一个数字。',
|
||||
'symbols' => ':attribute 必须包含至少一个符号。',
|
||||
'uncompromised' => ':attribute 已出现在数据泄露中,请更换。',
|
||||
],
|
||||
'present' => ':attribute 必须存在。',
|
||||
'present_if' => '当 :other 为 :value 时 :attribute 必须存在。',
|
||||
'present_unless' => '除非 :other 为 :value,否则 :attribute 必须存在。',
|
||||
'present_with' => '当 :values 存在时 :attribute 必须存在。',
|
||||
'present_with_all' => '当 :values 都存在时 :attribute 必须存在。',
|
||||
'prohibited' => ':attribute 被禁止。',
|
||||
'prohibited_if' => '当 :other 为 :value 时 :attribute 被禁止。',
|
||||
'prohibited_if_accepted' => '当 :other 被接受时 :attribute 被禁止。',
|
||||
'prohibited_if_declined' => '当 :other 被拒绝时 :attribute 被禁止。',
|
||||
'prohibited_unless' => '除非 :other 在 :values 中,否则 :attribute 被禁止。',
|
||||
'prohibits' => ':attribute 禁止 :other 出现。',
|
||||
'regex' => ':attribute 格式无效。',
|
||||
'required' => ':attribute 为必填项。',
|
||||
'required_array_keys' => ':attribute 必须包含以下键::values。',
|
||||
'required_if' => '当 :other 为 :value 时 :attribute 为必填项。',
|
||||
'required_if_accepted' => '当 :other 被接受时 :attribute 为必填项。',
|
||||
'required_if_declined' => '当 :other 被拒绝时 :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' => [
|
||||
'array' => ':attribute 必须包含 :size 个元素。',
|
||||
'file' => ':attribute 必须为 :size KB。',
|
||||
'numeric' => ':attribute 必须为 :size。',
|
||||
'string' => ':attribute 必须为 :size 个字符。',
|
||||
],
|
||||
'starts_with' => ':attribute 必须以下列之一开头::values。',
|
||||
'string' => ':attribute 必须是字符串。',
|
||||
'timezone' => ':attribute 必须是有效的时区。',
|
||||
'unique' => ':attribute 已存在。',
|
||||
'uploaded' => ':attribute 上传失败。',
|
||||
'uppercase' => ':attribute 必须是大写。',
|
||||
'url' => ':attribute 必须是有效的 URL。',
|
||||
'ulid' => ':attribute 必须是有效的 ULID。',
|
||||
'uuid' => ':attribute 必须是有效的 UUID。',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 自定义验证语言行
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 自定义属性名称
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'attributes' => [],
|
||||
];
|
||||
@@ -0,0 +1,170 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 驗證提示語
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'accepted' => ':attribute 必須接受。',
|
||||
'accepted_if' => '當 :other 為 :value 時 :attribute 必須接受。',
|
||||
'active_url' => ':attribute 必須是一個有效的 URL。',
|
||||
'after' => ':attribute 必須是 :date 之後的日期。',
|
||||
'after_or_equal' => ':attribute 必須是 :date 之後或相同的日期。',
|
||||
'alpha' => ':attribute 只能包含字母。',
|
||||
'alpha_dash' => ':attribute 只能包含字母、數字、短橫線和底線。',
|
||||
'alpha_num' => ':attribute 只能包含字母和數字。',
|
||||
'any_of' => ':attribute 無效。',
|
||||
'array' => ':attribute 必須是陣列。',
|
||||
'ascii' => ':attribute 只能包含 ASCII 字元。',
|
||||
'before' => ':attribute 必須是 :date 之前的日期。',
|
||||
'before_or_equal' => ':attribute 必須是 :date 之前或相同的日期。',
|
||||
'between' => [
|
||||
'array' => ':attribute 必須在 :min 到 :max 個之間。',
|
||||
'file' => ':attribute 必須在 :min 到 :max KB 之間。',
|
||||
'numeric' => ':attribute 必須在 :min 到 :max 之間。',
|
||||
'string' => ':attribute 必須在 :min 到 :max 個字元之間。',
|
||||
],
|
||||
'boolean' => ':attribute 必須是布林值。',
|
||||
'can' => ':attribute 包含未授權的值。',
|
||||
'confirmed' => ':attribute 兩次輸入不一致。',
|
||||
'contains' => ':attribute 缺少必需值。',
|
||||
'current_password' => '密碼不正確。',
|
||||
'date' => ':attribute 必須是有效日期。',
|
||||
'date_equals' => ':attribute 必須等於 :date。',
|
||||
'date_format' => ':attribute 格式必須為 :format。',
|
||||
'decimal' => ':attribute 必須有 :decimal 位小數。',
|
||||
'declined' => ':attribute 必須拒絕。',
|
||||
'declined_if' => '當 :other 為 :value 時 :attribute 必須拒絕。',
|
||||
'different' => ':attribute 與 :other 必須不同。',
|
||||
'digits' => ':attribute 必須是 :digits 位數字。',
|
||||
'digits_between' => ':attribute 必須在 :min 到 :max 位數字之間。',
|
||||
'dimensions' => ':attribute 圖片尺寸無效。',
|
||||
'distinct' => ':attribute 存在重複值。',
|
||||
'doesnt_contain' => ':attribute 不能包含以下內容::values。',
|
||||
'doesnt_end_with' => ':attribute 不能以下列之一結尾::values。',
|
||||
'doesnt_start_with' => ':attribute 不能以下列之一開頭::values。',
|
||||
'email' => ':attribute 必須是有效的電子郵件地址。',
|
||||
'encoding' => ':attribute 必須使用 :encoding 編碼。',
|
||||
'ends_with' => ':attribute 必須以下列之一結尾::values。',
|
||||
'enum' => '所選的 :attribute 無效。',
|
||||
'exists' => '所選的 :attribute 無效。',
|
||||
'extensions' => ':attribute 必須具有以下副檔名之一::values。',
|
||||
'file' => ':attribute 必須是檔案。',
|
||||
'filled' => ':attribute 必須有值。',
|
||||
'gt' => [
|
||||
'array' => ':attribute 必須多於 :value 個元素。',
|
||||
'file' => ':attribute 必須大於 :value KB。',
|
||||
'numeric' => ':attribute 必須大於 :value。',
|
||||
'string' => ':attribute 必須大於 :value 個字元。',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => ':attribute 必須不少於 :value 個元素。',
|
||||
'file' => ':attribute 必須大於等於 :value KB。',
|
||||
'numeric' => ':attribute 必須大於等於 :value。',
|
||||
'string' => ':attribute 必須大於等於 :value 個字元。',
|
||||
],
|
||||
'hex_color' => ':attribute 必須是有效的十六進位顏色值。',
|
||||
'image' => ':attribute 必須是圖片。',
|
||||
'in' => '所選的 :attribute 無效。',
|
||||
'in_array' => ':attribute 必須存在於 :other 中。',
|
||||
'in_array_keys' => ':attribute 必須包含以下鍵之一::values。',
|
||||
'integer' => ':attribute 必須是整數。',
|
||||
'ip' => ':attribute 必須是有效的 IP 位址。',
|
||||
'ipv4' => ':attribute 必須是有效的 IPv4 位址。',
|
||||
'ipv6' => ':attribute 必須是有效的 IPv6 位址。',
|
||||
'json' => ':attribute 必須是有效的 JSON 字串。',
|
||||
'list' => ':attribute 必須是列表。',
|
||||
'lowercase' => ':attribute 必須是小寫。',
|
||||
'lt' => [
|
||||
'array' => ':attribute 必須少於 :value 個元素。',
|
||||
'file' => ':attribute 必須小於 :value KB。',
|
||||
'numeric' => ':attribute 必須小於 :value。',
|
||||
'string' => ':attribute 必須小於 :value 個字元。',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => ':attribute 不能多於 :value 個元素。',
|
||||
'file' => ':attribute 必須小於等於 :value KB。',
|
||||
'numeric' => ':attribute 必須小於等於 :value。',
|
||||
'string' => ':attribute 必須小於等於 :value 個字元。',
|
||||
],
|
||||
'mac_address' => ':attribute 必須是有效的 MAC 位址。',
|
||||
'max' => [
|
||||
'array' => ':attribute 不能超過 :max 個元素。',
|
||||
'file' => ':attribute 不能大於 :max KB。',
|
||||
'numeric' => ':attribute 不能大於 :max。',
|
||||
'string' => ':attribute 不能大於 :max 個字元。',
|
||||
],
|
||||
'max_digits' => ':attribute 不能超過 :max 位數字。',
|
||||
'mimes' => ':attribute 必須是 :values 類型的檔案。',
|
||||
'mimetypes' => ':attribute 必須是 :values 類型的檔案。',
|
||||
'min' => [
|
||||
'array' => ':attribute 至少有 :min 個元素。',
|
||||
'file' => ':attribute 至少 :min KB。',
|
||||
'numeric' => ':attribute 至少 :min。',
|
||||
'string' => ':attribute 至少 :min 個字元。',
|
||||
],
|
||||
'min_digits' => ':attribute 至少 :min 位數字。',
|
||||
'missing' => ':attribute 必須不存在。',
|
||||
'missing_if' => '當 :other 為 :value 時 :attribute 必須不存在。',
|
||||
'missing_unless' => '除非 :other 為 :value,否則 :attribute 必須不存在。',
|
||||
'missing_with' => '當 :values 存在時 :attribute 必須不存在。',
|
||||
'missing_with_all' => '當 :values 都存在時 :attribute 必須不存在。',
|
||||
'multiple_of' => ':attribute 必須是 :value 的倍數。',
|
||||
'not_in' => '所選的 :attribute 無效。',
|
||||
'not_regex' => ':attribute 格式無效。',
|
||||
'numeric' => ':attribute 必須是數字。',
|
||||
'password' => [
|
||||
'letters' => ':attribute 必須包含至少一個字母。',
|
||||
'mixed' => ':attribute 必須包含至少一個大寫和一個小寫字母。',
|
||||
'numbers' => ':attribute 必須包含至少一個數字。',
|
||||
'symbols' => ':attribute 必須包含至少一個符號。',
|
||||
'uncompromised' => ':attribute 已出現在資料外洩中,請更換。',
|
||||
],
|
||||
'present' => ':attribute 必須存在。',
|
||||
'present_if' => '當 :other 為 :value 時 :attribute 必須存在。',
|
||||
'present_unless' => '除非 :other 為 :value,否則 :attribute 必須存在。',
|
||||
'present_with' => '當 :values 存在時 :attribute 必須存在。',
|
||||
'present_with_all' => '當 :values 都存在時 :attribute 必須存在。',
|
||||
'prohibited' => ':attribute 被禁止。',
|
||||
'prohibited_if' => '當 :other 為 :value 時 :attribute 被禁止。',
|
||||
'prohibited_if_accepted' => '當 :other 被接受時 :attribute 被禁止。',
|
||||
'prohibited_if_declined' => '當 :other 被拒絕時 :attribute 被禁止。',
|
||||
'prohibited_unless' => '除非 :other 在 :values 中,否則 :attribute 被禁止。',
|
||||
'prohibits' => ':attribute 禁止 :other 出現。',
|
||||
'regex' => ':attribute 格式無效。',
|
||||
'required' => ':attribute 為必填項。',
|
||||
'required_array_keys' => ':attribute 必須包含以下鍵::values。',
|
||||
'required_if' => '當 :other 為 :value 時 :attribute 為必填項。',
|
||||
'required_if_accepted' => '當 :other 被接受時 :attribute 為必填項。',
|
||||
'required_if_declined' => '當 :other 被拒絕時 :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' => [
|
||||
'array' => ':attribute 必須包含 :size 個元素。',
|
||||
'file' => ':attribute 必須為 :size KB。',
|
||||
'numeric' => ':attribute 必須為 :size。',
|
||||
'string' => ':attribute 必須為 :size 個字元。',
|
||||
],
|
||||
'starts_with' => ':attribute 必須以下列之一開頭::values。',
|
||||
'string' => ':attribute 必須是字串。',
|
||||
'timezone' => ':attribute 必須是有效的時區。',
|
||||
'unique' => ':attribute 已存在。',
|
||||
'uploaded' => ':attribute 上傳失敗。',
|
||||
'uppercase' => ':attribute 必須是大寫。',
|
||||
'url' => ':attribute 必須是有效的 URL。',
|
||||
'ulid' => ':attribute 必須是有效的 ULID。',
|
||||
'uuid' => ':attribute 必須是有效的 UUID。',
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
'attributes' => [],
|
||||
];
|
||||
Reference in New Issue
Block a user