summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptengine/idtranslatable.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qscriptengine/idtranslatable.js')
-rw-r--r--tests/auto/qscriptengine/idtranslatable.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qscriptengine/idtranslatable.js b/tests/auto/qscriptengine/idtranslatable.js
new file mode 100644
index 0000000..554ca88
--- /dev/null
+++ b/tests/auto/qscriptengine/idtranslatable.js
@@ -0,0 +1,5 @@
+qsTrId("qtn_foo_bar");
+
+var more_greeting_strings = [ QT_TRID_NOOP("qtn_needle"), QT_TRID_NOOP("qtn_haystack") ];
+
+qsTrId("qtn_bar_baz", 10);