summaryrefslogtreecommitdiffstats
path: root/tools/linguist
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-04-09 16:05:13 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-04-09 16:05:13 (GMT)
commit7190c7be34fe0dbcfbb10b232b40977c758d251a (patch)
tree6c94506f0b47c5e634128e6dc34204bd3ea9da07 /tools/linguist
parentf6f2d03b2d74b236d33a5ca32a49f138bf521c13 (diff)
parentd9c84c26dc212b2f170dfb48346df7c439e6f759 (diff)
downloadQt-7190c7be34fe0dbcfbb10b232b40977c758d251a.zip
Qt-7190c7be34fe0dbcfbb10b232b40977c758d251a.tar.gz
Qt-7190c7be34fe0dbcfbb10b232b40977c758d251a.tar.bz2
Merge branch 4.7 into qt-master-from-4.7
Diffstat (limited to 'tools/linguist')
-rw-r--r--tools/linguist/shared/qm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linguist/shared/qm.cpp b/tools/linguist/shared/qm.cpp
index 7b30643..0b4bd9e 100644
--- a/tools/linguist/shared/qm.cpp
+++ b/tools/linguist/shared/qm.cpp
@@ -723,7 +723,7 @@ static bool saveQM(const Translator &translator, QIODevice &dev, ConversionData
continue;
}
if (typ == TranslatorMessage::Unfinished) {
- if (!cd.m_idBased && msg.translation().isEmpty()) {
+ if (msg.translation().isEmpty() && !cd.m_idBased && cd.m_unTrPrefix.isEmpty()) {
++untranslated;
continue;
} else {