diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-06-23 08:33:34 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-23 22:43:39 +0900 |
commit | b109b51f7f1f764ef195726e9b676ef0c49d6add (patch) | |
tree | 5adb6f81f89a009a64b09142084fa7870a338b36 | |
parent | 63a4a755a308be6141202123248abc9ddc131153 (diff) | |
download | subsurface-b109b51f7f1f764ef195726e9b676ef0c49d6add.tar.gz |
Translate "more than n days" for surface interval
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
-rw-r--r-- | core/qthelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/qthelper.cpp b/core/qthelper.cpp index 2a897e881..0c5446e6a 100644 --- a/core/qthelper.cpp +++ b/core/qthelper.cpp @@ -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); |