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

Translations: duplicate message definition #555

Open
xiota opened this issue Dec 31, 2024 · 1 comment
Open

Translations: duplicate message definition #555

xiota opened this issue Dec 31, 2024 · 1 comment

Comments

@xiota
Copy link

xiota commented Dec 31, 2024

Running make in extras/translations of commit 212b0e3 produces the following error:

it.po:1716: duplicate message definition...
it.po:396: ...this is the location of the first definition
msgfmt: found 1 fatal error
make: *** [Makefile:22: it.mo] Error 1
@Narrat
Copy link
Collaborator

Narrat commented Dec 31, 2024

I was debating if it was due to a feature in the new gettext version (0.23 got released) or due to an error in translation files as I noticed the same error when trying to create a new package.
But it seems to be due to a change in the translation. For reference this is caused by b6f1288#diff-a4ce33929e58557cf64c605f51f1962bba0b693e5062b4cee3502ab99a22068a
Didn't check why it doesn't happen with other language files, but italian translation does have a plus of around ~200 lines, which is odd (caused by this weblate commit: 431f1c6 ).
@jaromil: is that something that needs to corrected via weblate, or does it need in general a new run of generate_translate_strings and those are uploaded to weblate?

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

No branches or pull requests

2 participants