-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] xliff-version option to translation update command #29850
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
[FrameworkBundle] xliff-version option to translation update command #29850
Conversation
src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wondered if we should validate the given version somehow ... but in addition to complicating things, not doing that gives more flexibility for edge-cases where developers may need to use a non-standard looking version. So I think the proposed changes are enough. Thanks!
@javiereguiluz the XliffDumper already validates the version. |
6c1d13d
to
e908bed
Compare
e908bed
to
4ec28bd
Compare
Thank you @andrewwro. |
…update command (andrewwro) This PR was squashed before being merged into the 4.3-dev branch (closes #29850). Discussion ---------- [FrameworkBundle] xliff-version option to translation update command | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | no <!-- please add some, will be required by reviewers --> | License | MIT New 'version' option added to xliff translation update command. Currently xliff version is hardcoded to 1.2. Commits ------- 4ec28bd [FrameworkBundle] xliff-version option to translation update command
New 'version' option added to xliff translation update command. Currently xliff version is hardcoded to 1.2.