Commit c5df35b8 authored by jhargrave's avatar jhargrave

Merge branch 'master' of okapi:okapiframework/okapi-integration-tests into...

Merge branch 'master' of okapi:okapiframework/okapi-integration-tests into code_simplify_config_enhancements
parents 1b95f5d8 1ae7c819
......@@ -22,4 +22,12 @@ Bilingual file's locales are auto-detected.
These conventions allow large numbers of files and configurations to be tested with standard code. Any files that are added to "integration-tests-common" will be automatically tested by other integration tests that assume the above conventions (for example integration-tests-tkit)
Test files that fail should be given a "_FAIL" suffix. This will mark them so they are not included in the tests and warn developers that these files have issues. Some integration tests are marked with "@Ignore(...)". This may not mean there is a problem, only that comparison of the different files found differences. In some cases the latest code may be correct. Please look at these tests carefully and if possible suggest a better way to compare the results.
\ No newline at end of file
Test files that fail should be given a "_FAIL" suffix. This will mark them so they are not included in the tests and warn developers that these files have issues. Some integration tests are marked with "@Ignore(...)". This may not mean there is a problem, only that comparison of the different files found differences. In some cases the latest code may be correct. Please look at these tests carefully and if possible suggest a better way to compare the results.
Info on how to update the golden files (from Jim):
1. Build the integration tests in Eclipse (Right Clisk -> Maven -> Update Project). Be sure to select the option to force update of snaphots.
2. Run the tkit integration tests (net.sf.okapi.tkit.integration) to generate the updated XLIFF.
3. Navigate to "../okapi-integration-tests/target/test-classes/.." and select the new xliff files. Be sure to also copy over the ones in sub-directories.
4. Copy the xliff files to the corresponding directories under "../okapi-integration-tests/src/test/resources/XLIFF_M28_05_12_2015"
5. Do a refresh in eclipse and re-run the XLIFF compare you should see everything pass.
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="AndroidTest1.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1">
<source xml:lang="en"> <ph id="1">&lt;!-- Not to be translated--&gt;</ph> </source>
<seg-source><mrk mid="0" mtype="seg"> <ph id="1">&lt;!-- Not to be translated--&gt;</ph></mrk> </seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg"> <ph id="1">&lt;!-- Not to be translated--&gt;</ph></mrk> </target>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="AndroidTest1.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1">
<source xml:lang="en"> <ph id="1">&lt;!-- Not to be translated--&gt;</ph> </source>
<seg-source><mrk mid="0" mtype="seg"> <ph id="1">&lt;!-- Not to be translated--&gt;</ph></mrk> </seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg"> <ph id="1">&lt;!-- Not to be translated--&gt;</ph></mrk> </target>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="AndroidTest2.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1">
<source xml:lang="en">Hello, Android! I am a string resource!</source>
<seg-source><mrk mid="0" mtype="seg">Hello, Android! I am a string resource!</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Hello, Android! I am a string resource!</mrk></target>
</trans-unit>
<trans-unit id="2">
<source xml:lang="en">Hello, Android</source>
<seg-source><mrk mid="0" mtype="seg">Hello, Android</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Hello, Android</mrk></target>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="AndroidTest2.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1">
<source xml:lang="en">Hello, Android! I am a string resource!</source>
<seg-source><mrk mid="0" mtype="seg">Hello, Android! I am a string resource!</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Hello, Android! I am a string resource!</mrk></target>
</trans-unit>
<trans-unit id="2">
<source xml:lang="en">Hello, Android</source>
<seg-source><mrk mid="0" mtype="seg">Hello, Android</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Hello, Android</mrk></target>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="AndroidTest3.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1">
<source xml:lang="en">Welcome!</source>
<seg-source><mrk mid="0" mtype="seg">Welcome!</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Welcome!</mrk></target>
</trans-unit>
<trans-unit id="2">
<source xml:lang="en">We are </source>
<seg-source><mrk mid="0" mtype="seg">We are</mrk> </seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">We are</mrk> </target>
</trans-unit>
<trans-unit id="3">
<source xml:lang="en">so</source>
<seg-source><mrk mid="0" mtype="seg">so</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">so</mrk></target>
</trans-unit>
<trans-unit id="4">
<source xml:lang="en"> glad to see you.</source>
<seg-source><mrk mid="0" mtype="seg"> glad to see you.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg"> glad to see you.</mrk></target>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="AndroidTest3.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1">
<source xml:lang="en">Welcome!</source>
<seg-source><mrk mid="0" mtype="seg">Welcome!</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Welcome!</mrk></target>
</trans-unit>
<trans-unit id="2">
<source xml:lang="en">We are </source>
<seg-source><mrk mid="0" mtype="seg">We are</mrk> </seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">We are</mrk> </target>
</trans-unit>
<trans-unit id="3">
<source xml:lang="en">so</source>
<seg-source><mrk mid="0" mtype="seg">so</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">so</mrk></target>
</trans-unit>
<trans-unit id="4">
<source xml:lang="en"> glad to see you.</source>
<seg-source><mrk mid="0" mtype="seg"> glad to see you.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg"> glad to see you.</mrk></target>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="LocNote-1.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1" its:locNote="The variable {0} has three possible values:
'printer', 'copier' and 'scanner'." its:locNoteType="alert">
<source xml:lang="en">The {0} has been enabled.</source>
<seg-source><mrk mid="0" mtype="seg">The {0} has been enabled.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">The {0} has been enabled.</mrk></target>
<note>The variable {0} has three possible values:
'printer', 'copier' and 'scanner'.</note>
</trans-unit>
<trans-unit id="2" its:locNote="The variable {0} has three possible values:
'printer', 'copier' and 'scanner'." its:locNoteType="alert">
<source xml:lang="en">The {0} has been disabled.</source>
<seg-source><mrk mid="0" mtype="seg">The {0} has been disabled.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">The {0} has been disabled.</mrk></target>
<note>The variable {0} has three possible values:
'printer', 'copier' and 'scanner'.</note>
</trans-unit>
<trans-unit id="3" its:locNote="The variable {0} has three possible values:
'printer', 'copier' and 'scanner'." its:locNoteType="alert">
<source xml:lang="en">The {0} is out of service.</source>
<seg-source><mrk mid="0" mtype="seg">The {0} is out of service.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">The {0} is out of service.</mrk></target>
<note>The variable {0} has three possible values:
'printer', 'copier' and 'scanner'.</note>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="LocNote-1.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1" its:locNote="The variable {0} has three possible values:
'printer', 'copier' and 'scanner'." its:locNoteType="alert">
<source xml:lang="en">The {0} has been enabled.</source>
<seg-source><mrk mid="0" mtype="seg">The {0} has been enabled.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">The {0} has been enabled.</mrk></target>
<note>The variable {0} has three possible values:
'printer', 'copier' and 'scanner'.</note>
</trans-unit>
<trans-unit id="2" its:locNote="The variable {0} has three possible values:
'printer', 'copier' and 'scanner'." its:locNoteType="alert">
<source xml:lang="en">The {0} has been disabled.</source>
<seg-source><mrk mid="0" mtype="seg">The {0} has been disabled.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">The {0} has been disabled.</mrk></target>
<note>The variable {0} has three possible values:
'printer', 'copier' and 'scanner'.</note>
</trans-unit>
<trans-unit id="3" its:locNote="The variable {0} has three possible values:
'printer', 'copier' and 'scanner'." its:locNoteType="alert">
<source xml:lang="en">The {0} is out of service.</source>
<seg-source><mrk mid="0" mtype="seg">The {0} is out of service.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">The {0} is out of service.</mrk></target>
<note>The variable {0} has three possible values:
'printer', 'copier' and 'scanner'.</note>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="LocNote-2.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1" its:locNote="Indicates that the resource file {0} could not be loaded." its:locNoteType="description">
<source xml:lang="en">Cannot find the file {0}.</source>
<seg-source><mrk mid="0" mtype="seg">Cannot find the file {0}.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Cannot find the file {0}.</mrk></target>
<note>Indicates that the resource file {0} could not be loaded.</note>
</trans-unit>
<trans-unit id="2" its:locNote="A division by 0 was going to be computed." its:locNoteType="description">
<source xml:lang="en">Invalid parameter.</source>
<seg-source><mrk mid="0" mtype="seg">Invalid parameter.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Invalid parameter.</mrk></target>
<note>A division by 0 was going to be computed.</note>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="LocNote-2.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1" its:locNote="Indicates that the resource file {0} could not be loaded." its:locNoteType="description">
<source xml:lang="en">Cannot find the file {0}.</source>
<seg-source><mrk mid="0" mtype="seg">Cannot find the file {0}.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Cannot find the file {0}.</mrk></target>
<note>Indicates that the resource file {0} could not be loaded.</note>
</trans-unit>
<trans-unit id="2" its:locNote="A division by 0 was going to be computed." its:locNoteType="description">
<source xml:lang="en">Invalid parameter.</source>
<seg-source><mrk mid="0" mtype="seg">Invalid parameter.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Invalid parameter.</mrk></target>
<note>A division by 0 was going to be computed.</note>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="LocNote-3.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1" its:locNoteRef="ErrorsInfo.html#NotFound" its:locNoteType="description">
<source xml:lang="en">Cannot find {0} on {1}.</source>
<seg-source><mrk mid="0" mtype="seg">Cannot find {0} on {1}.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Cannot find {0} on {1}.</mrk></target>
<note>REF:ErrorsInfo.html#NotFound</note>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="LocNote-3.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1" its:locNoteRef="ErrorsInfo.html#NotFound" its:locNoteType="description">
<source xml:lang="en">Cannot find {0} on {1}.</source>
<seg-source><mrk mid="0" mtype="seg">Cannot find {0} on {1}.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Cannot find {0} on {1}.</mrk></target>
<note>REF:ErrorsInfo.html#NotFound</note>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="LocNote-4.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1" its:locNoteRef="Comments.html#FileNotFound" its:locNoteType="description">
<source xml:lang="en">Cannot find the file {0}.</source>
<seg-source><mrk mid="0" mtype="seg">Cannot find the file {0}.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Cannot find the file {0}.</mrk></target>
<note>REF:Comments.html#FileNotFound</note>
</trans-unit>
<trans-unit id="2" its:locNoteRef="Comments.html#DivByZero" its:locNoteType="description">
<source xml:lang="en">Invalid parameter.</source>
<seg-source><mrk mid="0" mtype="seg">Invalid parameter.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Invalid parameter.</mrk></target>
<note>REF:Comments.html#DivByZero</note>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="LocNote-4.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1" its:locNoteRef="Comments.html#FileNotFound" its:locNoteType="description">
<source xml:lang="en">Cannot find the file {0}.</source>
<seg-source><mrk mid="0" mtype="seg">Cannot find the file {0}.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Cannot find the file {0}.</mrk></target>
<note>REF:Comments.html#FileNotFound</note>
</trans-unit>
<trans-unit id="2" its:locNoteRef="Comments.html#DivByZero" its:locNoteType="description">
<source xml:lang="en">Invalid parameter.</source>
<seg-source><mrk mid="0" mtype="seg">Invalid parameter.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Invalid parameter.</mrk></target>
<note>REF:Comments.html#DivByZero</note>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="LocNote-5.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1" xml:space="preserve" its:locNote="Keep the leading spaces!" its:locNoteType="alert">
<source xml:lang="en"> Variant {0} = {1} ({2})</source>
<seg-source><mrk mid="0" mtype="seg"> Variant {0} = {1} ({2})</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg"> Variant {0} = {1} ({2})</mrk></target>
<note>Keep the leading spaces!</note>
</trans-unit>
<trans-unit id="2" xml:space="preserve" its:locNote="$1 is the original text's date in the format YYYY-MM-DD HH:MM always in UTC" its:locNoteType="description">
<source xml:lang="en">Translated from English content dated $1 UTC.</source>
<seg-source><mrk mid="0" mtype="seg">Translated from English content dated $1 UTC.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Translated from English content dated $1 UTC.</mrk></target>
<note>$1 is the original text's date in the format YYYY-MM-DD HH:MM always in UTC</note>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="LocNote-5.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1" xml:space="preserve" its:locNote="Keep the leading spaces!" its:locNoteType="alert">
<source xml:lang="en"> Variant {0} = {1} ({2})</source>
<seg-source><mrk mid="0" mtype="seg"> Variant {0} = {1} ({2})</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg"> Variant {0} = {1} ({2})</mrk></target>
<note>Keep the leading spaces!</note>
</trans-unit>
<trans-unit id="2" xml:space="preserve" its:locNote="$1 is the original text's date in the format YYYY-MM-DD HH:MM always in UTC" its:locNoteType="description">
<source xml:lang="en">Translated from English content dated $1 UTC.</source>
<seg-source><mrk mid="0" mtype="seg">Translated from English content dated $1 UTC.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Translated from English content dated $1 UTC.</mrk></target>
<note>$1 is the original text's date in the format YYYY-MM-DD HH:MM always in UTC</note>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="LocNote-6.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1" its:locNoteRef="ErrorsInfo.html#NotFound" its:locNoteType="description">
<source xml:lang="en">Cannot find {0} on {1}.</source>
<seg-source><mrk mid="0" mtype="seg">Cannot find {0} on {1}.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Cannot find {0} on {1}.</mrk></target>
<note>REF:ErrorsInfo.html#NotFound</note>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="LocNote-6.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1" its:locNoteRef="ErrorsInfo.html#NotFound" its:locNoteType="description">
<source xml:lang="en">Cannot find {0} on {1}.</source>
<seg-source><mrk mid="0" mtype="seg">Cannot find {0} on {1}.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Cannot find {0} on {1}.</mrk></target>
<note>REF:ErrorsInfo.html#NotFound</note>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="TestMultiLang.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1">
<source xml:lang="en">Image description</source>
<seg-source><mrk mid="0" mtype="seg">Image description</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Image description</mrk></target>
</trans-unit>
<trans-unit id="2">
<source xml:lang="en">Text with an image: <ph id="1" ctype="x-img">&lt;img alt="[#$1]" src="img.png"/&gt;</ph>.</source>
<seg-source><mrk mid="0" mtype="seg">Text with an image: <ph id="1" ctype="x-img">&lt;img alt="[#$1]" src="img.png"/&gt;</ph>.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Text with an image: <ph id="1" ctype="x-img">&lt;img alt="[#$1]" src="img.png"/&gt;</ph>.</mrk></target>
</trans-unit>
<trans-unit id="3">
<source xml:lang="en">Text</source>
<seg-source><mrk mid="0" mtype="seg">Text</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Text</mrk></target>
</trans-unit>
<trans-unit id="4">
<source xml:lang="en">This is the first paragraph. It has some <bpt id="1" ctype="x-verbatim">&lt;verbatim&gt;</bpt><ph id="2">un-translatable
code with an image: </ph><ph id="3" ctype="x-img">&lt;img alt="Image description" src="test.png"/&gt;</ph><ept id="1">&lt;/verbatim&gt;</ept>.</source>
<seg-source><mrk mid="0" mtype="seg">This is the first paragraph.</mrk><mrk mid="1" mtype="seg"> It has some <bpt id="1" ctype="x-verbatim">&lt;verbatim&gt;</bpt><ph id="2">un-translatable
code with an image: </ph><ph id="3" ctype="x-img">&lt;img alt="Image description" src="test.png"/&gt;</ph><ept id="1">&lt;/verbatim&gt;</ept>.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">This is the first paragraph.</mrk><mrk mid="1" mtype="seg"> It has some <bpt id="1" ctype="x-verbatim">&lt;verbatim&gt;</bpt><ph id="2">un-translatable
code with an image: </ph><ph id="3" ctype="x-img">&lt;img alt="Image description" src="test.png"/&gt;</ph><ept id="1">&lt;/verbatim&gt;</ept>.</mrk></target>
</trans-unit>
<trans-unit id="5">
<source xml:lang="en">The Lord of the Rings</source>
<seg-source><mrk mid="0" mtype="seg">The Lord of the Rings</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">The Lord of the Rings</mrk></target>
</trans-unit>
<trans-unit id="6">
<source xml:lang="en">The Return of the King</source>
<seg-source><mrk mid="0" mtype="seg">The Return of the King</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">The Return of the King</mrk></target>
</trans-unit>
<trans-unit id="7">
<source xml:lang="en">Minas Tirith</source>
<seg-source><mrk mid="0" mtype="seg">Minas Tirith</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Minas Tirith</mrk></target>
</trans-unit>
<trans-unit id="8">
<source xml:lang="en"><bpt id="1" ctype="x-姓名">&lt;z:姓名&gt;</bpt><ph id="2">Pippin</ph><ept id="1">&lt;/z:姓名&gt;</ept> looked out from the shelter of <bpt id="3" ctype="x-姓名">&lt;z:姓名&gt;</bpt><ph id="4">Gandalf</ph><ept id="3">&lt;/z:姓名&gt;</ept>'s cloak.</source>
<seg-source><mrk mid="0" mtype="seg"><bpt id="1" ctype="x-姓名">&lt;z:姓名&gt;</bpt><ph id="2">Pippin</ph><ept id="1">&lt;/z:姓名&gt;</ept> looked out from the shelter of <bpt id="3" ctype="x-姓名">&lt;z:姓名&gt;</bpt><ph id="4">Gandalf</ph><ept id="3">&lt;/z:姓名&gt;</ept>'s cloak.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg"><bpt id="1" ctype="x-姓名">&lt;z:姓名&gt;</bpt><ph id="2">Pippin</ph><ept id="1">&lt;/z:姓名&gt;</ept> looked out from the shelter of <bpt id="3" ctype="x-姓名">&lt;z:姓名&gt;</bpt><ph id="4">Gandalf</ph><ept id="3">&lt;/z:姓名&gt;</ept>'s cloak.</mrk></target>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="TestMultiLang.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1" restype="x-alt">
<source xml:lang="en">Image description</source>
<seg-source><mrk mid="0" mtype="seg">Image description</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Image description</mrk></target>
</trans-unit>
<trans-unit id="2">
<source xml:lang="en">Text with an image: <ph id="1" ctype="x-img">&lt;img alt="[#$1]" src="img.png"/&gt;</ph>.</source>
<seg-source><mrk mid="0" mtype="seg">Text with an image: <ph id="1" ctype="x-img">&lt;img alt="[#$1]" src="img.png"/&gt;</ph>.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Text with an image: <ph id="1" ctype="x-img">&lt;img alt="[#$1]" src="img.png"/&gt;</ph>.</mrk></target>
</trans-unit>
<trans-unit id="3" restype="x-title">
<source xml:lang="en">Text</source>
<seg-source><mrk mid="0" mtype="seg">Text</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Text</mrk></target>
</trans-unit>
<trans-unit id="4">
<source xml:lang="en">This is the first paragraph. It has some <bpt id="1" ctype="x-verbatim">&lt;verbatim&gt;</bpt><ph id="2">un-translatable
code with an image: </ph><ph id="3" ctype="x-img">&lt;img alt="Image description" src="test.png"/&gt;</ph><ept id="1">&lt;/verbatim&gt;</ept>.</source>
<seg-source><mrk mid="0" mtype="seg">This is the first paragraph.</mrk><mrk mid="1" mtype="seg"> It has some <bpt id="1" ctype="x-verbatim">&lt;verbatim&gt;</bpt><ph id="2">un-translatable
code with an image: </ph><ph id="3" ctype="x-img">&lt;img alt="Image description" src="test.png"/&gt;</ph><ept id="1">&lt;/verbatim&gt;</ept>.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">This is the first paragraph.</mrk><mrk mid="1" mtype="seg"> It has some <bpt id="1" ctype="x-verbatim">&lt;verbatim&gt;</bpt><ph id="2">un-translatable
code with an image: </ph><ph id="3" ctype="x-img">&lt;img alt="Image description" src="test.png"/&gt;</ph><ept id="1">&lt;/verbatim&gt;</ept>.</mrk></target>
</trans-unit>
<trans-unit id="5">
<source xml:lang="en">The Lord of the Rings</source>
<seg-source><mrk mid="0" mtype="seg">The Lord of the Rings</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">The Lord of the Rings</mrk></target>
</trans-unit>
<trans-unit id="6">
<source xml:lang="en">The Return of the King</source>