A free open source IT asset/license management system
Added more back :(
sniped56252c6b31d
diff --git a/resources/lang/en-US/validation.php b/resources/lang/en-US/validation.phpindex 74d72941d5..f1a5b9ed0f 100644--- a/resources/lang/en-US/validation.php+++ b/resources/lang/en-US/validation.php@@ -171,6 +171,38 @@ return ['ulid' => 'The :attribute field must be a valid ULID.','uuid' => 'The :attribute field must be a valid UUID.',+ /*+ |--------------------------------------------------------------------------+ | 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' => 'The :attribute field contains a character that is not allowed.',+ 'email_array' => 'One or more email addresses is invalid.',+ 'hashed_pass' => 'Your current password is incorrect',+ 'dumbpwd' => 'That password is too common.',+ 'statuslabel_type' => 'You must select a valid status label type',++ // 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' => 'The :attribute must be a valid date in YYYY-MM-DD format',+ 'last_audit_date.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD hh:mm:ss format',+ 'expiration_date.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD format',+ 'termination_date.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD format',+ 'expected_checkin.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD format',+ 'start_date.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD format',+ 'end_date.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD format',+ 'checkboxes' => ':attribute contains invalid options.',+ 'radio_buttons' => ':attribute is invalid.',+ 'invalid_value_in_field' => 'Invalid value included in this field',+ ],/*|--------------------------------------------------------------------------| Custom Validation Attributes@@ -189,5 +221,5 @@ return [| Generic Validation Messages|--------------------------------------------------------------------------*/- 'invalid_value_in_field' => 'Invalid value included in this field',+];