summaryrefslogtreecommitdiffstats
path: root/tests/auto/linguist/lconvert/data/test-trans_seg.xlf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/linguist/lconvert/data/test-trans_seg.xlf')
-rw-r--r--tests/auto/linguist/lconvert/data/test-trans_seg.xlf42
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/auto/linguist/lconvert/data/test-trans_seg.xlf b/tests/auto/linguist/lconvert/data/test-trans_seg.xlf
new file mode 100644
index 000000000..4cff2bc56
--- /dev/null
+++ b/tests/auto/linguist/lconvert/data/test-trans_seg.xlf
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xliff
+ xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
+ <file datatype="plaintext" original="self" source-language="en" target-language="de">
+ <body>
+ <trans-unit id="hello_world"
+ xmlns:sap="urn:x-sap:sls-mlt">
+ <source>Hello world!</source>
+ <target>Hallo Welt!</target>
+ </trans-unit>
+ <trans-unit id="_msg2394">
+ <source xml:space="preserve">A standout centrepiece for any occasion. Use the temperature sensor for best results.
+
+Serve with roast tomatoes and hasselback potatoes.</source>
+ <seg-source><mrk mtype="seg" mid="605">A standout centrepiece for any occasion.</mrk><mrk mtype="seg" mid="606">Use the temperature sensor for best results.</mrk>
+
+ <mrk mtype="seg" mid="607">Serve with roast tomatoes and hasselback potatoes.</mrk></seg-source>
+ <target state="signed-off" xml:space="preserve"><mrk mtype="seg" mid="605">Un centro de mesa destacado para cualquier ocasión.</mrk><mrk mtype="seg" mid="606">Utilice el sensor de temperatura para obtener mejores resultados.</mrk>
+
+<mrk mtype="seg" mid="607">Acompañe con tomates asados y papas horneadas tipo hassleback.</mrk></target>
+ <context-group purpose="location">
+ <context context-type="linenumber">137</context>
+ </context-group>
+ </trans-unit>
+ <trans-unit id="_msg2395">
+ <source xml:space="preserve">Two pieces</source>
+ <seg-source>
+ <mrk mtype="seg" mid="1">Two</mrk> <mrk mtype="seg" mid="2">pieces</mrk>
+ </seg-source>
+ <target state="signed-off" xml:space="preserve"><mrk mtype="seg" mid="1">Zwei</mrk> <mrk mtype="seg" mid="2">Stueck</mrk></target>
+ <context-group purpose="location">
+ <context context-type="linenumber">137</context>
+ </context-group>
+ </trans-unit>
+ <trans-unit id="test"
+ xmlns:sap="urn:x-sap:sls-mlt">
+ <source>Hello!</source>
+ <target>Hallo!</target>
+ </trans-unit>
+ </body>
+ </file>
+</xliff>