Skip to content

Commit 23bb6f0

Browse files
committed
Fix "expressions" not having the expression (and only having the transaltion)
1 parent ef91625 commit 23bb6f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nongui/StructureList.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,10 @@ void StructureList::processEntry(QXmlStreamReader& reader) {
248248
m_translation.notes.append(ch);
249249
}
250250
else if (m_inFems) {
251-
m_translation.female = ch;
251+
m_translation.female += ch.trimmed();
252252
}
253253
else if (m_inFemPlural) {
254-
m_translation.femalePlural = ch;
254+
m_translation.femalePlural += ch.trimmed();
255255
}
256256
else if (m_inTranslation) {
257257
/* There are entries where the "translation" is between different parts. For example:
@@ -269,7 +269,7 @@ void StructureList::processEntry(QXmlStreamReader& reader) {
269269
m_translation.translation += ch.trimmed();
270270
}
271271
else if (m_inExpressions) {
272-
m_expressions.expression = ch;
272+
m_expressions.expression += ch.trimmed();
273273
}
274274
else if (m_inMistakes) {
275275
m_mistakes = ch;

0 commit comments

Comments
 (0)