From 23bb6f01658182fe61df0dccbdf78697dcab5f59 Mon Sep 17 00:00:00 2001 From: Carles Pina i Estany Date: Fri, 2 Feb 2024 23:30:23 +0000 Subject: [PATCH] Fix "expressions" not having the expression (and only having the transaltion) --- nongui/StructureList.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;