Path: blob/1.0-develop/resources/lang/en/validation.php
7459 views
<?php12return [3/*4|--------------------------------------------------------------------------5| Validation Language Lines6|--------------------------------------------------------------------------7|8| The following language lines contain the default error messages used by9| the validator class. Some of these rules have multiple versions such10| as the size rules. Feel free to tweak each of these messages here.11|12*/1314'accepted' => 'The :attribute must be accepted.',15'active_url' => 'The :attribute is not a valid URL.',16'after' => 'The :attribute must be a date after :date.',17'after_or_equal' => 'The :attribute must be a date after or equal to :date.',18'alpha' => 'The :attribute may only contain letters.',19'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.',20'alpha_num' => 'The :attribute may only contain letters and numbers.',21'array' => 'The :attribute must be an array.',22'before' => 'The :attribute must be a date before :date.',23'before_or_equal' => 'The :attribute must be a date before or equal to :date.',24'between' => [25'numeric' => 'The :attribute must be between :min and :max.',26'file' => 'The :attribute must be between :min and :max kilobytes.',27'string' => 'The :attribute must be between :min and :max characters.',28'array' => 'The :attribute must have between :min and :max items.',29],30'boolean' => 'The :attribute field must be true or false.',31'confirmed' => 'The :attribute confirmation does not match.',32'date' => 'The :attribute is not a valid date.',33'date_format' => 'The :attribute does not match the format :format.',34'different' => 'The :attribute and :other must be different.',35'digits' => 'The :attribute must be :digits digits.',36'digits_between' => 'The :attribute must be between :min and :max digits.',37'dimensions' => 'The :attribute has invalid image dimensions.',38'distinct' => 'The :attribute field has a duplicate value.',39'email' => 'The :attribute must be a valid email address.',40'exists' => 'The selected :attribute is invalid.',41'file' => 'The :attribute must be a file.',42'filled' => 'The :attribute field is required.',43'image' => 'The :attribute must be an image.',44'in' => 'The selected :attribute is invalid.',45'in_array' => 'The :attribute field does not exist in :other.',46'integer' => 'The :attribute must be an integer.',47'ip' => 'The :attribute must be a valid IP address.',48'json' => 'The :attribute must be a valid JSON string.',49'max' => [50'numeric' => 'The :attribute may not be greater than :max.',51'file' => 'The :attribute may not be greater than :max kilobytes.',52'string' => 'The :attribute may not be greater than :max characters.',53'array' => 'The :attribute may not have more than :max items.',54],55'mimes' => 'The :attribute must be a file of type: :values.',56'mimetypes' => 'The :attribute must be a file of type: :values.',57'min' => [58'numeric' => 'The :attribute must be at least :min.',59'file' => 'The :attribute must be at least :min kilobytes.',60'string' => 'The :attribute must be at least :min characters.',61'array' => 'The :attribute must have at least :min items.',62],63'not_in' => 'The selected :attribute is invalid.',64'numeric' => 'The :attribute must be a number.',65'present' => 'The :attribute field must be present.',66'regex' => 'The :attribute format is invalid.',67'required' => 'The :attribute field is required.',68'required_if' => 'The :attribute field is required when :other is :value.',69'required_unless' => 'The :attribute field is required unless :other is in :values.',70'required_with' => 'The :attribute field is required when :values is present.',71'required_with_all' => 'The :attribute field is required when :values is present.',72'required_without' => 'The :attribute field is required when :values is not present.',73'required_without_all' => 'The :attribute field is required when none of :values are present.',74'same' => 'The :attribute and :other must match.',75'size' => [76'numeric' => 'The :attribute must be :size.',77'file' => 'The :attribute must be :size kilobytes.',78'string' => 'The :attribute must be :size characters.',79'array' => 'The :attribute must contain :size items.',80],81'string' => 'The :attribute must be a string.',82'timezone' => 'The :attribute must be a valid zone.',83'unique' => 'The :attribute has already been taken.',84'uploaded' => 'The :attribute failed to upload.',85'url' => 'The :attribute format is invalid.',8687/*88|--------------------------------------------------------------------------89| Custom Validation Attributes90|--------------------------------------------------------------------------91|92| The following language lines are used to swap attribute place-holders93| with something more reader friendly such as E-Mail Address instead94| of "email". This simply helps us make messages a little cleaner.95|96*/9798'attributes' => [],99100// Internal validation logic for Pterodactyl101'internal' => [102'variable_value' => ':env variable',103'invalid_password' => 'The password provided was invalid for this account.',104],105];106107108