tests/auto/qscriptengine/translatable.js
author Craig Heath <craigh@symbian.org>
Wed, 16 Jun 2010 16:18:05 +0100
branchGCC_SURGE
changeset 26 8776df5ac359
parent 22 79de32ba3296
permissions -rw-r--r--
Bug 2955. Workaround for lack of atomic operations in GCCE standard libraries (fall back to default use of Mutex)

qsTr("One");
qsTranslate("FooContext", "Two");

var greeting_strings = [
    QT_TR_NOOP("Hello"),
    QT_TRANSLATE_NOOP("FooContext", "Goodbye")
];

qsTr("One", "not the same one");