summaryrefslogtreecommitdiffstats
path: root/tests/auto/linguist/lupdate/testdata/good/parseqml/main.qml
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@nokia.com>2011-02-01 14:17:53 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2011-02-10 14:54:11 (GMT)
commit0e7f89530625d028b2961c75b481beed4e623c15 (patch)
tree5e14b7b0e678724455d5632ef6c550545c485ddb /tests/auto/linguist/lupdate/testdata/good/parseqml/main.qml
parent1821b4766c067c06a44aaadda09bd38fdd95eb24 (diff)
downloadQt-0e7f89530625d028b2961c75b481beed4e623c15.zip
Qt-0e7f89530625d028b2961c75b481beed4e623c15.tar.gz
Qt-0e7f89530625d028b2961c75b481beed4e623c15.tar.bz2
Don't ignore source-text when generating qsTrId translations for QML
Reviewed-by: ossi (cherry picked from commit bb84c5ef4f620af659395b66e6ed792a380b9a1f)
Diffstat (limited to 'tests/auto/linguist/lupdate/testdata/good/parseqml/main.qml')
-rw-r--r--tests/auto/linguist/lupdate/testdata/good/parseqml/main.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/linguist/lupdate/testdata/good/parseqml/main.qml b/tests/auto/linguist/lupdate/testdata/good/parseqml/main.qml
index 768a4e2..c966fa1 100644
--- a/tests/auto/linguist/lupdate/testdata/good/parseqml/main.qml
+++ b/tests/auto/linguist/lupdate/testdata/good/parseqml/main.qml
@@ -93,5 +93,8 @@ QtObject {
//: qsTrId() with comment, meta-data and plurals.
//~ well-tested True
qsTrId("qtn_bar_baz", 10);
+
+ //% "Source text"
+ qsTrId("qtn_baz_biz");
}
}