Skip to content

Commit 492370c

Browse files
committed
fix post_max_size_message translation
1 parent 671253c commit 492370c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Resources/config/form.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,5 +189,10 @@
189189
<service id="form.type_extension.submit.validator" class="Symfony\Component\Form\Extension\Validator\Type\SubmitTypeValidatorExtension">
190190
<tag name="form.type_extension" alias="submit" />
191191
</service>
192+
<service id="form.type_extension.upload.validator" class="Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension">
193+
<tag name="form.type_extension" alias="form" />
194+
<argument type="service" id="translator"/>
195+
<argument type="string">%validator.translation_domain%</argument>
196+
</service>
192197
</services>
193198
</container>

0 commit comments

Comments
 (0)