summaryrefslogtreecommitdiffstats
path: root/tests/auto/linguist/lupdate/testdata/good/parsejs/project.ts.result
blob: b505d3608b8fc9b38bf232152133d46722eb2b68 (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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1">
<context>
    <name></name>
    <message id="qtn_foo_bar">
        <location filename="main.js" line="85"/>
        <source></source>
        <translation type="unfinished"></translation>
    </message>
    <message id="qtn_needle">
        <location filename="main.js" line="87"/>
        <source></source>
        <translation type="unfinished"></translation>
    </message>
    <message id="qtn_haystack">
        <location filename="main.js" line="87"/>
        <source></source>
        <translation type="unfinished"></translation>
    </message>
    <message id="qtn_bar_baz" numerus="yes">
        <location filename="main.js" line="91"/>
        <source></source>
        <extracomment>qsTrId() with comment, meta-data and plurals.</extracomment>
        <translation type="unfinished">
            <numerusform></numerusform>
        </translation>
        <extra-well-tested>True</extra-well-tested>
    </message>
</context>
<context>
    <name>BarContext</name>
    <message>
        <location filename="main.js" line="15"/>
        <source>See other comment</source>
        <extracomment>My second comment.</extracomment>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="main.js" line="38"/>
        <source>Qt is the very best</source>
        <extracomment>Another C-style comment, followed by yet another one.</extracomment>
        <translation type="unfinished"></translation>
    </message>
    <message id="id_bar">
        <location filename="main.js" line="56"/>
        <source>This string also has an identifier</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="main.js" line="81"/>
        <source>This string also has disambiguation</source>
        <comment>Another disambiguation</comment>
        <translation type="unfinished"></translation>
    </message>
</context>
<context>
    <name>BazContext</name>
    <message>
        <location filename="main.js" line="24"/>
        <source>It should be clear by now</source>
        <extracomment>My fourth comment spans a whopping three lines.</extracomment>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="main.js" line="44"/>
        <source>The comment had no effect, really</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="main.js" line="62"/>
        <source>This string also has meta-data</source>
        <translation type="unfinished"></translation>
        <extra-loc-layout_id>foo_dialog</extra-loc-layout_id>
    </message>
</context>
<context>
    <name>FooContext</name>
    <message>
        <location filename="main.js" line="2"/>
        <source>Two</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="main.js" line="6"/>
        <source>Goodbye</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="main.js" line="30"/>
        <source>I really love C++</source>
        <extracomment>Another C-style comment.</extracomment>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="main.js" line="50"/>
        <source>I refuse to comment on that</source>
        <translation type="unfinished"></translation>
    </message>
    <message id="id_babar">
        <location filename="main.js" line="77"/>
        <source>This string has even more information</source>
        <extracomment>This is another comment for the translator.</extracomment>
        <translation type="unfinished"></translation>
        <extra-foo-bar>Important stuff</extra-foo-bar>
        <extra-needle-in-haystack>Found</extra-needle-in-haystack>
        <extra-overflow>True</extra-overflow>
    </message>
</context>
<context>
    <name>main</name>
    <message>
        <location filename="main.js" line="1"/>
        <source>One</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="main.js" line="5"/>
        <source>Hello</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="main.js" line="9"/>
        <source>One</source>
        <comment>not the same one</comment>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="main.js" line="12"/>
        <source>See comment</source>
        <extracomment>My first comment.</extracomment>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="main.js" line="19"/>
        <source>The comment explains it all</source>
        <extracomment>My third comment spans two lines.</extracomment>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="main.js" line="27"/>
        <source>I love C++</source>
        <extracomment>C-style comment.</extracomment>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="main.js" line="34"/>
        <source>Qt is the best</source>
        <extracomment>C-style comment, followed by another one.</extracomment>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="main.js" line="41"/>
        <source>The comment had no effect</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="main.js" line="47"/>
        <source>No comment to your comment</source>
        <translation type="unfinished"></translation>
    </message>
    <message id="id_foo">
        <location filename="main.js" line="53"/>
        <source>This string has an identifier</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="main.js" line="59"/>
        <source>This string has meta-data</source>
        <translation type="unfinished"></translation>
        <extra-loc-blank>False</extra-loc-blank>
    </message>
    <message id="id_baz">
        <location filename="main.js" line="69"/>
        <source>This string has a lot of information</source>
        <extracomment>This is a comment for the translator.</extracomment>
        <translation type="unfinished"></translation>
        <extra-foo>123</extra-foo>
        <extra-magic-stuff>This means something special.</extra-magic-stuff>
    </message>
    <message>
        <location filename="main.js" line="79"/>
        <source>This string has disambiguation</source>
        <comment>Disambiguation</comment>
        <translation type="unfinished"></translation>
    </message>
    <message numerus="yes">
        <location filename="main.js" line="83"/>
        <source>This string contains plurals</source>
        <translation type="unfinished">
            <numerusform></numerusform>
        </translation>
    </message>
    <message>
        <location filename="main.js" line="94"/>
        <source>translation with extras-quoted field</source>
        <translation type="unfinished"></translation>
        <extra-quoted> string with spaces </extra-quoted>
    </message>
</context>
</TS>