Debian Codegraph @

tests/auto/linguist/lupdate/testdata/good/parsejs/project.ts.result

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE TS>
3 <TS version="2.1">
4 <context>
5 <name></name>
6 <message id="qtn_foo_bar">
7 <location filename="main.js" line="85"/>
8 <source></source>
9 <translation type="unfinished"></translation>
10 </message>
11 <message id="qtn_needle">
12 <location filename="main.js" line="87"/>
13 <source></source>
14 <translation type="unfinished"></translation>
15 </message>
16 <message id="qtn_haystack">
17 <location filename="main.js" line="87"/>
18 <source></source>
19 <translation type="unfinished"></translation>
20 </message>
21 <message id="qtn_bar_baz" numerus="yes">
22 <location filename="main.js" line="91"/>
23 <source></source>
24 <extracomment>qsTrId() with comment, meta-data and plurals.</extracomment>
25 <translation type="unfinished">
26 <numerusform></numerusform>
27 </translation>
28 <extra-well-tested>True</extra-well-tested>
29 </message>
30 </context>
31 <context>
32 <name>BarContext</name>
33 <message>
34 <location filename="main.js" line="15"/>
35 <source>See other comment</source>
36 <extracomment>My second comment.</extracomment>
37 <translation type="unfinished"></translation>
38 </message>
39 <message>
40 <location filename="main.js" line="38"/>
41 <source>Qt is the very best</source>
42 <extracomment>Another C-style comment, followed by yet another one.</extracomment>
43 <translation type="unfinished"></translation>
44 </message>
45 <message id="id_bar">
46 <location filename="main.js" line="56"/>
47 <source>This string also has an identifier</source>
48 <translation type="unfinished"></translation>
49 </message>
50 <message>
51 <location filename="main.js" line="81"/>
52 <source>This string also has disambiguation</source>
53 <comment>Another disambiguation</comment>
54 <translation type="unfinished"></translation>
55 </message>
56 </context>
57 <context>
58 <name>BazContext</name>
59 <message>
60 <location filename="main.js" line="24"/>
61 <source>It should be clear by now</source>
62 <extracomment>My fourth comment spans a whopping three lines.</extracomment>
63 <translation type="unfinished"></translation>
64 </message>
65 <message>
66 <location filename="main.js" line="44"/>
67 <source>The comment had no effect, really</source>
68 <translation type="unfinished"></translation>
69 </message>
70 <message>
71 <location filename="main.js" line="62"/>
72 <source>This string also has meta-data</source>
73 <translation type="unfinished"></translation>
74 <extra-loc-layout_id>foo_dialog</extra-loc-layout_id>
75 </message>
76 </context>
77 <context>
78 <name>FooContext</name>
79 <message>
80 <location filename="main.js" line="2"/>
81 <source>Two</source>
82 <translation type="unfinished"></translation>
83 </message>
84 <message>
85 <location filename="main.js" line="6"/>
86 <source>Goodbye</source>
87 <translation type="unfinished"></translation>
88 </message>
89 <message>
90 <location filename="main.js" line="30"/>
91 <source>I really love C++</source>
92 <extracomment>Another C-style comment.</extracomment>
93 <translation type="unfinished"></translation>
94 </message>
95 <message>
96 <location filename="main.js" line="50"/>
97 <source>I refuse to comment on that</source>
98 <translation type="unfinished"></translation>
99 </message>
100 <message id="id_babar">
101 <location filename="main.js" line="77"/>
102 <source>This string has even more information</source>
103 <extracomment>This is another comment for the translator.</extracomment>
104 <translation type="unfinished"></translation>
105 <extra-foo-bar>Important stuff</extra-foo-bar>
106 <extra-needle-in-haystack>Found</extra-needle-in-haystack>
107 <extra-overflow>True</extra-overflow>
108 </message>
109 </context>
110 <context>
111 <name>main</name>
112 <message>
113 <location filename="main.js" line="1"/>
114 <source>One</source>
115 <translation type="unfinished"></translation>
116 </message>
117 <message>
118 <location filename="main.js" line="5"/>
119 <source>Hello</source>
120 <translation type="unfinished"></translation>
121 </message>
122 <message>
123 <location filename="main.js" line="9"/>
124 <source>One</source>
125 <comment>not the same one</comment>
126 <translation type="unfinished"></translation>
127 </message>
128 <message>
129 <location filename="main.js" line="12"/>
130 <source>See comment</source>
131 <extracomment>My first comment.</extracomment>
132 <translation type="unfinished"></translation>
133 </message>
134 <message>
135 <location filename="main.js" line="19"/>
136 <source>The comment explains it all</source>
137 <extracomment>My third comment spans two lines.</extracomment>
138 <translation type="unfinished"></translation>
139 </message>
140 <message>
141 <location filename="main.js" line="27"/>
142 <source>I love C++</source>
143 <extracomment>C-style comment.</extracomment>
144 <translation type="unfinished"></translation>
145 </message>
146 <message>
147 <location filename="main.js" line="34"/>
148 <source>Qt is the best</source>
149 <extracomment>C-style comment, followed by another one.</extracomment>
150 <translation type="unfinished"></translation>
151 </message>
152 <message>
153 <location filename="main.js" line="41"/>
154 <source>The comment had no effect</source>
155 <translation type="unfinished"></translation>
156 </message>
157 <message>
158 <location filename="main.js" line="47"/>
159 <source>No comment to your comment</source>
160 <translation type="unfinished"></translation>
161 </message>
162 <message id="id_foo">
163 <location filename="main.js" line="53"/>
164 <source>This string has an identifier</source>
165 <translation type="unfinished"></translation>
166 </message>
167 <message>
168 <location filename="main.js" line="59"/>
169 <source>This string has meta-data</source>
170 <translation type="unfinished"></translation>
171 <extra-loc-blank>False</extra-loc-blank>
172 </message>
173 <message id="id_baz">
174 <location filename="main.js" line="69"/>
175 <source>This string has a lot of information</source>
176 <extracomment>This is a comment for the translator.</extracomment>
177 <translation type="unfinished"></translation>
178 <extra-foo>123</extra-foo>
179 <extra-magic-stuff>This means something special.</extra-magic-stuff>
180 </message>
181 <message>
182 <location filename="main.js" line="79"/>
183 <source>This string has disambiguation</source>
184 <comment>Disambiguation</comment>
185 <translation type="unfinished"></translation>
186 </message>
187 <message numerus="yes">
188 <location filename="main.js" line="83"/>
189 <source>This string contains plurals</source>
190 <translation type="unfinished">
191 <numerusform></numerusform>
192 </translation>
193 </message>
194 <message>
195 <location filename="main.js" line="94"/>
196 <source>translation with extras-quoted field</source>
197 <translation type="unfinished"></translation>
198 <extra-quoted> string with spaces </extra-quoted>
199 </message>
200 <message>
201 <location filename="main.js" line="96"/>
202 <source></source>
203 <translation type="unfinished"></translation>
204 <extra-quoted>empty string</extra-quoted>
205 </message>
206 </context>
207 </TS>