You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While uploading a .po file to transifex using tx push I receive errors like:
tx ERROR: Error received from server: Could not import file: A duplicate msgid was detected (**Default CRS for new projects**). Use a unique msgid or add a msgctxt to differentiate.
tx ERROR: Could not push translations. You can use --skip to ignore this error and continue the execution.
But investigating the .po file I found that that file does not really contain duplicate duplicates, but those duplicates are actually 'commented out' versions of older translations.
To check: search for Default CRS for new projects in this version:
First of all, I would like to thank you for sharing your feedback with us.
I would like to inform you that I will forward this case to the product team to see how we can address this. However, removing such entries from the file seems to be the only way to work around this.
Once I have an update I will let you know.
@pankav thanks for your answer, I indeed already removed those parts.
But I would think it would be better to handle this more intelligent during the parsing at your end?
So leave this open OK?
While uploading a .po file to transifex using
tx push
I receive errors like:But investigating the .po file I found that that file does not really contain duplicate duplicates, but those duplicates are actually 'commented out' versions of older translations.
To check: search for
Default CRS for new projects
in this version:https://github.com/qgis/QGIS-Documentation/blob/1f81c15c12d4430e9c63c15e0bb0762dfce53487/locale/ja/LC_MESSAGES/docs/user_manual/introduction/qgis_configuration.po
and further below in the file:
Some translation tools (qt-linguist??) do this (adding commented lines) to 'remember' some older or removed translations if I'm correct.
I can use --skip to make it push go on, but I think it would be better if we can see IF something went wrong and do without?
So in this case, I think
tx
should ignoremsgid
lines which are commented out?Do you agree with that? Or do I miss something.
Thanks for all the work!
The text was updated successfully, but these errors were encountered: