mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: capitalize use dc
It was suggested in a review of a previous patchset that we should capitalize the use of "use dc" to "Use DC" - but if we were going to do that we should do it everywhere, not just in the one place. This is the followup to do that.
This commit is contained in:
parent
7a9214575e
commit
da8cd5992a
3 changed files with 4 additions and 4 deletions
|
|
@ -1040,10 +1040,10 @@ right allows two ways of expressing atmospheric pressure: mbar or m/ft above sea
|
||||||
The altitude unit (metric/imperial) is taken from the settings in the _Units Preferences_ screen. A
|
The altitude unit (metric/imperial) is taken from the settings in the _Units Preferences_ screen. A
|
||||||
third option is to use the atmospheric pressure provided by the dive computer. In order to specify
|
third option is to use the atmospheric pressure provided by the dive computer. In order to specify
|
||||||
the pressure/altitude, first select the appropriate unit in the dropbox (in the case of the image on the left
|
the pressure/altitude, first select the appropriate unit in the dropbox (in the case of the image on the left
|
||||||
these are "mbar/m/use dc", then type an appropriate value into the text box. In the case
|
these are "mbar/m/Use DC", then type an appropriate value into the text box. In the case
|
||||||
of m/ft the altitude typed into the text box is automatically converted to the
|
of m/ft the altitude typed into the text box is automatically converted to the
|
||||||
mean expected atmospheric pressure (mbar) at the specified altitude.
|
mean expected atmospheric pressure (mbar) at the specified altitude.
|
||||||
In the case of "use dc", no value is required in the text box. Atmospheric pressure provided by a dive
|
In the case of "Use DC", no value is required in the text box. Atmospheric pressure provided by a dive
|
||||||
computer does not need any editing.
|
computer does not need any editing.
|
||||||
|
|
||||||
Recording of five dive conditions that can be done on a five star rating scale. The convention is that the most comfortable
|
Recording of five dive conditions that can be done on a five star rating scale. The convention is that the most comfortable
|
||||||
|
|
|
||||||
|
|
@ -1162,7 +1162,7 @@ QString localFilePath(const QString &originalFilename)
|
||||||
|
|
||||||
// the water types need to match the watertypes enum
|
// the water types need to match the watertypes enum
|
||||||
const QStringList waterTypes = {
|
const QStringList waterTypes = {
|
||||||
gettextFromC::tr("Fresh"), gettextFromC::tr("Brackish"), gettextFromC::tr("EN13319"), gettextFromC::tr("Salt"), gettextFromC::tr("use dc")
|
gettextFromC::tr("Fresh"), gettextFromC::tr("Brackish"), gettextFromC::tr("EN13319"), gettextFromC::tr("Salt"), gettextFromC::tr("Use DC")
|
||||||
};
|
};
|
||||||
|
|
||||||
// TODO: Apparently Qt has no simple way of listing the supported video
|
// TODO: Apparently Qt has no simple way of listing the supported video
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ TabDiveInformation::TabDiveInformation(QWidget *parent) : TabBase(parent), ui(ne
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
connect(&diveListNotifier, &DiveListNotifier::divesChanged, this, &TabDiveInformation::divesChanged);
|
connect(&diveListNotifier, &DiveListNotifier::divesChanged, this, &TabDiveInformation::divesChanged);
|
||||||
QStringList atmPressTypes { "mbar", get_depth_unit() ,tr("use dc")};
|
QStringList atmPressTypes { "mbar", get_depth_unit() ,tr("Use DC")};
|
||||||
ui->atmPressType->insertItems(0, atmPressTypes);
|
ui->atmPressType->insertItems(0, atmPressTypes);
|
||||||
pressTypeIndex = 0;
|
pressTypeIndex = 0;
|
||||||
ui->waterTypeCombo->insertItems(0, waterTypes);
|
ui->waterTypeCombo->insertItems(0, waterTypes);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue