diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-10-21 12:44:42 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-10-22 08:40:43 (GMT) |
commit | f3d76ae452d1c430bf294a0750318327a866332c (patch) | |
tree | adee5a7f9a8b22be93399b859b53ec226760edd0 /tools/linguist | |
parent | babfff66074573bb34a0abd561052c1cc4df5ef0 (diff) | |
download | Qt-f3d76ae452d1c430bf294a0750318327a866332c.zip Qt-f3d76ae452d1c430bf294a0750318327a866332c.tar.gz Qt-f3d76ae452d1c430bf294a0750318327a866332c.tar.bz2 |
id-based: do not drop unfinished untranslated messages
otherwise the fallback to use the source string is rather pointless
Diffstat (limited to 'tools/linguist')
-rw-r--r-- | tools/linguist/shared/qm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linguist/shared/qm.cpp b/tools/linguist/shared/qm.cpp index 998d0ac..317a07e 100644 --- a/tools/linguist/shared/qm.cpp +++ b/tools/linguist/shared/qm.cpp @@ -714,7 +714,7 @@ static bool saveQM(const Translator &translator, QIODevice &dev, ConversionData continue; } if (typ == TranslatorMessage::Unfinished) { - if (msg.translation().isEmpty()) { + if (!cd.m_idBased && msg.translation().isEmpty()) { ++untranslated; continue; } else { |