Skip to content

[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

Conversation

andrewwro
Copy link
Contributor

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? no
License MIT

New 'version' option added to xliff translation update command. Currently xliff version is hardcoded to 1.2.

@andrewwro andrewwro changed the title Added xliff-version option to update translation file [FrameworkBundle] xliff-version option to translation update command Jan 11, 2019
Copy link
Member

@javiereguiluz javiereguiluz left a 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
Copy link
Member

stof commented Jan 14, 2019

@javiereguiluz the XliffDumper already validates the version.

@andrewwro andrewwro force-pushed the translation-update-command-xliff-version-option branch from 6c1d13d to e908bed Compare January 18, 2019 15:21
@nicolas-grekas nicolas-grekas added this to the next milestone Jan 24, 2019
@nicolas-grekas nicolas-grekas force-pushed the translation-update-command-xliff-version-option branch from e908bed to 4ec28bd Compare January 24, 2019 20:08
@nicolas-grekas
Copy link
Member

Thank you @andrewwro.

@nicolas-grekas nicolas-grekas merged commit 4ec28bd into symfony:master Jan 24, 2019
nicolas-grekas added a commit that referenced this pull request Jan 24, 2019
…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
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.3 Apr 30, 2019
@fabpot fabpot mentioned this pull request May 9, 2019
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.

6 participants