aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2014-06-22 16:41:44 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-23 06:48:54 +0800
commit630ec88dd4a096fa39ad95b54a7dbfa760a212d9 (patch)
tree0a4cc6f336c92dc7ff2dee828aa88a45736f903e /qt-ui/profile
parent21916d67de37fcca027fa392995c24084c954bc1 (diff)
downloadsubsurface-630ec88dd4a096fa39ad95b54a7dbfa760a212d9.tar.gz
Be more consistent in partial pressure naming
Lets just use pO₂ instead of PO2, ppO2, ppO₂, PO₂. They all mean the same, but it's better to be consistent Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile')
-rw-r--r--qt-ui/profile/diveeventitem.cpp2
-rw-r--r--qt-ui/profile/diveplotdatamodel.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/qt-ui/profile/diveeventitem.cpp b/qt-ui/profile/diveeventitem.cpp
index 0a468d084..fc65f8e79 100644
--- a/qt-ui/profile/diveeventitem.cpp
+++ b/qt-ui/profile/diveeventitem.cpp
@@ -92,7 +92,7 @@ void DiveEventItem::setupToolTipString()
}
} else if (type == SAMPLE_EVENT_PO2 && name == "SP change") {
// this is a bad idea - we are abusing an existing event type that is supposed to
- // warn of high or low PO2 and are turning it into a set point change event
+ // warn of high or low pO₂ and are turning it into a set point change event
name += "\n" + tr("Bailing out to OC");
} else {
name += internalEvent->flags == SAMPLE_FLAGS_BEGIN ? tr(" begin", "Starts with space!") :
diff --git a/qt-ui/profile/diveplotdatamodel.cpp b/qt-ui/profile/diveplotdatamodel.cpp
index 2fe636a4b..08bcf11bd 100644
--- a/qt-ui/profile/diveplotdatamodel.cpp
+++ b/qt-ui/profile/diveplotdatamodel.cpp
@@ -104,7 +104,7 @@ QVariant DivePlotDataModel::headerData(int section, Qt::Orientation orientation,
case CYLINDERINDEX:
return tr("Cylinder Index");
case SENSOR_PRESSURE:
- return tr("Pressure S");
+ return tr("Pressure S");
case INTERPOLATED_PRESSURE:
return tr("Pressure I");
case CEILING:
@@ -112,11 +112,11 @@ QVariant DivePlotDataModel::headerData(int section, Qt::Orientation orientation,
case SAC:
return tr("SAC");
case PN2:
- return tr("PN2");
+ return tr("pN₂");
case PHE:
- return tr("PHE");
+ return tr("pHe");
case PO2:
- return tr("PO2");
+ return tr("pO₂");
}
if (role == Qt::DisplayRole && section >= TISSUE_1 && section <= TISSUE_16) {
return QString("Ceiling: %1").arg(section - TISSUE_1);