[PATCH 01/14] Implements consistent capitalisation and minor tweaks to survey text
Tim Wootton
tim at tee-jay.demon.co.uk
Thu Jul 10 16:06:38 PDT 2014
Makes capitalisation consistent
Replaces Tech diver with Technical diver
Adds title to survey dialog (was "dialog")
Signed-off-by: Tim Wootton <tim at tee-jay.demon.co.uk>
---
qt-ui/usersurvey.cpp | 4 ++--
qt-ui/usersurvey.ui | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/qt-ui/usersurvey.cpp b/qt-ui/usersurvey.cpp
index e1153c4..b98f1d6 100644
--- a/qt-ui/usersurvey.cpp
+++ b/qt-ui/usersurvey.cpp
@@ -72,7 +72,7 @@ void UserSurvey::on_buttonBox_rejected()
QMessageBox response(this);
response.setText(tr("Should we ask you later?"));
response.addButton(tr("Don't ask me again"), QMessageBox::RejectRole);
- response.addButton(tr("Ask Later"), QMessageBox::AcceptRole);
+ response.addButton(tr("Ask later"), QMessageBox::AcceptRole);
response.setWindowTitle(tr("Ask again?")); // Not displayed on MacOSX as described in Qt API
response.setIcon(QMessageBox::Question);
response.setWindowModality(Qt::WindowModal);
@@ -92,7 +92,7 @@ void UserSurvey::on_buttonBox_rejected()
void UserSurvey::requestReceived(QNetworkReply *reply)
{
QMessageBox msgbox;
- QString msgTitle = tr("Submit User Survey.");
+ QString msgTitle = tr("Submit user survey.");
QString msgText = "<h3>" + tr("Subsurface was unable to submit the user survey.") + "</h3>";
diff --git a/qt-ui/usersurvey.ui b/qt-ui/usersurvey.ui
index 386dee5..8c209d1 100644
--- a/qt-ui/usersurvey.ui
+++ b/qt-ui/usersurvey.ui
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
- <string>Dialog</string>
+ <string>User Survey</string>
</property>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="geometry">
@@ -44,7 +44,7 @@
</font>
</property>
<property name="text">
- <string>Subsurface User Survey</string>
+ <string>Subsurface user survey</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
@@ -76,7 +76,7 @@
</rect>
</property>
<property name="text">
- <string>Recreational DIver</string>
+ <string>Recreational dIver</string>
</property>
</widget>
<widget class="QCheckBox" name="tech">
@@ -89,7 +89,7 @@
</rect>
</property>
<property name="text">
- <string>Tech Diver</string>
+ <string>Technical diver</string>
</property>
</widget>
<widget class="QCheckBox" name="planning">
--
2.0.0
More information about the subsurface
mailing list