8000 post_max_size_message translation always used · Issue #19256 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content 8000
post_max_size_message translation always used #19256
Closed
@steevanb

Description

@steevanb

#19061

Since 3.1.2, even if your form doesn't contains an upload, Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension::configureOptions() try to translate "The uploaded file was too large. Please try to upload a smaller file.", in its closure (line 47).

I don't understand why before 3.1.2, this translation was not always translated, and now, it is.
Problem is : we don't need this translation, and i throw an exception on each translation not found (to be sure all translations are found).

Can you revert it, or solve the problem ?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0