diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-10-05 11:45:32 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-05 16:35:09 +0100 |
commit | f0a176149a27a490fc9a23ced5bd4ff90c97d276 (patch) | |
tree | b9adecea37967a0483de383e62b9de86666d20ed /qt-ui | |
parent | 021af8144362a22c036c83a5d30f42edf8e9c16e (diff) | |
download | subsurface-f0a176149a27a490fc9a23ced5bd4ff90c97d276.tar.gz |
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>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/modeldelegates.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()) { |