mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
More style and readability changes
Changes to capitalisation to comply with coding style Changes to make some blocks of english sound a bit better Signed-off-by: Tim Wootton <tim@tee-jay.org.uk> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8f6702d0b3
commit
6a468b4d39
5 changed files with 13 additions and 13 deletions
|
@ -904,7 +904,7 @@
|
||||||
<item row="8" column="0">
|
<item row="8" column="0">
|
||||||
<widget class="QCheckBox" name="modWarning">
|
<widget class="QCheckBox" name="modWarning">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Mod warning</string>
|
<string>MOD warning</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -918,7 +918,7 @@
|
||||||
<item row="9" column="0" colspan="2">
|
<item row="9" column="0" colspan="2">
|
||||||
<widget class="QCheckBox" name="dynamicAscendRate">
|
<widget class="QCheckBox" name="dynamicAscendRate">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Dynamic ascend rate</string>
|
<string>Dynamic ascent rate</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -971,7 +971,7 @@
|
||||||
<item row="12" column="4">
|
<item row="12" column="4">
|
||||||
<widget class="QSpinBox" name="bottomGasConsumption">
|
<widget class="QSpinBox" name="bottomGasConsumption">
|
||||||
<property name="suffix">
|
<property name="suffix">
|
||||||
<string> l/m</string>
|
<string> ℓ/min</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimum">
|
<property name="minimum">
|
||||||
<number>5</number>
|
<number>5</number>
|
||||||
|
@ -987,7 +987,7 @@
|
||||||
<item row="13" column="4">
|
<item row="13" column="4">
|
||||||
<widget class="QSpinBox" name="decoGasConsumption">
|
<widget class="QSpinBox" name="decoGasConsumption">
|
||||||
<property name="suffix">
|
<property name="suffix">
|
||||||
<string> l/m</string>
|
<string> ℓ/min</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimum">
|
<property name="minimum">
|
||||||
<number>5</number>
|
<number>5</number>
|
||||||
|
@ -2216,7 +2216,7 @@
|
||||||
<item row="12" column="4">
|
<item row="12" column="4">
|
||||||
<widget class="QSpinBox" name="decoGasConsumption_3">
|
<widget class="QSpinBox" name="decoGasConsumption_3">
|
||||||
<property name="suffix">
|
<property name="suffix">
|
||||||
<string> l/m</string>
|
<string> ℓ/min</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimum">
|
<property name="minimum">
|
||||||
<number>5</number>
|
<number>5</number>
|
||||||
|
@ -2232,7 +2232,7 @@
|
||||||
<item row="11" column="4">
|
<item row="11" column="4">
|
||||||
<widget class="QSpinBox" name="bottomGasConsumption_3">
|
<widget class="QSpinBox" name="bottomGasConsumption_3">
|
||||||
<property name="suffix">
|
<property name="suffix">
|
||||||
<string> l/m</string>
|
<string> ℓ/min</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimum">
|
<property name="minimum">
|
||||||
<number>5</number>
|
<number>5</number>
|
||||||
|
|
|
@ -196,7 +196,7 @@ void DiveLogExportDialog::on_buttonBox_accepted()
|
||||||
// the non XSLT exports are called directly above, the XSLT based ons are called here
|
// the non XSLT exports are called directly above, the XSLT based ons are called here
|
||||||
if (!stylesheet.isEmpty()) {
|
if (!stylesheet.isEmpty()) {
|
||||||
future = QtConcurrent::run(export_dives_xslt, filename.toUtf8(), ui->exportSelected->isChecked(), ui->CSVUnits_2->currentIndex(), stylesheet.toUtf8());
|
future = QtConcurrent::run(export_dives_xslt, filename.toUtf8(), ui->exportSelected->isChecked(), ui->CSVUnits_2->currentIndex(), stylesheet.toUtf8());
|
||||||
MainWindow::instance()->getNotificationWidget()->showNotification(tr("Please Wait, Exporting..."), KMessageWidget::Information);
|
MainWindow::instance()->getNotificationWidget()->showNotification(tr("Please wait, exporting..."), KMessageWidget::Information);
|
||||||
MainWindow::instance()->getNotificationWidget()->setFuture(future);
|
MainWindow::instance()->getNotificationWidget()->setFuture(future);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,7 +101,7 @@ DownloadFromDCWidget::DownloadFromDCWidget(QWidget *parent, Qt::WindowFlags f) :
|
||||||
ui.downloadCancelRetryButton->setText(tr("Download"));
|
ui.downloadCancelRetryButton->setText(tr("Download"));
|
||||||
|
|
||||||
#if defined(BT_SUPPORT)
|
#if defined(BT_SUPPORT)
|
||||||
ui.bluetoothMode->setText(tr("Choose Bluetooth Download mode"));
|
ui.bluetoothMode->setText(tr("Choose Bluetooth download mode"));
|
||||||
btDeviceSelectionDialog = 0;
|
btDeviceSelectionDialog = 0;
|
||||||
ui.chooseBluetoothDevice->setEnabled(ui.bluetoothMode->isChecked());
|
ui.chooseBluetoothDevice->setEnabled(ui.bluetoothMode->isChecked());
|
||||||
connect(ui.bluetoothMode, SIGNAL(stateChanged(int)), this, SLOT(enableBluetoothMode(int)));
|
connect(ui.bluetoothMode, SIGNAL(stateChanged(int)), this, SLOT(enableBluetoothMode(int)));
|
||||||
|
|
|
@ -119,7 +119,7 @@
|
||||||
<item row="11" column="0">
|
<item row="11" column="0">
|
||||||
<widget class="QCheckBox" name="bluetoothMode">
|
<widget class="QCheckBox" name="bluetoothMode">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Choose Bluetooth Download mode</string>
|
<string>Choose Bluetooth download mode</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
|
@ -1568,10 +1568,10 @@ void MainWindow::loadFiles(const QStringList fileNames)
|
||||||
if (min_datafile_version >0 && min_datafile_version < DATAFORMAT_VERSION) {
|
if (min_datafile_version >0 && min_datafile_version < DATAFORMAT_VERSION) {
|
||||||
QMessageBox::warning(this, tr("Opening datafile from older version"),
|
QMessageBox::warning(this, tr("Opening datafile from older version"),
|
||||||
tr("You opened a data file from an older version of Subsurface. We recommend "
|
tr("You opened a data file from an older version of Subsurface. We recommend "
|
||||||
"to read the manual to learn about the changes in the new version, especially "
|
"you read the manual to learn about the changes in the new version, especially "
|
||||||
"about dive site management which changed significantly.\n"
|
"about dive site management which has changed significantly.\n"
|
||||||
"Subsurface already tried to prepopulate the data but it might be worth "
|
"Subsurface has already tried to pre-populate the data but it might be worth "
|
||||||
"while to take a look at the new dive site management system and to make "
|
"while taking a look at the new dive site management system and to make "
|
||||||
"sure that everything looks correct."));
|
"sure that everything looks correct."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue