Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[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 ourterms of service andprivacy 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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
javiereguiluz left a comment
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!
stof commentedJan 14, 2019
@javiereguiluz the XliffDumper already validates the version. |
6c1d13d toe908bedComparee908bed to4ec28bdComparenicolas-grekas commentedJan 24, 2019
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 <!-- seehttps://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 | MITNew '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.