mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:23:23 +00:00
Translate "more than n days" for surface interval
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
63a4a755a3
commit
b109b51f7f
1 changed files with 1 additions and 1 deletions
|
@ -966,7 +966,7 @@ QString get_dive_surfint_string(timestamp_t when, QString daysText, QString hour
|
|||
mins = (when + 30 - days * 3600 * 24 - hrs * 3600) / 60;
|
||||
|
||||
QString displayInt;
|
||||
if (maxdays && days > maxdays) displayInt = QString("more than %1 days").arg(maxdays);
|
||||
if (maxdays && days > maxdays) displayInt = QString(translate("gettextFromC", "more than %1 days")).arg(maxdays);
|
||||
else if (days) displayInt = QString("%1%2%3%4%5%6%7%8").arg(days).arg(daysText).arg(separator)
|
||||
.arg(hrs).arg(hoursText).arg(separator)
|
||||
.arg(mins).arg(minutesText);
|
||||
|
|
Loading…
Add table
Reference in a new issue