diff options
author | Tor Arne Vestbø <tor.arne.vestbo@nokia.com> | 2011-02-01 14:17:53 (GMT) |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@nokia.com> | 2011-02-01 14:37:40 (GMT) |
commit | bb84c5ef4f620af659395b66e6ed792a380b9a1f (patch) | |
tree | b5a1e5549a118ea5e4da612fc40d814ca2e9c401 /tools | |
parent | 0e456bf74dfea10c0f5c164eb5a920e4661a91b2 (diff) | |
download | Qt-bb84c5ef4f620af659395b66e6ed792a380b9a1f.zip Qt-bb84c5ef4f620af659395b66e6ed792a380b9a1f.tar.gz Qt-bb84c5ef4f620af659395b66e6ed792a380b9a1f.tar.bz2 |
Don't ignore source-text when generating qsTrId translations for QML
Reviewed-by: ossi
Diffstat (limited to 'tools')
-rw-r--r-- | tools/linguist/lupdate/qdeclarative.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linguist/lupdate/qdeclarative.cpp b/tools/linguist/lupdate/qdeclarative.cpp index b85b1a7..1c1e9ad 100644 --- a/tools/linguist/lupdate/qdeclarative.cpp +++ b/tools/linguist/lupdate/qdeclarative.cpp @@ -225,7 +225,7 @@ protected: const QString id = literal->value->asString(); bool plural = node->arguments->next; - TranslatorMessage msg(QString(), QString(), + TranslatorMessage msg(QString(), sourcetext, QString(), QString(), m_fileName, node->firstSourceLocation().startLine, QStringList(), TranslatorMessage::Unfinished, plural); |