Implements consistent capitalisation and minor tweaks to survey text

Makes capitalisation consistent
Replaces Tech diver with Technical diver
Adds title to survey dialog (was "dialog")

Signed-off-by: Tim Wootton <tim@tee-jay.demon.co.uk>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tim Wootton 2014-07-11 00:06:38 +01:00 committed by Dirk Hohndel
parent a99349814c
commit d2d6b7937e
2 changed files with 6 additions and 6 deletions

View file

@ -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>";

View file

@ -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">