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

Allow --add-location parameter #16

Merged
merged 1 commit into from
Aug 9, 2016

Conversation

TimVevida
Copy link
Contributor

Allow usage of the --add-location parameter. By default, the location
consists of a hash, colon, file name and line number. In more recent
versions of xgettext, this can be altered to 'none' or 'file'. The
default value is 'full', but this is implied when the parameter is
missing.

I want to remove the line numbers from the .pot-file, because they
change frequently and this causes differences in the .pot-file that are
not really changes, but do show op in the versioning system each time.

Allow usage of the --add-location parameter. By default, the location
consists of a hash, colon, file name and line number. In more recent
versions of xgettext, this can be altered to 'none' or 'file'. The
default value is 'full', but this is implied when the parameter is
missing.

I want to remove the line numbers from the .pot-file, because they
change frequently and this causes differences in the .pot-file that are
not really changes, but do show op in the versioning system each time.
@TimVevida
Copy link
Contributor Author

@stephenharris Please accept this PR or comment on it.

@TimVevida
Copy link
Contributor Author

Hello Stephen, thanks for responding.

To answer your first question: By default, the --add-location argument will not be added to the xgettext call. This ensures compatibility with existing configurations.

I know that the --add-location argument was added at some point, but cannot find a changelog of xgettext. So I could not tell you what would happen for older versions of xgettext. I presume they will give an error.

@stephenharris stephenharris merged commit bc53e72 into stephenharris:master Aug 9, 2016
@stephenharris
Copy link
Owner

Ah, of course, not sure how I missed that. Thanks for the PR!

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.

2 participants