Issue Bug Closed

#29262XLIFF: Approved attribute is on wrong element

Xavier Perseguers 08/26/11, 09:35 updated 03/07/12, 13:38

Description

Currently attribute approved="yes" is put on target element:

<trans-unit id="some-key">
    <source>some text</source>
    <target approved="yes">some translation</target>
</trans-unit>

But according to XLIFF specification it should be put on trans-unit instead:

<trans-unit id="some-key" approved="yes">
    <source>some text</source>
    <target>some translation</target>
</trans-unit>

This does not hurt currently but only has a wrong effect when importing an XLIFF file into Pootle or Virtaal: all translations are marked as having to be reworked!

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.