Skip to content
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

fix: Use relative paths in .po file source comments #64

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pmpak
Copy link

@pmpak pmpak commented Nov 23, 2024

Addresses the issue where file paths in .po file comments were absolute, reflecting the local machine's directory structure.

Fixes #63

Also added more integration tests and updated them to use a local build instead of compiling with tsx to have the behavior close to what is published, and to prevent situations like #58 and #62.

Addresses the issue where file paths in .po file comments were absolute,
reflecting the local machine's directory structure.

Fixes vendure-ecommerce#63
@pmpak
Copy link
Author

pmpak commented Nov 24, 2024

@michaelbromley do not release after you merge this PR because I'll create a follow up PR for adding the flag to disable comments in the po files.

The `--po-source-locations` option controls whether to include file location
comments in `.po` files. Defaults to `true`.

`--po-source-locations=false` or `--no-po-source-locations`: Excludes location comments.

Closes vendure-ecommerce#63
@pmpak
Copy link
Author

pmpak commented Dec 9, 2024

@michaelbromley I pushed the extra commit for adding the CLI option to toggle the source locations in this branch, so after merging you can proceed with releasing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Absolute source location in team projects
1 participant