When migrating a module from 16.0 to 18.0 I get about 136 po-duplicate-message-definition errors, two each in 68 files:
base_external_system/i18n/ca.po:64: po-duplicate-model-definition Translation for model:ir.ui.view,arch_db:base_external_system.external_system_view_form has been defined more than once in line(s) 134, 232
base_external_system/i18n/ca.po:82: po-duplicate-model-definition Translation for model:ir.ui.view,arch_db:base_external_system.external_system_view_search has been defined more than once in line(s) 100, 108, 177, 321
See: https://github.com/OCA/server-backend/actions/runs/23799186970/job/69354516104?pr=447
If I look at the actual "duplicates" I doubt whether this is really correct, let I look at the first example, the message about model:ir.ui.view,arch_db:base_external_system.external_system_view_form:
60
61 #. module: base_external_system
62 #: model:ir.model,name:base_external_system.model_external_system
63 #: model:ir.ui.view,arch_db:base_external_system.external_system_view_form
64 msgid "External System"
65 msgstr ""
...
132 #. module: base_external_system
133 #: model:ir.ui.view,arch_db:base_external_system.external_system_view_form
134 msgid "Keys"
135 msgstr ""
...
229
230 #. module: base_external_system
231 #: model:ir.ui.view,arch_db:base_external_system.external_system_view_form
232 msgid "Test Connection"
233 msgstr ""
So the msgid and the translation are different, it is only the line on the form that probably not be there. It is also in the pot file. Might this be a bug in the generation of the pot file that then is applied to all po files as well?
When migrating a module from 16.0 to 18.0 I get about 136 po-duplicate-message-definition errors, two each in 68 files:
See: https://github.com/OCA/server-backend/actions/runs/23799186970/job/69354516104?pr=447
If I look at the actual "duplicates" I doubt whether this is really correct, let I look at the first example, the message about
model:ir.ui.view,arch_db:base_external_system.external_system_view_form:So the msgid and the translation are different, it is only the line on the form that probably not be there. It is also in the pot file. Might this be a bug in the generation of the pot file that then is applied to all po files as well?