diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-11-25 16:27:36 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-11-25 16:27:36 (GMT) |
commit | 69460da0a67c76f508bf4c32d14ce00304cdfd98 (patch) | |
tree | ca2580f07c7bc10adb646611acbd82077dec57cb /tools/linguist/shared/qph.cpp | |
parent | 5a180a11af102268d66f3822be256a1dc6980da4 (diff) | |
download | Qt-69460da0a67c76f508bf4c32d14ce00304cdfd98.zip Qt-69460da0a67c76f508bf4c32d14ce00304cdfd98.tar.gz Qt-69460da0a67c76f508bf4c32d14ce00304cdfd98.tar.bz2 |
don't write context into <definition> field
there is really no point in doing so
Reviewed-by: hjk
Diffstat (limited to 'tools/linguist/shared/qph.cpp')
-rw-r--r-- | tools/linguist/shared/qph.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/linguist/shared/qph.cpp b/tools/linguist/shared/qph.cpp index a364037..24148fd 100644 --- a/tools/linguist/shared/qph.cpp +++ b/tools/linguist/shared/qph.cpp @@ -166,9 +166,8 @@ static bool saveQPH(const Translator &translator, QIODevice &dev, ConversionData QChar(Translator::TextVariantSeparator)); t << " <target>" << protect(str) << "</target>\n"; - if (!msg.context().isEmpty() || !msg.comment().isEmpty()) - t << " <definition>" << msg.context() << msg.comment() - << "</definition>\n"; + if (!msg.comment().isEmpty()) + t << " <definition>" << msg.comment() << "</definition>\n"; t << "</phrase>\n"; } t << "</QPH>\n"; |