From f0a176149a27a490fc9a23ced5bd4ff90c97d276 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 5 Oct 2015 11:45:32 +0100 Subject: 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 --- qt-ui/modeldelegates.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui') diff --git a/qt-ui/modeldelegates.cpp b/qt-ui/modeldelegates.cpp index a2dc7c0e8..5f493128b 100644 --- a/qt-ui/modeldelegates.cpp +++ b/qt-ui/modeldelegates.cpp @@ -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()) { -- cgit v1.2.3-70-g09d2