summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-06 20:05:18 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-06 21:58:00 (GMT)
commit60acaf5ec7edcd1baf4dd8f80cf93b3e2cb520e4 (patch)
treeb43083449906c65173dd1ccc22f2da1b1979a513 /tools
parent60b6fcdd18c4a21df086a0965bd2d536a39d2094 (diff)
downloadQt-60acaf5ec7edcd1baf4dd8f80cf93b3e2cb520e4.zip
Qt-60acaf5ec7edcd1baf4dd8f80cf93b3e2cb520e4.tar.gz
Qt-60acaf5ec7edcd1baf4dd8f80cf93b3e2cb520e4.tar.bz2
use right method to record new messages
consistent with all other source parsers
Diffstat (limited to 'tools')
-rw-r--r--tools/linguist/lupdate/qscript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linguist/lupdate/qscript.cpp b/tools/linguist/lupdate/qscript.cpp
index 4600656..6c94588 100644
--- a/tools/linguist/lupdate/qscript.cpp
+++ b/tools/linguist/lupdate/qscript.cpp
@@ -776,7 +776,7 @@ static void recordMessage(
fileName, lineNo, QStringList(),
TranslatorMessage::Unfinished, plural);
msg.setExtraComment(extracomment.simplified());
- tor->replace(msg);
+ tor->extend(msg);
}