taiga-back icon indicating copy to clipboard operation
taiga-back copied to clipboard

[BUG] `compilemessages` fails due to invalid .po file

Open nebulade opened this issue 2 years ago • 0 comments

While trying to update the Cloudron package to taiga-back 6.7.1, the Docker image build step python manage.py compilemessages fails with the following message:

Execution of msgfmt failed: /app/code/taiga-back/taiga/locale/eu/LC_MESSAGES/django.po:961: a format specification for argument 'product_name' doesn't exist in 'msgstr'
msgfmt: found 1 fatal error
CommandError: compilemessages generated one or more errors.

I don't know .po files well, but looks like https://github.com/kaleidos-ventures/taiga-back/blob/main/taiga/locale/eu/LC_MESSAGES/django.po#L955C11-L955C11 is missing in that translation msgstr ?

In our case the build script is https://git.cloudron.io/cloudron/taiga-app/-/blob/master/build.sh?ref_type=heads#L26

nebulade avatar Sep 20 '23 14:09 nebulade