aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-11-30 11:13:41 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-30 07:19:48 -0800
commit10a43af06697cf7f2be36390bd052733fa3b4a76 (patch)
tree9ebacb162679fe075c41f51f32c498235a849270
parent51d298c8d5d739c2aeaebd4dbea289564bd3e260 (diff)
downloadsubsurface-10a43af06697cf7f2be36390bd052733fa3b4a76.tar.gz
Minor text cleanup
Use the same case for the first letter in the dive table column headers, use '%' for both gases in the planner, and show "Start time" instead of "Starttime". Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/maintab.ui2
-rw-r--r--qt-ui/models.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui
index 3a36a951c..90bcf57b7 100644
--- a/qt-ui/maintab.ui
+++ b/qt-ui/maintab.ui
@@ -60,7 +60,7 @@
<item row="1" column="0">
<widget class="QLabel" name="DateTimeLabel">
<property name="text">
- <string>Starttime</string>
+ <string>Start time</string>
</property>
</widget>
</item>
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index 12e17c8e9..6600bfaf6 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -62,7 +62,7 @@ void CleanerTableModel::setHeaderDataStrings(const QStringList& newHeaders)
CylindersModel::CylindersModel(QObject* parent): current(0), rows(0)
{
// enum{REMOVE, TYPE, SIZE, WORKINGPRESS, START, END, O2, HE, DEPTH};
- setHeaderDataStrings( QStringList() << "" << tr("Type") << tr("Size") << tr("WorkPress") << tr("StartPress") << tr("EndPress") << tr("O2%") << tr("HE") << tr("Switch at"));
+ setHeaderDataStrings( QStringList() << "" << tr("Type") << tr("Size") << tr("WorkPress") << tr("StartPress") << tr("EndPress") << tr("O2%") << tr("He%") << tr("Switch at"));
}
CylindersModel *CylindersModel::instance()
@@ -1137,19 +1137,19 @@ QVariant DiveTripModel::headerData(int section, Qt::Orientation orientation, int
case Qt::DisplayRole :
switch (section) {
case NR: ret = tr("#"); break;
- case DATE: ret = tr("Date"); break;
+ case DATE: ret = tr("date"); break;
case RATING: ret = UTF8_BLACKSTAR; break;
case DEPTH: ret = (get_units()->length == units::METERS) ? tr("m") : tr("ft"); break;
case DURATION: ret = tr("min"); break;
case TEMPERATURE:ret = QString("%1%2").arg(UTF8_DEGREE).arg((get_units()->temperature == units::CELSIUS) ? "C" : "F"); break;
case TOTALWEIGHT:ret = (get_units()->weight == units::KG) ? tr("kg") : tr("lbs"); break;
- case SUIT: ret = tr("Suit"); break;
- case CYLINDER: ret = tr("Cyl"); break;
+ case SUIT: ret = tr("suit"); break;
+ case CYLINDER: ret = tr("cyl"); break;
case NITROX: ret = QString("O%1%").arg(UTF8_SUBSCRIPT_2); break;
case SAC: ret = tr("SAC"); break;
case OTU: ret = tr("OTU"); break;
case MAXCNS: ret = tr("maxCNS"); break;
- case LOCATION: ret = tr("Location"); break;
+ case LOCATION: ret = tr("location"); break;
}break;
}