diff options
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/cylindermodel.cpp | 8 | ||||
-rw-r--r-- | qt-models/diveplannermodel.cpp | 2 | ||||
-rw-r--r-- | qt-models/divetripmodel.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/qt-models/cylindermodel.cpp b/qt-models/cylindermodel.cpp index 843792ae7..4ae98da5b 100644 --- a/qt-models/cylindermodel.cpp +++ b/qt-models/cylindermodel.cpp @@ -256,10 +256,10 @@ QVariant CylindersModel::data(const QModelIndex &index, int role) const ret = tr("Switch depth for deco gas. Calculated using Deco pO₂ preference, unless set manually."); break; case MOD: - ret = tr("Calculated using Bottom pO₂ preference. Setting MOD adjusts O₂%, set to '*' for best O₂% for max depth."); + ret = tr("Calculated using Bottom pO₂ preference. Setting MOD adjusts O₂%, set to '*' for best O₂% for max. depth."); break; case MND: - ret = tr("Calculated using Best Mix END preference. Setting MND adjusts He%, set to '*' for best He% for max depth."); + ret = tr("Calculated using Best Mix END preference. Setting MND adjusts He%, set to '*' for best He% for max. depth."); break; } break; @@ -383,7 +383,7 @@ bool CylindersModel::setData(const QModelIndex &index, const QVariant &value, in if (CHANGED()) { if (QString::compare(vString.toUtf8().data(), "*") == 0) { cyl->bestmix_o2 = true; - // Calculate fO2 for max depth + // Calculate fO2 for max. depth cyl->gasmix.o2 = best_o2(displayed_dive.maxdepth, &displayed_dive); } else { cyl->bestmix_o2 = false; @@ -400,7 +400,7 @@ bool CylindersModel::setData(const QModelIndex &index, const QVariant &value, in if (CHANGED()) { if (QString::compare(vString.toUtf8().data(), "*") == 0) { cyl->bestmix_he = true; - // Calculate fO2 for max depth + // Calculate fO2 for max. depth cyl->gasmix.he = best_he(displayed_dive.maxdepth, &displayed_dive); } else { cyl->bestmix_he = false; diff --git a/qt-models/diveplannermodel.cpp b/qt-models/diveplannermodel.cpp index c858fd6f1..96b58c267 100644 --- a/qt-models/diveplannermodel.cpp +++ b/qt-models/diveplannermodel.cpp @@ -152,7 +152,7 @@ void DivePlannerPointsModel::setupCylinders() CylindersModel::instance()->copyFromDive(&displayed_dive); } -// Update the dive's maximum depth. Returns true if max depth changed +// Update the dive's maximum depth. Returns true if max. depth changed bool DivePlannerPointsModel::updateMaxDepth() { int prevMaxDepth = displayed_dive.maxdepth.mm; diff --git a/qt-models/divetripmodel.cpp b/qt-models/divetripmodel.cpp index e36fced55..435d72a0b 100644 --- a/qt-models/divetripmodel.cpp +++ b/qt-models/divetripmodel.cpp @@ -246,7 +246,7 @@ QVariant DiveItem::data(int column, int role) const retVal = tr("OTU"); break; case MAXCNS: - retVal = tr("Max CNS"); + retVal = tr("Max. CNS"); break; case PHOTOS: retVal = tr("Photos before/during/after dive"); |