Skip to content

Conversation

insekticid
Copy link
Contributor

@insekticid insekticid commented Mar 20, 2021

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #40528
License MIT
Doc PR symfony/symfony-docs#...

If you use ->trans() in traits, your translations will be cleaned with translation:update --clean command

Affected all Symfony versions

Please write some tests for me, I took me long time to debug and repair this :(

image

@carsonbot carsonbot changed the title Missing translations from traits [Translation] Missing translations from traits Mar 20, 2021
@stof
Copy link
Member

stof commented Mar 22, 2021

Please add tests covering this, to prevent regressions

@fabpot
Copy link
Member

fabpot commented Jul 4, 2021

Thank you @insekticid.

@fabpot fabpot merged commit a224fa7 into symfony:4.4 Jul 4, 2021
This was referenced Jul 26, 2021
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.

[Translation] - translation:update command does not extract from traits
6 participants