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 duplicate locations when writing without lineno #837

Merged
merged 1 commit into from Apr 8, 2022

Conversation

ljodal
Copy link
Contributor

@ljodal ljodal commented Jan 31, 2022

If the same translation appears multiple times in the same file,
duplicate locations would be written to the .po file when using
write_po(..., include_lineno=False).

If the same translation appears multiple times in the same file,
duplicate locations would be written to the .po file when using
write_po(..., include_lineno=False).
Copy link
Member

@akx akx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks!

@akx akx added this to the Babel 2.10 milestone Feb 4, 2022
@akx akx merged commit 7e90d6b into python-babel:master Apr 8, 2022
@ljodal ljodal deleted the fix-duplicate-locations branch April 10, 2022 14:23
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.

None yet

2 participants