#5043 closed defect (fixed)
Duplicated msgid in using_postgis_dataman.xml
Reported by: | strk | Owned by: | robe |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.3.0 |
Component: | documentation | Version: | 3.2.x |
Keywords: | Cc: |
Description
Our using_postgis_dataman.xml
contains two different tags containing the same content: TRIANGLE ((0 0, 0 9, 9 0, 0 0))
— one is a <programlisting> tag on line 190 and another is a <para> tag on line 553. This results in xml2pot creating 2 msgid strings being the same, and msgmerge fail when trying to update the corresponding .po files.
To reproduce: make -C doc/ update-po
Note that the failure in make update-po
results in Transifex not receiving a translation file on make push-tx
.
Change History (4)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Regina I see that we have a similar problem with spatial_relationship.xml whereas the SAME text is used for both <refpurpose> and <para> in the description, resulting in the same msgid. In git history I see you changed some po files to include the tag in the msgid, see commit [e357e0a7381a8c2f36c62375380acbf800da697d/git] — did you find that approach to actually work ?
NOTE: if both places use the same tag there's no duplicated MSGID resulting. For some reason the list of examples on line 553 is using <para> instead of <programlisting>, maybe we should always use <programlisting> there instead ?