Project

General

Profile

Actions

Bug #29262

closed

XLIFF: Approved attribute is on wrong element

Added by Xavier Perseguers over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
Start date:
2011-08-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

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!

Actions

Also available in: Atom PDF