summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.cpp
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2014-07-17 19:45:55 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-18 10:09:04 -0700
commit606bf377c539610950114f2bf2f55af0de4a2209 (patch)
treedf84ae45a59bc1b93851dfe9e32d4ad33daddc1e /qt-ui/diveplanner.cpp
parent950638ec1c560083cbf7c49fc0a5e6139560cc85 (diff)
downloadsubsurface-606bf377c539610950114f2bf2f55af0de4a2209.tar.gz
Use "6m" and "20ft" instead of "6m/20ft".
Get rid of unit type shortcut in planner. Also use "to" instead of "-" in ascent rate intervals. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r--qt-ui/diveplanner.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index e0a6959de..8882664c9 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -451,9 +451,13 @@ void PlannerSettingsWidget::settingsChanged()
if (get_units()->length == units::FEET) {
vs.append(tr("ft/min"));
ui.lastStop->setText(tr("Last stop at 20ft"));
+ ui.asc50to6->setText(tr("50% avg. depth to 20ft"));
+ ui.asc6toSurf->setText(tr("20ft to surface"));
} else {
vs.append(tr("m/min"));
ui.lastStop->setText(tr("Last stop at 6m"));
+ ui.asc50to6->setText(tr("50% avg. depth to 6m"));
+ ui.asc6toSurf->setText(tr("6m to surface"));
}
updateUnitsUI();
ui.ascRate75->setSuffix(vs);