summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptengine/translatable-unicode.js
diff options
context:
space:
mode:
authoraavit <qt-info@nokia.com>2010-11-19 12:30:09 (GMT)
committeraavit <qt-info@nokia.com>2010-11-19 12:30:09 (GMT)
commit8034cab2cce55b43dcc1100d0b22f8c85eb733c2 (patch)
tree5a1637fa48ce23e12c6a51490f6a481fd1ca1a5a /tests/auto/qscriptengine/translatable-unicode.js
parente614223831f2b3cc9051ae88586370a7d5b63db2 (diff)
parent1d152964adec62d03ce2f4a45ca40ddbd05819ae (diff)
downloadQt-8034cab2cce55b43dcc1100d0b22f8c85eb733c2.zip
Qt-8034cab2cce55b43dcc1100d0b22f8c85eb733c2.tar.gz
Qt-8034cab2cce55b43dcc1100d0b22f8c85eb733c2.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2
Diffstat (limited to 'tests/auto/qscriptengine/translatable-unicode.js')
-rw-r--r--tests/auto/qscriptengine/translatable-unicode.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qscriptengine/translatable-unicode.js b/tests/auto/qscriptengine/translatable-unicode.js
new file mode 100644
index 0000000..afe2aff
--- /dev/null
+++ b/tests/auto/qscriptengine/translatable-unicode.js
@@ -0,0 +1,9 @@
+qsTr("H\u2082O");
+qsTranslate("\u010C\u0101\u011F\u0115", "CO\u2082");
+
+var unicode_strings = [
+ QT_TR_NOOP("\u0391\u0392\u0393"),
+ QT_TRANSLATE_NOOP("\u010C\u0101\u011F\u0115", "\u0414\u0415\u0416")
+];
+
+qsTr("H\u2082O", "not the same H\u2082O");