summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptengine/translations/translatable_la.ts
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-04-14 19:51:52 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-04-14 19:51:52 (GMT)
commit55de2bd842a43e84f7bd3efb2cbc5d71640fbda4 (patch)
treed5b3689141cd82704977b34ee4e5cfd5d37809fa /tests/auto/qscriptengine/translations/translatable_la.ts
parent9dcf1eabc373991340b0c0b697f5b0788fde4f4b (diff)
parent840bcb0b56b5b96a81fe3d1d5d91e1477e0fa387 (diff)
downloadQt-55de2bd842a43e84f7bd3efb2cbc5d71640fbda4.zip
Qt-55de2bd842a43e84f7bd3efb2cbc5d71640fbda4.tar.gz
Qt-55de2bd842a43e84f7bd3efb2cbc5d71640fbda4.tar.bz2
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ( be2489a618c909c4a82d927f9fff9d12feafeb30 ) QtScript: Add tests for translation of multiple scripts QtScript: Add test for translation disambiguation QtScript: Fix call stack issue with qsTr() when JIT is enabled
Diffstat (limited to 'tests/auto/qscriptengine/translations/translatable_la.ts')
-rw-r--r--tests/auto/qscriptengine/translations/translatable_la.ts38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/auto/qscriptengine/translations/translatable_la.ts b/tests/auto/qscriptengine/translations/translatable_la.ts
index 3f631de..1598f39 100644
--- a/tests/auto/qscriptengine/translations/translatable_la.ts
+++ b/tests/auto/qscriptengine/translations/translatable_la.ts
@@ -2,6 +2,19 @@
<!DOCTYPE TS>
<TS version="2.0" language="nb_NO">
<context>
+ <name>BarContext</name>
+ <message>
+ <location filename="translatable2.js" line="2"/>
+ <source>Four</source>
+ <translation>Fire</translation>
+ </message>
+ <message>
+ <location filename="translatable2.js" line="6"/>
+ <source>Congratulations!</source>
+ <translation>Gratulerer!</translation>
+ </message>
+</context>
+<context>
<name>FooContext</name>
<message>
<location filename="translatable.js" line="2"/>
@@ -27,8 +40,33 @@
<translation>Hallo</translation>
</message>
<message>
+ <location filename="translatable.js" line="9"/>
+ <source>One</source>
+ <comment>not the same one</comment>
+ <translation>Enda en</translation>
+ </message>
+ <message>
<source>Goodbye</source>
<translation type="obsolete">Farvel</translation>
</message>
</context>
+<context>
+ <name>translatable2</name>
+ <message>
+ <location filename="translatable2.js" line="1"/>
+ <source>Three</source>
+ <translation>Tre</translation>
+ </message>
+ <message>
+ <location filename="translatable2.js" line="5"/>
+ <source>Happy birthday!</source>
+ <translation>Gratulerer med dagen!</translation>
+ </message>
+ <message>
+ <location filename="translatable2.js" line="9"/>
+ <source>Three</source>
+ <comment>not the same three</comment>
+ <translation>Tre andre</translation>
+ </message>
+</context>
</TS>