summaryrefslogtreecommitdiffstats
path: root/tests/auto/linguist/lrelease/testdata/translate.ts
blob: ad3015d32460d2d923546ecf91b00de6cbf50e7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="1.1" language="en">
<context>
    <name></name>
    <message>
        <location filename="tst_lrelease.cpp" line="32"/>
        <source>Test</source>
        <translation>AAAA</translation>
        <comment>Empty context</comment>
    </message>
</context>
<context>
    <name>CubeForm</name>
    <message>
        <location filename="tst_lrelease.cpp" line="31"/>
        <source>Test</source>
        <translation>BBBB</translation>
    </message>
</context>
<context>
    <name>QObject</name>
    <message>
        <location filename="tst_lrelease.cpp" line="22"/>
        <source>
newline at the start</source>
        <translation>
NEWLINE AT THE START</translation>
    </message>
    <message>
        <location filename="tst_lrelease.cpp" line="23"/>
        <source>newline at the end
</source>
        <translation>NEWLINE AT THE END
</translation>
    </message>
    <message>
        <location filename="tst_lrelease.cpp" line="24"/>
        <source>newline and space at the end
 </source>
        <translation>NEWLINE AND SPACE AT THE END
 </translation>
    </message>
    <message>
        <location filename="tst_lrelease.cpp" line="25"/>
        <source>space and newline at the end 
</source>
        <translation>SPACE AND NEWLINE AT THE END 
</translation>
    </message>
    <message>
        <location filename="tst_lrelease.cpp" line="26"/>
        <source><byte value="x9"/>tab at the start and newline at the end
</source>
        <translation><byte value="x9"/>TAB AT THE START AND NEWLINE AT THE END
</translation>
    </message>
    <message>
        <location filename="tst_lrelease.cpp" line="27"/>
        <source>
<byte value="x9"/>newline and tab at the start</source>
        <translation>
<byte value="x9"/>NEWLINE AND TAB AT THE START</translation>
    </message>
    <message>
        <location filename="tst_lrelease.cpp" line="28"/>
        <source> <byte value="x9"/>space and tab at the start</source>
        <translation> <byte value="x9"/>SPACE AND TAB AT THE START</translation>
    </message>
    <message>
        <location filename="tst_lrelease.cpp" line="29"/>
        <source> space first</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="tst_lrelease.cpp" line="29"/>
        <source> string that does not exist</source>
        <translation type="unfinished"></translation>
    </message>
</context>
<context>
    <name>Plurals</name>
    <message numerus="yes">
        <location filename="tst_lrelease.cpp" line="35"/>
        <source>There are %n houses</source>
        <translation>
            <numerusform>There is %n house</numerusform>
            <numerusform>There are %n houses</numerusform>
        </translation>
    </message>
</context>
<context>
    <name>tst_lrelease</name>
    <message numerus="yes">
        <location filename="tst_lrelease.cpp" line="43"/>
        <source>There are %n cars</source>
        <comment>More Plurals</comment>
        <translation>
            <numerusform>There is %n car</numerusform>
            <numerusform>There are %n cars</numerusform>
        </translation>
    </message>
    <message>
        <source>Completely random string</source>
        <translation variants="yes">
            <lengthvariant>Super-lange Uebersetzung mit Schikanen</lengthvariant>
            <lengthvariant>Mittlere Uebersetung</lengthvariant>
            <lengthvariant>Kurze Uebers.</lengthvariant>
        </translation>
    </message>
</context>
<context>
    <name>no_en</name>
    <message>
        <location filename="tst_lrelease.cpp" line="49"/>
        <source>Kj&#xf8;r K&#xe5;re, kj&#xe6;re</source>
        <translation>Drive K&#xe5;re, dear</translation>
    </message>
</context>
<context>
    <name>en_no</name>
    <message>
        <location filename="tst_lrelease.cpp" line="50"/>
        <source>Drive K&#xe5;re, dear</source>
        <translation>Kj&#xf8;r K&#xe5;re, kj&#xe6;re</translation>
    </message>
</context>
<context>
    <name>en_ch</name>
    <message>
        <location filename="tst_lrelease.cpp" line="51"/>
        <source>Chinese symbol:</source>
        <translation>Chinese symbol:&#x7c1f;</translation>
    </message>
</context>
</TS>