diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2010-04-12 14:55:37 (GMT) |
---|---|---|
committer | Kent Hansen <kent.hansen@nokia.com> | 2010-04-13 13:24:40 (GMT) |
commit | 058ba4d19b296464f87504bdc2a2076ee1368e57 (patch) | |
tree | df97586ad78a8402e25672eb5d187b1223160a44 /tests/auto/qscriptengine/qscriptengine.qrc | |
parent | 70141f27e6151f7d7e635ef4ac99fb1f38a1f881 (diff) | |
download | Qt-058ba4d19b296464f87504bdc2a2076ee1368e57.zip Qt-058ba4d19b296464f87504bdc2a2076ee1368e57.tar.gz Qt-058ba4d19b296464f87504bdc2a2076ee1368e57.tar.bz2 |
Make qsTr work in global scope
Search up the call stack to find the first non-empty source URL.
Also and add an autotest for the QtScript translator functions
since there was none (their presence was checked, but not their
behavior...).
Task-number: QTBUG-9775
Reviewed-by: Olivier Goffart
Diffstat (limited to 'tests/auto/qscriptengine/qscriptengine.qrc')
-rw-r--r-- | tests/auto/qscriptengine/qscriptengine.qrc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qscriptengine/qscriptengine.qrc b/tests/auto/qscriptengine/qscriptengine.qrc new file mode 100644 index 0000000..b87f985 --- /dev/null +++ b/tests/auto/qscriptengine/qscriptengine.qrc @@ -0,0 +1,5 @@ +<!DOCTYPE RCC><RCC version="1.0"> +<qresource> + <file>translations/translatable_la.qm</file> +</qresource> +</RCC> |