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

'update_catalog' doesn't update 'Project-Id-Version' #705

Open
stephenfin opened this issue Apr 15, 2020 · 0 comments · May be fixed by #706
Open

'update_catalog' doesn't update 'Project-Id-Version' #705

stephenfin opened this issue Apr 15, 2020 · 0 comments · May be fixed by #706

Comments

@stephenfin
Copy link

The distutils extract_messages command will generate a template file with an updated Project-Id-Version field, based on the version defined in e.g. setuptools.setup(). Unfortunately the update_catalog tool doesn't copy this across to the actual po files. I'm still figuring out gettext so I'm not sure if this is necessary/what it's used for, but it does look wrong, at least.

stephenfin added a commit to stephenfin/babel that referenced this issue Apr 15, 2020
When updating catalogs using the 'update_catalog' command, one would
expect to see the 'Project-Id-Version' header updated using the
information extracted with distutils. Make it so.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Closes: python-babel#705
akx pushed a commit to stephenfin/babel that referenced this issue Apr 8, 2022
When updating catalogs using the 'update_catalog' command, one would
expect to see the 'Project-Id-Version' header updated using the
information extracted with distutils. Make it so.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Closes: python-babel#705
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 a pull request may close this issue.

1 participant