Okay - than I will go to Plan B. :)
What about this: In the GroupHeader.qml file at Line 85, replace this:
text: groupHeader.folded ? u2d.tr("See %1 more results").arg(availableCount) : u2d.tr("See fewer results")
with this: text: if (availableCount > 1) { groupHeader.folded ? u2d.tr("See %1 more results").arg(availableCount) : u2d.tr("See fewer results") } else { text: groupHeader.folded ? u2d.tr("See %1 more result").arg(availableCount) : u2d.tr("See fewer results") }
There is probably a more optimized way of showing this logic - but I have tested it and it works. Sorry I don't have a Plan C - yet. :)
Okay - than I will go to Plan B. :)
What about this:
In the GroupHeader.qml file at Line 85, replace this:
text: groupHeader.folded ? u2d.tr("See %1 more results" ).arg(available Count) : u2d.tr("See fewer results")
with this: folded ? u2d.tr("See %1 more results" ).arg(available Count) : u2d.tr("See fewer results") ).arg(available Count) : u2d.tr("See fewer results")
text: if (availableCount > 1) {
groupHeader.
} else {
text: groupHeader.folded ? u2d.tr("See %1 more result"
}
There is probably a more optimized way of showing this logic - but I have tested it and it works. Sorry I don't have a Plan C - yet. :)