Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix choice translation domain for expanded choice widget #15142

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

Merged
merged 1 commit into from
Jun 30, 2015

Conversation

jvasseur
Copy link
Contributor

Q A
Bug fix? yes
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #15140
License MIT

This fix the form component using the translation_domain instead of the choice_translation_domain for expanded choice widgets.

I had to add the possibility to skip label translation when using translation_domain => false to do this fix so this can be considered a new feature to.

@Tobion
Copy link
Contributor

Tobion commented Jun 29, 2015

Looks like a good solution. A test would be good though.

@jvasseur jvasseur force-pushed the expanded-choice-translation-domain branch 2 times, most recently from 04d1b02 to 12af58d Compare June 29, 2015 19:22
@jvasseur jvasseur force-pushed the expanded-choice-translation-domain branch from 12af58d to 52755ba Compare June 29, 2015 19:23
@jvasseur
Copy link
Contributor Author

Added some tests.

@Tobion
Copy link
Contributor

Tobion commented Jun 29, 2015

👍

2.7 is the correct branch since that is where choice_translation_domain was introduced.

@fabpot
Copy link
Member

fabpot commented Jun 30, 2015

Thank you @jvasseur.

@fabpot fabpot merged commit 52755ba into symfony:2.7 Jun 30, 2015
fabpot added a commit that referenced this pull request Jun 30, 2015
…jvasseur)

This PR was merged into the 2.7 branch.

Discussion
----------

Fix choice translation domain for expanded choice widget

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #15140
| License       | MIT

This fix the form component using the translation_domain instead of the choice_translation_domain for expanded choice widgets.

I had to add the possibility to skip label translation when using ```translation_domain => false``` to do this fix so this can be considered a new feature to.

Commits
-------

52755ba Fix choice translation domain for expanded choice widget
@jvasseur jvasseur deleted the expanded-choice-translation-domain branch June 30, 2015 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants