Skip to content

[Translator] Add sources when dumping qt files #31248

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

Merged
merged 1 commit into from
Apr 29, 2019
Merged

[Translator] Add sources when dumping qt files #31248

merged 1 commit into from
Apr 29, 2019

Conversation

Stadly
Copy link
Contributor

@Stadly Stadly commented Apr 25, 2019

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

This PR implements similar functionality as #30909, but for Qt files. Currently, only the Qt element location is supported, so only sources metadata is included in the dump.

@Stadly
Copy link
Contributor Author

Stadly commented Apr 25, 2019

I don't think the failing build has anything to do with this PR.

@nicolas-grekas nicolas-grekas added this to the next milestone Apr 26, 2019
@fabpot
Copy link
Member

fabpot commented Apr 29, 2019

Thank you @Stadly.

@fabpot fabpot merged commit ff7577d into symfony:master Apr 29, 2019
fabpot added a commit that referenced this pull request Apr 29, 2019
This PR was merged into the 4.3-dev branch.

Discussion
----------

[Translator] Add sources when dumping qt files

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

This PR implements similar functionality as #30909, but for Qt files. Currently, only the Qt element `location` is supported, so only `sources` metadata is included in the dump.

Commits
-------

ff7577d Add sources when dumping qt files
@Stadly Stadly deleted the dump-sources-qt branch April 29, 2019 10:10
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.3 Apr 30, 2019
fabpot added a commit that referenced this pull request May 7, 2019
…php files (Stadly)

This PR was squashed before being merged into the 4.3-dev branch (closes #31249).

Discussion
----------

[Translator] Set sources when extracting strings from php files

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Set metadata about filenames and line numbers when extracting translatable strings from php files. This PR complements #30909 and #31248, as those PRs implement support for dumping the filenames and line numbers to Po and Qt file formats.

Commits
-------

f05d4e4 [Translator] Set sources when extracting strings from php files
@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.

4 participants