Comment 6 for bug 759189

Revision history for this message
Aritchie (aritchie) wrote : Re: no singular/plural option for "See %1 more results"

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. :)