Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare translation_domain in configureOptions. #302

Merged
merged 1 commit into from Mar 29, 2021

Conversation

alexsegura
Copy link
Contributor

Currently the save field of ResettingFormType has no translation_domain, and results like this:

Capture d’écran 2021-03-29 à 11 32 25

A workaround is to do this in Twig template:

{{ form_widget(form.save, { translation_domain: 'NucleosUserBundle' }) }}

alexsegura added a commit to coopcycle/coopcycle-web that referenced this pull request Mar 29, 2021
@core23 core23 added this to the 1.10.0 milestone Mar 29, 2021
@core23 core23 merged commit 1a4ce7c into nucleos:1.10.x Mar 29, 2021
@core23
Copy link
Member

core23 commented Mar 29, 2021

Thanks @alexsegura

@alexsegura alexsegura deleted the fix-translation-domain branch March 29, 2021 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants