Commit 84a57ef4 authored by jhargrave's avatar jhargrave

update xml golden xliff to fix small comparison failures

parent c5df35b8
......@@ -17,6 +17,7 @@ import net.sf.okapi.filters.openxml.OpenXMLFilter;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ErrorCollector;
......@@ -41,6 +42,13 @@ public class RoundTripSimplifyOpenXmlTkitsIT
public void tearDown() throws Exception {
openXmlFilter.close();
}
@Ignore("placeholder to test single file")
public void singleFile() throws FileNotFoundException, URISyntaxException {
for (File file : IntegrationtestUtils.getTestFiles("/openxml/dummy.txt", Arrays.asList(".docx_FAILURE"))) {
runTest(true, file, "okf_openxml", null);
}
}
@Test
public void openXmlFiles() throws FileNotFoundException, URISyntaxException {
......@@ -85,6 +93,7 @@ public class RoundTripSimplifyOpenXmlTkitsIT
assertTrue("Compare Lines: " + f, compare.compareFiles(merged, tkitMerged));
} catch(Throwable e) {
errCol.addError(e);
LOGGER.info("FAILURE:" + f);
}
}
}
<?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" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/target/test-classes/xml/android/okf_xml@AndroidStrings.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1" restype="x-text">
<source xml:lang="en">Please enter your login</source>
<seg-source><mrk mid="0" mtype="seg">Please enter your login</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Please enter your login</mrk></target>
</trans-unit>
<trans-unit id="2" restype="x-text">
<source xml:lang="en">Login:</source>
<seg-source><mrk mid="0" mtype="seg">Login:</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Login:</mrk></target>
</trans-unit>
<trans-unit id="3" restype="x-text">
<source xml:lang="en">Password:</source>
<seg-source><mrk mid="0" mtype="seg">Password:</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Password:</mrk></target>
</trans-unit>
<trans-unit id="4" restype="x-text">
<source xml:lang="en">Login</source>
<seg-source><mrk mid="0" mtype="seg">Login</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Login</mrk></target>
</trans-unit>
<trans-unit id="5" restype="x-text">
<source xml:lang="en">Cancel</source>
<seg-source><mrk mid="0" mtype="seg">Cancel</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Cancel</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" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/target/test-classes/xml/android/okf_xml@AndroidStrings.fprm">
<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" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/target/test-classes/xml/android/okf_xml@AndroidStrings.fprm">
<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 <bpt id="1" ctype="x-b">&lt;b&gt;</bpt><bpt id="2" ctype="x-i">&lt;i&gt;</bpt>so<ept id="2">&lt;/i&gt;</ept><ept id="1">&lt;/b&gt;</ept> glad to see you.</source>
<seg-source><mrk mid="0" mtype="seg">We are <bpt id="1" ctype="x-b">&lt;b&gt;</bpt><bpt id="2" ctype="x-i">&lt;i&gt;</bpt>so<ept id="2">&lt;/i&gt;</ept><ept id="1">&lt;/b&gt;</ept> glad to see you.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">We are <bpt id="1" ctype="x-b">&lt;b&gt;</bpt><bpt id="2" ctype="x-i">&lt;i&gt;</bpt>so<ept id="2">&lt;/i&gt;</ept><ept id="1">&lt;/b&gt;</ept> 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="JavaProperties.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/target/test-classes/xml/javaproperties/okf_xml@JavaProperties.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1" resname="seven-eight">
<source xml:lang="en">lay them straight</source>
<seg-source><mrk mid="0" mtype="seg">lay them straight</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">lay them straight</mrk></target>
</trans-unit>
<trans-unit id="2" resname="five-six">
<source xml:lang="en">pick up sticks</source>
<seg-source><mrk mid="0" mtype="seg">pick up sticks</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">pick up sticks</mrk></target>
</trans-unit>
<trans-unit id="3" resname="nine-ten">
<source xml:lang="en">a big, fat hen</source>
<seg-source><mrk mid="0" mtype="seg">a big, fat hen</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">a big, fat hen</mrk></target>
</trans-unit>
<trans-unit id="4" resname="three-four">
<source xml:lang="en">shut the door</source>
<seg-source><mrk mid="0" mtype="seg">shut the door</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">shut the door</mrk></target>
</trans-unit>
<trans-unit id="5" resname="one-two">
<source xml:lang="en">buckle my shoe</source>
<seg-source><mrk mid="0" mtype="seg">buckle my shoe</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">buckle my shoe</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>
<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">
......
<?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>
<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>
......
<?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>
<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>
......
<?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>
<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>
......
<?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>
<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>
......
<?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>
<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>
......
<?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="TestCDATA1.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>
<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">15</source>
......
<?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>
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1">
<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>
......@@ -13,7 +13,7 @@
<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">
<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>
......
<?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="Translate1.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>
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1">
<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>
......@@ -13,7 +13,7 @@
<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">
<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>
......
<?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="Translate2.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>
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1">
<trans-unit id="1" 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>
......
<?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="Translate2_LinkedRules.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>
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
</body>
</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="XRTT-Source1.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>
<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">And here's </source>
......
<?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" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/xml/android/okf_xml@AndroidStrings.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<file original="AndroidTest1.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/target/test-classes/xml/android/okf_xml@AndroidStrings.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1">
<trans-unit id="1" restype="x-text">
<source xml:lang="en">Please enter your login</source>
<seg-source><mrk mid="0" mtype="seg">Please enter your login</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Please enter your login</mrk></target>
</trans-unit>
<trans-unit id="2">
<trans-unit id="2" restype="x-text">
<source xml:lang="en">Login:</source>
<seg-source><mrk mid="0" mtype="seg">Login:</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Login:</mrk></target>
</trans-unit>
<trans-unit id="3">
<trans-unit id="3" restype="x-text">
<source xml:lang="en">Password:</source>
<seg-source><mrk mid="0" mtype="seg">Password:</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Password:</mrk></target>
</trans-unit>
<trans-unit id="4">
<trans-unit id="4" restype="x-text">
<source xml:lang="en">Login</source>
<seg-source><mrk mid="0" mtype="seg">Login</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Login</mrk></target>
</trans-unit>
<trans-unit id="5">
<trans-unit id="5" restype="x-text">
<source xml:lang="en">Cancel</source>
<seg-source><mrk mid="0" mtype="seg">Cancel</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Cancel</mrk></target>
......
<?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" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/xml/android/okf_xml@AndroidStrings.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<file original="AndroidTest2.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/target/test-classes/xml/android/okf_xml@AndroidStrings.fprm">
<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>
......
<?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" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/xml/android/okf_xml@AndroidStrings.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<file original="AndroidTest3.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/target/test-classes/xml/android/okf_xml@AndroidStrings.fprm">
<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>
......
<?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="emoji1.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>
<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">This is a 😎 test of emoji. A dumb  sentence.</source>
......
<?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="input.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>
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1" its:locNote="We may define " its:locNoteType="description">
<trans-unit id="1" restype="x-title" its:locNote="We may define " its:locNoteType="alert">
<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>
......@@ -63,7 +63,7 @@ other term;
<target xml:lang="fr"><mrk mid="0" mtype="seg">Text to translate.</mrk></target>
<note>Localization note</note>
</trans-unit>
<trans-unit id="10" its:locNote="Note for title." its:locNoteType="description">
<trans-unit id="10" restype="x-title" its:locNote="Note for title." its:locNoteType="alert">
<source xml:lang="en">Tite text</source>
<seg-source><mrk mid="0" mtype="seg">Tite text</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Tite text</mrk></target>
......
<?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="JavaProperties.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/xml/javaproperties/okf_xml@JavaProperties.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<file original="JavaProperties.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/target/test-classes/xml/javaproperties/okf_xml@JavaProperties.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1" resname="seven-eight">
<source xml:lang="en">lay them straight</source>
......
<?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="lqi-test1-standoff.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>
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
</body>
</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="openoffice_input.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>
<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">/</source>
......
<?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="test01-html-rules.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>
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
</body>
</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="test01.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>
<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">Text of paragraph 1 with &amp;=amp, "=quot, &lt;=lt, &gt;=gt, '=apos.</source>
......
<?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="test02.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>
<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">Trans: ø=o-slash; Ą=A-ogonek, ABC=ABC-fulwidth</source>
<seg-source><mrk mid="0" mtype="seg">Trans: ø=o-slash; Ą=A-ogonek, ABC=ABC-fulwidth</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Trans: ø=o-slash; Ą=A-ogonek, ABC=ABC-fulwidth</mrk></target>
</trans-unit>
<trans-unit id="2">
<trans-unit id="2" restype="x-alt">
<source xml:lang="en">Value Added Tax Form</source>
<seg-source><mrk mid="0" mtype="seg">Value Added Tax Form</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Value Added Tax Form</mrk></target>
......
<?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="test03.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>
<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">Click the <bpt id="1" ctype="x-ui">&lt;ui&gt;</bpt>Resume<ept id="1">&lt;/ui&gt;</ept> button on the Status Display or the <bpt id="2" ctype="x-panelmsg">&lt;panelmsg its:translate="no"&gt;</bpt><ph id="3">CONTINUE</ph><ept id="2">&lt;/panelmsg&gt;</ept> <ph id="4">&lt;?testPI data="&amp;=amp,&lt;=lt"?&gt;</ph><ph id="5">&lt;!--test comments &amp;=amp, &lt;=lt--&gt;</ph> button on the printer panel</source>
......
<?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="test04.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>
<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;!--LB are Mac--&gt;</ph> </source>
......@@ -18,32 +18,32 @@
<seg-source><mrk mid="0" mtype="seg">The bottom line: all those berries are pretty good!</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">The bottom line: all those berries are pretty good!</mrk></target>
</trans-unit>
<trans-unit id="4">
<trans-unit id="4" restype="x-attr1">
<source xml:lang="en">text1</source>
<seg-source><mrk mid="0" mtype="seg">text1</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">text1</mrk></target>
</trans-unit>
<trans-unit id="5">
<trans-unit id="5" restype="x-attr2">
<source xml:lang="en">text2</source>
<seg-source><mrk mid="0" mtype="seg">text2</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">text2</mrk></target>
</trans-unit>
<trans-unit id="6">
<trans-unit id="6" restype="x-attr3">
<source xml:lang="en">text3</source>
<seg-source><mrk mid="0" mtype="seg">text3</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">text3</mrk></target>
</trans-unit>
<trans-unit id="7">
<trans-unit id="7" restype="x-attr1">
<source xml:lang="en">text1</source>
<seg-source><mrk mid="0" mtype="seg">text1</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">text1</mrk></target>
</trans-unit>
<trans-unit id="8">
<trans-unit id="8" restype="x-attr2">
<source xml:lang="en">text2</source>
<seg-source><mrk mid="0" mtype="seg">text2</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">text2</mrk></target>
</trans-unit>
<trans-unit id="9">
<trans-unit id="9" restype="x-attr3">
<source xml:lang="en">text3</source>
<seg-source><mrk mid="0" mtype="seg">text3</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">text3</mrk></target>
......
<?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="test08_utf8nobom.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>
<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">Text with &amp;=amp, "=quot, &lt;=lt, &gt;=gt, '=apos.</source>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment