mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
divelogexportdialog capitalisation consistency
Signed-off-by: Tim Wootton <tim@tee-jay.demon.co.uk> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5c5168cf17
commit
8e7b7fafda
2 changed files with 13 additions and 13 deletions
|
@ -59,7 +59,7 @@ void DiveLogExportDialog::showExplanation()
|
|||
} else if (ui->exportCSV->isChecked()) {
|
||||
ui->description->setText("Comma separated values that include the most relevant information of the dive profile.");
|
||||
} else if (ui->exportDivelogs->isChecked()) {
|
||||
ui->description->setText("Send the dive data to Divelogs.de website.");
|
||||
ui->description->setText("Send the dive data to divelogs.de website.");
|
||||
} else if (ui->exportWorldMap->isChecked()) {
|
||||
ui->description->setText("HTML export of the dive locations, visualized on a world map.");
|
||||
} else if (ui->exportSubsurfaceXML->isChecked()) {
|
||||
|
@ -150,16 +150,16 @@ void DiveLogExportDialog::on_buttonBox_accepted()
|
|||
case 0:
|
||||
if (ui->exportUDDF->isChecked()) {
|
||||
stylesheet = "uddf-export.xslt";
|
||||
filename = QFileDialog::getSaveFileName(this, tr("Export UDDF File as"), lastDir,
|
||||
filename = QFileDialog::getSaveFileName(this, tr("Export UDDF file as"), lastDir,
|
||||
tr("UDDF files (*.uddf *.UDDF)"));
|
||||
} else if (ui->exportCSV->isChecked()) {
|
||||
stylesheet = "xml2csv.xslt";
|
||||
filename = QFileDialog::getSaveFileName(this, tr("Export CSV File as"), lastDir,
|
||||
filename = QFileDialog::getSaveFileName(this, tr("Export CSV file as"), lastDir,
|
||||
tr("CSV files (*.csv *.CSV)"));
|
||||
} else if (ui->exportDivelogs->isChecked()) {
|
||||
DivelogsDeWebServices::instance()->prepareDivesForUpload(ui->exportSelected->isChecked());
|
||||
} else if (ui->exportWorldMap->isChecked()) {
|
||||
filename = QFileDialog::getSaveFileName(this, tr("Export World Map"), lastDir,
|
||||
filename = QFileDialog::getSaveFileName(this, tr("Export world map"), lastDir,
|
||||
tr("HTML files (*.html)"));
|
||||
if (!filename.isNull() && !filename.isEmpty())
|
||||
export_worldmap_HTML(filename.toUtf8().data(), ui->exportSelected->isChecked());
|
||||
|
|
|
@ -11,17 +11,17 @@
|
|||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Export Dive Log Files</string>
|
||||
<string>Export dive log files</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>1</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="General_tab">
|
||||
<attribute name="title">
|
||||
<string>General Export</string>
|
||||
<string>General export</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_2">
|
||||
<item row="0" column="0">
|
||||
|
@ -181,13 +181,13 @@
|
|||
<item>
|
||||
<widget class="QGroupBox" name="GeneralOptions">
|
||||
<property name="title">
|
||||
<string>General Settings</string>
|
||||
<string>General settings</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
<item row="0" column="0">
|
||||
<widget class="QCheckBox" name="exportSubsurfaceNumber">
|
||||
<property name="text">
|
||||
<string>Subsurface Numbers</string>
|
||||
<string>Subsurface numbers</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -200,7 +200,7 @@
|
|||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Selected Dives</string>
|
||||
<string>Selected dives</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
|
@ -226,7 +226,7 @@
|
|||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>All Dives</string>
|
||||
<string>All dives</string>
|
||||
</property>
|
||||
<attribute name="buttonGroup">
|
||||
<string notr="true">buttonGroup</string>
|
||||
|
@ -236,7 +236,7 @@
|
|||
<item row="2" column="0">
|
||||
<widget class="QCheckBox" name="exportListOnly">
|
||||
<property name="text">
|
||||
<string>Export List only</string>
|
||||
<string>Export list only</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -249,7 +249,7 @@
|
|||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Style Options</string>
|
||||
<string>Style options</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
|
|
Loading…
Reference in a new issue