Kaydet (Commit) 59f41151 authored tarafından Andras Timar's avatar Andras Timar Kaydeden (comit) Stephan Bergmann

fix of extension description l10n

Change-Id: Ica102309627fade2a064ee5516e84801affe4082
Reviewed-on: https://gerrit.libreoffice.org/61184
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 72f30d79
...@@ -202,9 +202,17 @@ void GenPoEntry::readFromFile(std::ifstream& rIFStream) ...@@ -202,9 +202,17 @@ void GenPoEntry::readFromFile(std::ifstream& rIFStream)
pLastMsg = &m_sMsgStr; pLastMsg = &m_sMsgStr;
} }
else if (sLine.startsWith("\"") && pLastMsg) else if (sLine.startsWith("\"") && pLastMsg)
{
OString sReference;
if (!m_sReferences.empty())
{
sReference = m_sReferences.front();
}
if (pLastMsg != &m_sMsgCtxt || sLine != "\"" + sReference + "\\n\"")
{ {
*pLastMsg += lcl_GenNormString(sLine); *pLastMsg += lcl_GenNormString(sLine);
} }
}
else else
break; break;
getline(rIFStream,sTemp); getline(rIFStream,sTemp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment