Skip to content

Commit 37553f7

Browse files
committed
Validator: added WebP to error message
1 parent 880142b commit 37553f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Forms/Validator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Validator
4141
Form::MAX_FILE_SIZE => 'The size of the uploaded file can be up to %d bytes.',
4242
Form::MAX_POST_SIZE => 'The uploaded data exceeds the limit of %d bytes.',
4343
Form::MIME_TYPE => 'The uploaded file is not in the expected format.',
44-
Form::IMAGE => 'The uploaded file must be image in format JPEG, GIF or PNG.',
44+
Form::IMAGE => 'The uploaded file must be image in format JPEG, GIF, PNG or WebP.',
4545
Controls\SelectBox::VALID => 'Please select a valid option.',
4646
Controls\UploadControl::VALID => 'An error occurred during file upload.',
4747
];

0 commit comments

Comments
 (0)