Skip to content

post_max_size_message translation always used #19256

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy