Write source file into po entries' msgctxt
So (msgctxt, msgid) pair is unique in one po file Change-Id: I64635dd7a6352300ed5fb6949a1b78c2a070c660
This commit is contained in:
parent
124dc60e55
commit
b0f07bbbc4
1 changed files with 4 additions and 1 deletions
|
@ -255,7 +255,10 @@ void GenPoEntry::readFromFile(std::ifstream& rIFStream)
|
|||
else if (sLine.startsWith("\"") && pLastMsg &&
|
||||
(pLastMsg != &m_sMsgCtxt || sLine != "\"" + m_sReference + "\"") )
|
||||
{
|
||||
*pLastMsg += lcl_GenNormString(sLine);
|
||||
if ( pLastMsg != &m_sMsgCtxt || sLine != "\"" + m_sReference + "\\n\"" )
|
||||
{
|
||||
*pLastMsg += lcl_GenNormString(sLine);
|
||||
}
|
||||
}
|
||||
else
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue