2024-03-01 03:17:02 -08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Validation Language Lines
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| The following language lines contain the default error messages used by
|
|
|
|
| the validator class. Some of these rules have multiple versions such
|
|
|
|
| such as the size rules. Feel free to tweak each of these messages.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'accepted' => 'crwdns973:0crwdne973:0',
|
|
|
|
'active_url' => 'crwdns974:0crwdne974:0',
|
|
|
|
'after' => 'crwdns975:0crwdne975:0',
|
|
|
|
'after_or_equal' => 'crwdns1921:0crwdne1921:0',
|
|
|
|
'alpha' => 'crwdns976:0crwdne976:0',
|
|
|
|
'alpha_dash' => 'crwdns977:0crwdne977:0',
|
|
|
|
'alpha_num' => 'crwdns978:0crwdne978:0',
|
|
|
|
'array' => 'crwdns1922:0crwdne1922:0',
|
|
|
|
'before' => 'crwdns979:0crwdne979:0',
|
|
|
|
'before_or_equal' => 'crwdns1923:0crwdne1923:0',
|
|
|
|
'between' => [
|
|
|
|
'numeric' => 'crwdns980:0crwdne980:0',
|
|
|
|
'file' => 'crwdns981:0crwdne981:0',
|
|
|
|
'string' => 'crwdns982:0crwdne982:0',
|
|
|
|
'array' => 'crwdns1924:0crwdne1924:0',
|
|
|
|
],
|
|
|
|
'boolean' => 'crwdns1860:0crwdne1860:0',
|
|
|
|
'confirmed' => 'crwdns983:0crwdne983:0',
|
|
|
|
'date' => 'crwdns984:0crwdne984:0',
|
|
|
|
'date_format' => 'crwdns985:0crwdne985:0',
|
|
|
|
'different' => 'crwdns986:0crwdne986:0',
|
|
|
|
'digits' => 'crwdns987:0crwdne987:0',
|
|
|
|
'digits_between' => 'crwdns988:0crwdne988:0',
|
|
|
|
'dimensions' => 'crwdns1925:0crwdne1925:0',
|
|
|
|
'distinct' => 'crwdns1926:0crwdne1926:0',
|
|
|
|
'email' => 'crwdns989:0crwdne989:0',
|
|
|
|
'exists' => 'crwdns990:0crwdne990:0',
|
|
|
|
'file' => 'crwdns1927:0crwdne1927:0',
|
|
|
|
'filled' => 'crwdns1928:0crwdne1928:0',
|
|
|
|
'image' => 'crwdns991:0crwdne991:0',
|
|
|
|
'import_field_empty' => 'crwdns11191:0crwdne11191:0',
|
|
|
|
'in' => 'crwdns992:0crwdne992:0',
|
|
|
|
'in_array' => 'crwdns1929:0crwdne1929:0',
|
|
|
|
'integer' => 'crwdns993:0crwdne993:0',
|
|
|
|
'ip' => 'crwdns994:0crwdne994:0',
|
|
|
|
'ipv4' => 'crwdns1930:0crwdne1930:0',
|
|
|
|
'ipv6' => 'crwdns1931:0crwdne1931:0',
|
|
|
|
'is_unique_department' => 'crwdns11193:0crwdne11193:0',
|
|
|
|
'json' => 'crwdns1932:0crwdne1932:0',
|
|
|
|
'max' => [
|
|
|
|
'numeric' => 'crwdns995:0crwdne995:0',
|
|
|
|
'file' => 'crwdns996:0crwdne996:0',
|
|
|
|
'string' => 'crwdns997:0crwdne997:0',
|
|
|
|
'array' => 'crwdns1933:0crwdne1933:0',
|
|
|
|
],
|
|
|
|
'mimes' => 'crwdns998:0crwdne998:0',
|
|
|
|
'mimetypes' => 'crwdns1934:0crwdne1934:0',
|
|
|
|
'min' => [
|
|
|
|
'numeric' => 'crwdns999:0crwdne999:0',
|
|
|
|
'file' => 'crwdns1000:0crwdne1000:0',
|
|
|
|
'string' => 'crwdns1001:0crwdne1001:0',
|
|
|
|
'array' => 'crwdns1935:0crwdne1935:0',
|
|
|
|
],
|
|
|
|
'starts_with' => 'crwdns6095:0crwdne6095:0',
|
|
|
|
'ends_with' => 'crwdns11607:0crwdne11607:0',
|
|
|
|
|
|
|
|
'not_in' => 'crwdns1002:0crwdne1002:0',
|
|
|
|
'numeric' => 'crwdns1003:0crwdne1003:0',
|
|
|
|
'present' => 'crwdns1936:0crwdne1936:0',
|
|
|
|
'valid_regex' => 'crwdns1970:0crwdne1970:0',
|
|
|
|
'regex' => 'crwdns1004:0crwdne1004:0',
|
|
|
|
'required' => 'crwdns1005:0crwdne1005:0',
|
|
|
|
'required_if' => 'crwdns1006:0crwdne1006:0',
|
|
|
|
'required_unless' => 'crwdns1937:0crwdne1937:0',
|
|
|
|
'required_with' => 'crwdns1007:0crwdne1007:0',
|
|
|
|
'required_with_all' => 'crwdns1938:0crwdne1938:0',
|
|
|
|
'required_without' => 'crwdns1008:0crwdne1008:0',
|
|
|
|
'required_without_all' => 'crwdns1939:0crwdne1939:0',
|
|
|
|
'same' => 'crwdns1009:0crwdne1009:0',
|
|
|
|
'size' => [
|
|
|
|
'numeric' => 'crwdns1010:0crwdne1010:0',
|
|
|
|
'file' => 'crwdns1011:0crwdne1011:0',
|
|
|
|
'string' => 'crwdns1012:0crwdne1012:0',
|
|
|
|
'array' => 'crwdns1940:0crwdne1940:0',
|
|
|
|
],
|
|
|
|
'string' => 'crwdns1941:0crwdne1941:0',
|
|
|
|
'timezone' => 'crwdns1942:0crwdne1942:0',
|
|
|
|
'two_column_unique_undeleted' => 'crwdns11892:0crwdne11892:0',
|
|
|
|
'unique' => 'crwdns1013:0crwdne1013:0',
|
|
|
|
'uploaded' => 'crwdns1943:0crwdne1943:0',
|
|
|
|
'url' => 'crwdns1014:0crwdne1014:0',
|
|
|
|
'unique_undeleted' => 'crwdns1964:0crwdne1964:0',
|
|
|
|
'non_circular' => 'crwdns6070:0crwdne6070:0',
|
|
|
|
'not_array' => 'crwdns12056:0crwdne12056:0',
|
|
|
|
'disallow_same_pwd_as_user_fields' => 'crwdns10498:0crwdne10498:0',
|
|
|
|
'letters' => 'crwdns10500:0crwdne10500:0',
|
|
|
|
'numbers' => 'crwdns10502:0crwdne10502:0',
|
|
|
|
'case_diff' => 'crwdns10504:0crwdne10504:0',
|
|
|
|
'symbols' => 'crwdns10506:0crwdne10506:0',
|
|
|
|
'gte' => [
|
|
|
|
'numeric' => 'crwdns6796:0crwdne6796:0'
|
|
|
|
],
|
2024-03-27 11:59:28 -07:00
|
|
|
'checkboxes' => 'crwdns12152:0crwdne12152:0',
|
|
|
|
'radio_buttons' => 'crwdns12154:0crwdne12154:0',
|
2024-03-01 03:17:02 -08:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Custom Validation Language Lines
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here you may specify custom validation messages for attributes using the
|
|
|
|
| convention "attribute.rule" to name the lines. This makes it quick to
|
|
|
|
| specify a specific custom language line for a given attribute rule.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'custom' => [
|
|
|
|
'alpha_space' => 'crwdns1944:0crwdne1944:0',
|
|
|
|
'email_array' => 'crwdns1945:0crwdne1945:0',
|
|
|
|
'hashed_pass' => 'crwdns1946:0crwdne1946:0',
|
|
|
|
'dumbpwd' => 'crwdns1947:0crwdne1947:0',
|
|
|
|
'statuslabel_type' => 'crwdns1948:0crwdne1948:0',
|
|
|
|
|
|
|
|
// date_format validation with slightly less stupid messages. It duplicates a lot, but it gets the job done :(
|
|
|
|
// We use this because the default error message for date_format is reflects php Y-m-d, which non-PHP
|
|
|
|
// people won't know how to format.
|
|
|
|
'purchase_date.date_format' => 'crwdns11247:0crwdne11247:0',
|
|
|
|
'last_audit_date.date_format' => 'crwdns11249:0crwdne11249:0',
|
|
|
|
'expiration_date.date_format' => 'crwdns11251:0crwdne11251:0',
|
|
|
|
'termination_date.date_format' => 'crwdns11253:0crwdne11253:0',
|
|
|
|
'expected_checkin.date_format' => 'crwdns11255:0crwdne11255:0',
|
|
|
|
'start_date.date_format' => 'crwdns11257:0crwdne11257:0',
|
|
|
|
'end_date.date_format' => 'crwdns11259:0crwdne11259:0',
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Custom Validation Attributes
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| The following language lines are used to swap attribute place-holders
|
|
|
|
| with something more reader friendly such as E-Mail Address instead
|
|
|
|
| of "email". This simply helps us make messages a little cleaner.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'attributes' => [],
|
|
|
|
|
2024-03-27 11:59:28 -07:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Generic Validation Messages
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
'invalid_value_in_field' => 'crwdns12156:0crwdne12156:0',
|
2024-03-01 03:17:02 -08:00
|
|
|
];
|