| 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.qml" line="89"/> |
| 8 |
<location filename="main_test_pragma.qml" line="90"/> |
| 9 |
<source></source> |
| 10 |
<translation type="unfinished"></translation> |
| 11 |
</message> |
| 12 |
<message id="qtn_needle"> |
| 13 |
<location filename="main.qml" line="91"/> |
| 14 |
<location filename="main_test_pragma.qml" line="92"/> |
| 15 |
<source></source> |
| 16 |
<translation type="unfinished"></translation> |
| 17 |
</message> |
| 18 |
<message id="qtn_haystack"> |
| 19 |
<location filename="main.qml" line="91"/> |
| 20 |
<location filename="main_test_pragma.qml" line="92"/> |
| 21 |
<source></source> |
| 22 |
<translation type="unfinished"></translation> |
| 23 |
</message> |
| 24 |
<message id="qtn_bar_baz" numerus="yes"> |
| 25 |
<location filename="main.qml" line="95"/> |
| 26 |
<location filename="main_test_pragma.qml" line="96"/> |
| 27 |
<source></source> |
| 28 |
<extracomment>qsTrId() with comment, meta-data and plurals.</extracomment> |
| 29 |
<translation type="unfinished"> |
| 30 |
<numerusform></numerusform> |
| 31 |
</translation> |
| 32 |
<extra-well-tested>True</extra-well-tested> |
| 33 |
</message> |
| 34 |
<message id="qtn_baz_biz"> |
| 35 |
<location filename="main.qml" line="98"/> |
| 36 |
<location filename="main_test_pragma.qml" line="99"/> |
| 37 |
<source>Source text</source> |
| 38 |
<translation type="unfinished"></translation> |
| 39 |
</message> |
| 40 |
<message id="id2"> |
| 41 |
<location filename="main.qml" line="119"/> |
| 42 |
<location filename="main.qml" line="121"/> |
| 43 |
<source>propagating label</source> |
| 44 |
<label>label3</label> |
| 45 |
<translation type="unfinished"></translation> |
| 46 |
</message> |
| 47 |
<message id="id4"> |
| 48 |
<location filename="main.qml" line="125"/> |
| 49 |
<location filename="main.qml" line="127"/> |
| 50 |
<source>invalid usage of label, contradicting labels for id</source> |
| 51 |
<label>label4</label> |
| 52 |
<translation type="unfinished"></translation> |
| 53 |
</message> |
| 54 |
</context> |
| 55 |
<context> |
| 56 |
<name>BarContext</name> |
| 57 |
<message> |
| 58 |
<location filename="main.qml" line="19"/> |
| 59 |
<location filename="main_test_pragma.qml" line="20"/> |
| 60 |
<source>See other comment</source> |
| 61 |
<extracomment>My second comment.</extracomment> |
| 62 |
<translation type="unfinished"></translation> |
| 63 |
</message> |
| 64 |
<message> |
| 65 |
<location filename="main.qml" line="42"/> |
| 66 |
<location filename="main_test_pragma.qml" line="43"/> |
| 67 |
<source>Qt is the very best</source> |
| 68 |
<extracomment>Another C-style comment, followed by yet another one.</extracomment> |
| 69 |
<translation type="unfinished"></translation> |
| 70 |
</message> |
| 71 |
<message id="id_bar"> |
| 72 |
<location filename="main.qml" line="60"/> |
| 73 |
<location filename="main_test_pragma.qml" line="61"/> |
| 74 |
<source>This string also has an identifier</source> |
| 75 |
<translation type="unfinished"></translation> |
| 76 |
</message> |
| 77 |
<message> |
| 78 |
<location filename="main.qml" line="85"/> |
| 79 |
<location filename="main_test_pragma.qml" line="86"/> |
| 80 |
<source>This string also has disambiguation</source> |
| 81 |
<comment>Another disambiguation</comment> |
| 82 |
<translation type="unfinished"></translation> |
| 83 |
</message> |
| 84 |
</context> |
| 85 |
<context> |
| 86 |
<name>BazContext</name> |
| 87 |
<message> |
| 88 |
<location filename="main.qml" line="28"/> |
| 89 |
<location filename="main_test_pragma.qml" line="29"/> |
| 90 |
<source>It should be clear by now</source> |
| 91 |
<extracomment>My fourth comment spans a whopping three lines.</extracomment> |
| 92 |
<translation type="unfinished"></translation> |
| 93 |
</message> |
| 94 |
<message> |
| 95 |
<location filename="main.qml" line="48"/> |
| 96 |
<location filename="main_test_pragma.qml" line="49"/> |
| 97 |
<source>The comment had no effect, really</source> |
| 98 |
<translation type="unfinished"></translation> |
| 99 |
</message> |
| 100 |
<message> |
| 101 |
<location filename="main.qml" line="66"/> |
| 102 |
<location filename="main_test_pragma.qml" line="67"/> |
| 103 |
<source>This string also has meta-data</source> |
| 104 |
<translation type="unfinished"></translation> |
| 105 |
<extra-loc-layout_id>foo_dialog</extra-loc-layout_id> |
| 106 |
</message> |
| 107 |
</context> |
| 108 |
<context> |
| 109 |
<name>FooContext</name> |
| 110 |
<message> |
| 111 |
<location filename="main.qml" line="6"/> |
| 112 |
<location filename="main_test_pragma.qml" line="7"/> |
| 113 |
<source>Two</source> |
| 114 |
<translation type="unfinished"></translation> |
| 115 |
</message> |
| 116 |
<message> |
| 117 |
<location filename="main.qml" line="10"/> |
| 118 |
<location filename="main_test_pragma.qml" line="11"/> |
| 119 |
<source>Goodbye</source> |
| 120 |
<translation type="unfinished"></translation> |
| 121 |
</message> |
| 122 |
<message> |
| 123 |
<location filename="main.qml" line="34"/> |
| 124 |
<location filename="main_test_pragma.qml" line="35"/> |
| 125 |
<source>I really love C++</source> |
| 126 |
<extracomment>Another C-style comment.</extracomment> |
| 127 |
<translation type="unfinished"></translation> |
| 128 |
</message> |
| 129 |
<message> |
| 130 |
<location filename="main.qml" line="54"/> |
| 131 |
<location filename="main_test_pragma.qml" line="55"/> |
| 132 |
<source>I refuse to comment on that</source> |
| 133 |
<translation type="unfinished"></translation> |
| 134 |
</message> |
| 135 |
<message id="id_babar"> |
| 136 |
<location filename="main.qml" line="81"/> |
| 137 |
<location filename="main_test_pragma.qml" line="82"/> |
| 138 |
<source>This string has even more information</source> |
| 139 |
<extracomment>This is another comment for the translator.</extracomment> |
| 140 |
<translation type="unfinished"></translation> |
| 141 |
<extra-foo-bar>Important stuff</extra-foo-bar> |
| 142 |
<extra-needle-in-haystack>Found</extra-needle-in-haystack> |
| 143 |
<extra-overflow>True</extra-overflow> |
| 144 |
</message> |
| 145 |
</context> |
| 146 |
<context> |
| 147 |
<name>PragmaContext</name> |
| 148 |
<message> |
| 149 |
<location filename="main_test_pragma.qml" line="6"/> |
| 150 |
<source>One</source> |
| 151 |
<translation type="unfinished"></translation> |
| 152 |
</message> |
| 153 |
<message> |
| 154 |
<location filename="main_test_pragma.qml" line="10"/> |
| 155 |
<source>Hello</source> |
| 156 |
<translation type="unfinished"></translation> |
| 157 |
</message> |
| 158 |
<message> |
| 159 |
<location filename="main_test_pragma.qml" line="14"/> |
| 160 |
<source>One</source> |
| 161 |
<comment>not the same one</comment> |
| 162 |
<translation type="unfinished"></translation> |
| 163 |
</message> |
| 164 |
<message> |
| 165 |
<location filename="main_test_pragma.qml" line="17"/> |
| 166 |
<source>See comment</source> |
| 167 |
<extracomment>My first comment.</extracomment> |
| 168 |
<translation type="unfinished"></translation> |
| 169 |
</message> |
| 170 |
<message> |
| 171 |
<location filename="main_test_pragma.qml" line="24"/> |
| 172 |
<source>The comment explains it all</source> |
| 173 |
<extracomment>My third comment spans two lines.</extracomment> |
| 174 |
<translation type="unfinished"></translation> |
| 175 |
</message> |
| 176 |
<message> |
| 177 |
<location filename="main_test_pragma.qml" line="32"/> |
| 178 |
<source>I love C++</source> |
| 179 |
<extracomment>C-style comment.</extracomment> |
| 180 |
<translation type="unfinished"></translation> |
| 181 |
</message> |
| 182 |
<message> |
| 183 |
<location filename="main_test_pragma.qml" line="39"/> |
| 184 |
<source>Qt is the best</source> |
| 185 |
<extracomment>C-style comment, followed by another one.</extracomment> |
| 186 |
<translation type="unfinished"></translation> |
| 187 |
</message> |
| 188 |
<message> |
| 189 |
<location filename="main_test_pragma.qml" line="46"/> |
| 190 |
<source>The comment had no effect</source> |
| 191 |
<translation type="unfinished"></translation> |
| 192 |
</message> |
| 193 |
<message> |
| 194 |
<location filename="main_test_pragma.qml" line="52"/> |
| 195 |
<source>No comment to your comment</source> |
| 196 |
<translation type="unfinished"></translation> |
| 197 |
</message> |
| 198 |
<message> |
| 199 |
<location filename="main_test_pragma.qml" line="64"/> |
| 200 |
<source>This string has meta-data</source> |
| 201 |
<translation type="unfinished"></translation> |
| 202 |
<extra-loc-blank>False</extra-loc-blank> |
| 203 |
</message> |
| 204 |
<message> |
| 205 |
<location filename="main_test_pragma.qml" line="84"/> |
| 206 |
<source>This string has disambiguation</source> |
| 207 |
<comment>Disambiguation</comment> |
| 208 |
<translation type="unfinished"></translation> |
| 209 |
</message> |
| 210 |
<message numerus="yes"> |
| 211 |
<location filename="main_test_pragma.qml" line="88"/> |
| 212 |
<source>This string contains plurals</source> |
| 213 |
<translation type="unfinished"> |
| 214 |
<numerusform></numerusform> |
| 215 |
</translation> |
| 216 |
</message> |
| 217 |
<message> |
| 218 |
<location filename="main_test_pragma.qml" line="102"/> |
| 219 |
<source>translation with extras-quoted field</source> |
| 220 |
<translation type="unfinished"></translation> |
| 221 |
<extra-quoted> string with spaces </extra-quoted> |
| 222 |
</message> |
| 223 |
</context> |
| 224 |
<context> |
| 225 |
<name>TemplateLiteral</name> |
| 226 |
<message> |
| 227 |
<location filename="main.qml" line="105"/> |
| 228 |
<source>template literal 2</source> |
| 229 |
<translation type="unfinished"></translation> |
| 230 |
</message> |
| 231 |
</context> |
| 232 |
<context> |
| 233 |
<name>main</name> |
| 234 |
<message> |
| 235 |
<location filename="main.qml" line="5"/> |
| 236 |
<source>One</source> |
| 237 |
<translation type="unfinished"></translation> |
| 238 |
</message> |
| 239 |
<message> |
| 240 |
<location filename="main.qml" line="9"/> |
| 241 |
<source>Hello</source> |
| 242 |
<translation type="unfinished"></translation> |
| 243 |
</message> |
| 244 |
<message> |
| 245 |
<location filename="main.qml" line="13"/> |
| 246 |
<source>One</source> |
| 247 |
<comment>not the same one</comment> |
| 248 |
<translation type="unfinished"></translation> |
| 249 |
</message> |
| 250 |
<message> |
| 251 |
<location filename="main.qml" line="16"/> |
| 252 |
<source>See comment</source> |
| 253 |
<extracomment>My first comment.</extracomment> |
| 254 |
<translation type="unfinished"></translation> |
| 255 |
</message> |
| 256 |
<message> |
| 257 |
<location filename="main.qml" line="23"/> |
| 258 |
<source>The comment explains it all</source> |
| 259 |
<extracomment>My third comment spans two lines.</extracomment> |
| 260 |
<translation type="unfinished"></translation> |
| 261 |
</message> |
| 262 |
<message> |
| 263 |
<location filename="main.qml" line="31"/> |
| 264 |
<source>I love C++</source> |
| 265 |
<extracomment>C-style comment.</extracomment> |
| 266 |
<translation type="unfinished"></translation> |
| 267 |
</message> |
| 268 |
<message> |
| 269 |
<location filename="main.qml" line="38"/> |
| 270 |
<source>Qt is the best</source> |
| 271 |
<extracomment>C-style comment, followed by another one.</extracomment> |
| 272 |
<translation type="unfinished"></translation> |
| 273 |
</message> |
| 274 |
<message> |
| 275 |
<location filename="main.qml" line="45"/> |
| 276 |
<source>The comment had no effect</source> |
| 277 |
<translation type="unfinished"></translation> |
| 278 |
</message> |
| 279 |
<message> |
| 280 |
<location filename="main.qml" line="51"/> |
| 281 |
<source>No comment to your comment</source> |
| 282 |
<translation type="unfinished"></translation> |
| 283 |
</message> |
| 284 |
<message id="id_foo"> |
| 285 |
<location filename="main.qml" line="57"/> |
| 286 |
<location filename="main_test_pragma.qml" line="58"/> |
| 287 |
<source>This string has an identifier</source> |
| 288 |
<translation type="unfinished"></translation> |
| 289 |
</message> |
| 290 |
<message> |
| 291 |
<location filename="main.qml" line="63"/> |
| 292 |
<source>This string has meta-data</source> |
| 293 |
<translation type="unfinished"></translation> |
| 294 |
<extra-loc-blank>False</extra-loc-blank> |
| 295 |
</message> |
| 296 |
<message id="id_baz"> |
| 297 |
<location filename="main.qml" line="73"/> |
| 298 |
<location filename="main_test_pragma.qml" line="74"/> |
| 299 |
<source>This string has a lot of information</source> |
| 300 |
<extracomment>This is a comment for the translator.</extracomment> |
| 301 |
<translation type="unfinished"></translation> |
| 302 |
<extra-foo>123</extra-foo> |
| 303 |
<extra-magic-stuff>This means something special.</extra-magic-stuff> |
| 304 |
</message> |
| 305 |
<message> |
| 306 |
<location filename="main.qml" line="83"/> |
| 307 |
<source>This string has disambiguation</source> |
| 308 |
<comment>Disambiguation</comment> |
| 309 |
<translation type="unfinished"></translation> |
| 310 |
</message> |
| 311 |
<message numerus="yes"> |
| 312 |
<location filename="main.qml" line="87"/> |
| 313 |
<source>This string contains plurals</source> |
| 314 |
<translation type="unfinished"> |
| 315 |
<numerusform></numerusform> |
| 316 |
</translation> |
| 317 |
</message> |
| 318 |
<message> |
| 319 |
<location filename="main.qml" line="101"/> |
| 320 |
<source>translation with extras-quoted field</source> |
| 321 |
<translation type="unfinished"></translation> |
| 322 |
<extra-quoted> string with spaces </extra-quoted> |
| 323 |
</message> |
| 324 |
<message> |
| 325 |
<location filename="main.qml" line="104"/> |
| 326 |
<source>template literal</source> |
| 327 |
<translation type="unfinished"></translation> |
| 328 |
</message> |
| 329 |
<message> |
| 330 |
<location filename="main.qml" line="108"/> |
| 331 |
<source></source> |
| 332 |
<translation type="unfinished"></translation> |
| 333 |
</message> |
| 334 |
<message id="id1"> |
| 335 |
<location filename="main.qml" line="112"/> |
| 336 |
<source>msg with id1</source> |
| 337 |
<label>label1</label> |
| 338 |
<translation type="unfinished"></translation> |
| 339 |
</message> |
| 340 |
<message> |
| 341 |
<location filename="main.qml" line="115"/> |
| 342 |
<source>invalid usage of label because of missing id</source> |
| 343 |
<translation type="unfinished"></translation> |
| 344 |
</message> |
| 345 |
</context> |
| 346 |
</TS> |