diff --git a/changelog b/changelog index df04545..9942325 100644 --- a/changelog +++ b/changelog @@ -2,6 +2,8 @@ qdacco 1.2.2 (UNRELEASED) ============ -Fix entries such as "neighbor" where, inside the there was something such as xxx[MORE SPACES] +-Fix "expressions" in entries (e.g. "taula"). They didn't have the expression +meaning (only its translation). Similar problem as above qdacco 1.2.1 (October 2023) ============ diff --git a/nongui/StructureList.cpp b/nongui/StructureList.cpp index bc1dc49..353d04f 100644 --- a/nongui/StructureList.cpp +++ b/nongui/StructureList.cpp @@ -248,10 +248,10 @@ void StructureList::processEntry(QXmlStreamReader& reader) { m_translation.notes.append(ch); } else if (m_inFems) { - m_translation.female = ch; + m_translation.female += ch.trimmed(); } else if (m_inFemPlural) { - m_translation.femalePlural = ch; + m_translation.femalePlural += ch.trimmed(); } else if (m_inTranslation) { /* There are entries where the "translation" is between different parts. For example: @@ -269,7 +269,7 @@ void StructureList::processEntry(QXmlStreamReader& reader) { m_translation.translation += ch.trimmed(); } else if (m_inExpressions) { - m_expressions.expression = ch; + m_expressions.expression += ch.trimmed(); } else if (m_inMistakes) { m_mistakes = ch;