summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Tim Wootton <tim@tee-jay.demon.co.uk>2014-07-11 00:06:42 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-10 16:26:30 -0700
commit5c5168cf17fc0162556db661d35e7ef689845d22 (patch)
treeedae5a78e6d4f4fa7c116c89d1b7021c9bc3126c /qt-ui/maintab.cpp
parent85a98636c1c66a245e0e6469d229e8e9d7f12d1e (diff)
downloadsubsurface-5c5168cf17fc0162556db661d35e7ef689845d22.tar.gz
maintab capitalisation consistency
Signed-off-by: Tim Wootton <tim@tee-jay.demon.co.uk> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 6fc4db8df..8c02b2eae 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -384,7 +384,7 @@ void MainTab::updateDiveInfo(bool clear)
ui.dateEdit->setDate(localTime.date());
ui.timeEdit->setTime(localTime.time());
if (MainWindow::instance() && MainWindow::instance()->dive_list()->selectedTrips().count() == 1) {
- setTabText(0, tr("Trip Notes"));
+ setTabText(0, tr("Trip notes"));
// only use trip relevant fields
ui.coordinates->setVisible(false);
ui.CoordinatedLabel->setVisible(false);
@@ -406,14 +406,14 @@ void MainTab::updateDiveInfo(bool clear)
ui.watertemp->setVisible(false);
// rename the remaining fields and fill data from selected trip
dive_trip_t *currentTrip = *MainWindow::instance()->dive_list()->selectedTrips().begin();
- ui.LocationLabel->setText(tr("Trip Location"));
+ ui.LocationLabel->setText(tr("Trip location"));
ui.location->setText(currentTrip->location);
- ui.NotesLabel->setText(tr("Trip Notes"));
+ ui.NotesLabel->setText(tr("Trip notes"));
ui.notes->setText(currentTrip->notes);
clearEquipment();
ui.equipmentTab->setEnabled(false);
} else {
- setTabText(0, tr("Dive Notes"));
+ setTabText(0, tr("Dive notes"));
// make all the fields visible writeable
ui.coordinates->setVisible(true);
ui.CoordinatedLabel->setVisible(true);
@@ -498,8 +498,8 @@ void MainTab::updateDiveInfo(bool clear)
// the overall average depth is really confusing when listed between the
// deepest and shallowest dive - let's just not set it
// ui.depthLimits->setAverage(get_depth_string(stats_selection.avg_depth, true));
- ui.depthLimits->overrideMaxToolTipText(tr("Deepest Dive"));
- ui.depthLimits->overrideMinToolTipText(tr("Shallowest Dive"));
+ ui.depthLimits->overrideMaxToolTipText(tr("Deepest dive"));
+ ui.depthLimits->overrideMinToolTipText(tr("Shallowest dive"));
ui.sacLimits->setMaximum(get_volume_string(stats_selection.max_sac, true).append(tr("/min")));
ui.sacLimits->setMinimum(get_volume_string(stats_selection.min_sac, true).append(tr("/min")));
ui.sacLimits->setAverage(get_volume_string(stats_selection.avg_sac, true).append(tr("/min")));