summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2012-12-23 03:51:17 +0100
committerZolnai Tamás <zolnaitamas2000@gmail.com>2012-12-24 06:26:08 +0100
commitdb99a31c4e4e7c74d4c4bb7caa747a5752a32757 (patch)
treedaea8602385deaba8e72c1a95275e6dd22673960 /l10ntools
parent5c0ca47ea05ac169c3aa6af5e95321b5de3e439d (diff)
fdo#58673 Generate the same keyid for pots as for merge
Change-Id: I65c71d22570c62c84d359b12aa5375016be1f69a
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/po.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx
index cdc2c9847ebb..06530a31576d 100644
--- a/l10ntools/source/po.cxx
+++ b/l10ntools/source/po.cxx
@@ -432,14 +432,14 @@ PoEntry::PoEntry(const OString& rSDFLine, const TYPE eType)
/*Default case is unneeded because the type of eType has
only three element*/
}
- m_pGenPo->setExtractCom(
- ( !vParts[HELPTEXT].isEmpty() ? vParts[HELPTEXT] + "\n" : OString( "" )) +
- lcl_GenKeyId(
- vParts[SOURCEFILE] + sMsgCtxt + vParts[eType] ) );
m_pGenPo->setMsgCtxt(sMsgCtxt);
m_pGenPo->setMsgId(
lcl_UnEscapeSDFText(
vParts[eType],vParts[SOURCEFILE].endsWith(".xhp")));
+ m_pGenPo->setExtractCom(
+ ( !vParts[HELPTEXT].isEmpty() ? vParts[HELPTEXT] + "\n" : OString( "" )) +
+ lcl_GenKeyId(
+ m_pGenPo->getReference() + sMsgCtxt + m_pGenPo->getMsgId() ) );
m_bIsInitialized = true;
}