Skip to content

Commit

Permalink
Fix "expressions" not having the expression (and only having the tran…
Browse files Browse the repository at this point in the history
…saltion)
  • Loading branch information
cpina committed Feb 2, 2024
1 parent ef91625 commit 23bb6f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nongui/StructureList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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;
Expand Down

0 comments on commit 23bb6f0

Please sign in to comment.