From 4cf3e063f5367cac08cfe027321cecaa46618e07 Mon Sep 17 00:00:00 2001 From: Maxime Doutreluingne Date: Mon, 28 Mar 2022 18:21:03 +0200 Subject: [PATCH] [Validator] Improve Image constraint invalid mime type message --- reference/constraints/Image.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/constraints/Image.rst b/reference/constraints/Image.rst index 408341427db..3beec73cdd1 100644 --- a/reference/constraints/Image.rst +++ b/reference/constraints/Image.rst @@ -442,7 +442,7 @@ You can find a list of existing image mime types on the `IANA website`_. ``mimeTypesMessage`` ~~~~~~~~~~~~~~~~~~~~ -**type**: ``string`` **default**: ``This file is not a valid image.`` +**type**: ``string`` **default**: ``The mime type of the file is invalid ({{ type }}). Allowed mime types are {{ types }}.`` ``minHeight`` ~~~~~~~~~~~~~