[PATCH 06/14] divelogexportdialog capitalisation consistency

Tim Wootton tim at tee-jay.demon.co.uk
Thu Jul 10 16:06:43 PDT 2014


Signed-off-by: Tim Wootton <tim at tee-jay.demon.co.uk>
---
 qt-ui/divelogexportdialog.cpp |  8 ++++----
 qt-ui/divelogexportdialog.ui  | 18 +++++++++---------
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/qt-ui/divelogexportdialog.cpp b/qt-ui/divelogexportdialog.cpp
index c230268..d7d7125 100644
--- a/qt-ui/divelogexportdialog.cpp
+++ b/qt-ui/divelogexportdialog.cpp
@@ -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());
diff --git a/qt-ui/divelogexportdialog.ui b/qt-ui/divelogexportdialog.ui
index 202a7b4..e7ba21d 100644
--- a/qt-ui/divelogexportdialog.ui
+++ b/qt-ui/divelogexportdialog.ui
@@ -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>
-- 
2.0.0



More information about the subsurface mailing list