diff options
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/po.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx index df9efe31bc64..648634c2f569 100644 --- a/l10ntools/source/po.cxx +++ b/l10ntools/source/po.cxx @@ -252,10 +252,12 @@ void GenPoEntry::readFromFile(std::ifstream& rIFStream) m_sMsgStr = lcl_GenNormString(sLine.copy(7)); pLastMsg = &m_sMsgStr; } - else if (sLine.startsWith("\"") && pLastMsg && - (pLastMsg != &m_sMsgCtxt || sLine != "\"" + m_sReference + "\"") ) + else if (sLine.startsWith("\"") && pLastMsg) { - *pLastMsg += lcl_GenNormString(sLine); + if (pLastMsg != &m_sMsgCtxt || sLine != "\"" + m_sReference + "\\n\"") + { + *pLastMsg += lcl_GenNormString(sLine); + } } else break; |