summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-04-08 08:59:09 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-04-08 09:01:31 (GMT)
commit688d6db785af821e76b9e436ef9d9cbea95ef5ad (patch)
treec8c6143769b50fda5b68c2dc0b481d54c2e6b994 /tools
parentb44bfe8eab4db8024eadd788030a6eaa00be4b91 (diff)
downloadQt-688d6db785af821e76b9e436ef9d9cbea95ef5ad.zip
Qt-688d6db785af821e76b9e436ef9d9cbea95ef5ad.tar.gz
Qt-688d6db785af821e76b9e436ef9d9cbea95ef5ad.tar.bz2
make -markuntranslated work without -idbased
Task-number: QTBUG-18625
Diffstat (limited to 'tools')
-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 {