diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-03-25 20:04:48 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-03-27 11:08:33 (GMT) |
commit | 39c52d840cd1ba3bf988937f4f9c9a9cdba57bfc (patch) | |
tree | f0975549174f18dfda0e08bc8e0fa4c95a152e05 /tools/linguist | |
parent | 811eb47c3501479033ac3a484beeb896b6c0753f (diff) | |
download | Qt-39c52d840cd1ba3bf988937f4f9c9a9cdba57bfc.zip Qt-39c52d840cd1ba3bf988937f4f9c9a9cdba57bfc.tar.gz Qt-39c52d840cd1ba3bf988937f4f9c9a9cdba57bfc.tar.bz2 |
actually ignore untranslated messages as it claims
Diffstat (limited to 'tools/linguist')
-rw-r--r-- | tools/linguist/shared/qm.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/linguist/shared/qm.cpp b/tools/linguist/shared/qm.cpp index c197e2b..1534e3f 100644 --- a/tools/linguist/shared/qm.cpp +++ b/tools/linguist/shared/qm.cpp @@ -646,10 +646,12 @@ static bool saveQM(const Translator &translator, QIODevice &dev, ConversionData TranslatorMessage::Type typ = msg.type(); if (typ != TranslatorMessage::Obsolete) { if (typ == TranslatorMessage::Unfinished) { - if (msg.translation().isEmpty()) + if (msg.translation().isEmpty()) { ++untranslated; - else + continue; + } else { ++unfinished; + } } else { ++finished; } |