summaryrefslogtreecommitdiffstats
path: root/qt-ui/usersurvey.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-09 10:26:43 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-09 10:34:51 -0700
commitd818dc1a84c382742a1f694503b8f856446313a6 (patch)
tree455a1471418f62689d110ddc2f1c14ad94c6a22d /qt-ui/usersurvey.cpp
parentdae02d5fd2b8972cf82ce3777e142da85adaa75e (diff)
downloadsubsurface-d818dc1a84c382742a1f694503b8f856446313a6.tar.gz
Remove HTML from translated strings
In some strings that won't be possible as the translation needs to be aware of line breaks, etc. But for these strings it seems like the right thing to do. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/usersurvey.cpp')
-rw-r--r--qt-ui/usersurvey.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/usersurvey.cpp b/qt-ui/usersurvey.cpp
index 0a97fdb78..e1153c42f 100644
--- a/qt-ui/usersurvey.cpp
+++ b/qt-ui/usersurvey.cpp
@@ -93,13 +93,13 @@ void UserSurvey::requestReceived(QNetworkReply *reply)
{
QMessageBox msgbox;
QString msgTitle = tr("Submit User Survey.");
- QString msgText = tr("<h3>Subsurface was unable to submit the user survey.</h3>");
+ QString msgText = "<h3>" + tr("Subsurface was unable to submit the user survey.") + "</h3>";
if (reply->error() != QNetworkReply::NoError) {
//Network Error
- msgText = msgText + tr("<br/><b>The following error occurred:</b><br/>") + reply->errorString()
- + tr("<br/><br/><b>Please check your internet connection.</b>");
+ msgText = msgText + "<br/><b>" + tr("The following error occurred:") + "</b><br/>" + reply->errorString()
+ + "<br/><br/><b>" + tr("Please check your internet connection.") + "</b>";
} else {
//No network error
QString response(reply->readAll());