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

Skip to content

[TwigBridge] button_widget now has its title attr translated even if its label = null or false #35193

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

Conversation

stephen-lewis
Copy link
Contributor

Q A
Branch? 3.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #34330
License MIT
Doc PR TODO

Duplicate of #34436 but changed to bugfix and applied to 3.4. Buttons with null or false 'label' options will now have their 'title' attribute translated against the current translation domain.

@nicolas-grekas nicolas-grekas changed the title [Bugfix][TwigBridge] button_widget now has its title attr translated … [TwigBridge] button_widget now has its title attr translated even if its label = null or false Jan 4, 2020
@nicolas-grekas nicolas-grekas added this to the 3.4 milestone Jan 4, 2020
@fabpot fabpot force-pushed the bugfix/button_title_not_trans_when_label_null branch from 80b4f6a to 2a5d9cb Compare January 7, 2020 19:28
@fabpot
Copy link
Member

fabpot commented Jan 7, 2020

Thank you @stephen-lewis.

fabpot added a commit that referenced this pull request Jan 7, 2020
…ed even if its label = null or false (stephen-lewis)

This PR was squashed before being merged into the 3.4 branch (closes #35193).

Discussion
----------

[TwigBridge] button_widget now has its title attr translated even if its label = null or false

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #34330
| License       | MIT
| Doc PR        | TODO

Duplicate of #34436 but changed to bugfix and applied to 3.4. Buttons with null or false 'label' options will now have their 'title' attribute translated against the current translation domain.

Commits
-------

2a5d9cb [TwigBridge] button_widget now has its title attr translated even if its label = null or false
@fabpot fabpot merged commit 2a5d9cb into symfony:3.4 Jan 7, 2020
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.

4 participants