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 +- translations/subsurface_source.ts | 24 +++++++++++------------- 2 files changed, 12 insertions(+), 14 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()) { diff --git a/translations/subsurface_source.ts b/translations/subsurface_source.ts index 385617fc5..f3e0822ec 100644 --- a/translations/subsurface_source.ts +++ b/translations/subsurface_source.ts @@ -3544,12 +3544,10 @@ p, li { white-space: pre-wrap; } (~%1 away - + , %n dive(s) here) - - - + @@ -4758,7 +4756,7 @@ mixed from Air and using: - + Cancel @@ -4818,33 +4816,33 @@ mixed from Air and using: - + [cloud storage for] %1 - + Opening datafile from older version - + You opened a data file from an older version of Subsurface. We recommend you read the manual to learn about the changes in the new version, especially about dive site management which has changed significantly. Subsurface has already tried to pre-populate the data but it might be worth while taking a look at the new dive site management system and to make sure that everything looks correct. - + Open dive log file - + Dive log files (*.ssrf *.can *.csv *.db *.sql *.dld *.jlb *.lvd *.sde *.udcf *.uddf *.xml *.txt *.dlf *.apd*.SSRF *.CAN *.CSV *.DB *.SQL *.DLD *.JLB *.LVD *.SDE *.UDCF *.UDDF *.xml *.TXT *.DLF *.APD);;Cochran files (*.can *.CAN);;CSV files (*.csv *.CSV);;DiveLog.de files (*.dld *.DLD);;JDiveLog files (*.jlb *.JLB);;Liquivision files (*.lvd *.LVD);;MkVI files (*.txt *.TXT);;Suunto files (*.sde *.db *.SDE *.DB);;Divesoft files (*.dlf *.DLF);;UDDF/UDCF files (*.uddf *.udcf *.UDDF *.UDCF);;XML files (*.xml *.XML);;APD log viewer (*.apd *.APD);;Datatrak/WLog Files (*.log *.LOG);;OSTCtools Files (*.dive *.DIVE);;All files (*) - + Contacting cloud service... @@ -4859,7 +4857,7 @@ Subsurface has already tried to pre-populate the data but it might be worth whil - + Warning @@ -4887,7 +4885,7 @@ Subsurface has already tried to pre-populate the data but it might be worth whil - + Please, first finish the current edition before trying to do another. -- cgit v1.2.3-70-g09d2