Don't use the numerus version of tr()

It looks like our tools create a .ts stance that transifex can't deal
with.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-10-05 11:45:32 +01:00
parent 021af81443
commit f0a176149a
2 changed files with 12 additions and 14 deletions

View file

@ -543,7 +543,7 @@ void LocationFilterDelegate::paint(QPainter *painter, const QStyleOptionViewItem
QString distance = distance_string(distanceMeters);
int nr = nr_of_dives_at_dive_site(ds->uuid, false);
bottomText += tr(" (~%1 away").arg(distance);
bottomText += tr(", %n dive(s) here)", 0, nr);
bottomText += tr(", %n dive(s) here)").arg(nr);
}
}
if (bottomText.isEmpty()) {