" + tr("Subsurface was unable to submit the user survey.") + "
";
if (reply->error() != QNetworkReply::NoError) {
//Network Error
- msgText = msgText + tr(" The following error occurred: ") + reply->errorString()
- + tr("
Please check your internet connection.");
+ msgText = msgText + " " + tr("The following error occurred:") + " " + reply->errorString()
+ + "
" + tr("Please check your internet connection.") + "";
} else {
//No network error
QString response(reply->readAll());
diff --git a/translations/subsurface_source.ts b/translations/subsurface_source.ts
index 6bd96ab7d..623a1c659 100644
--- a/translations/subsurface_source.ts
+++ b/translations/subsurface_source.ts
@@ -2856,17 +2856,17 @@ p, li { white-space: pre-wrap; }
- <h3>Subsurface was unable to check for updates.</h3>
+ Subsurface was unable to check for updates.
- <br/><b>The following error occurred:</b><br/>
+ The following error occurred:
- <br/><br/><b>Please check your internet connection.</b>
+ Please check your internet connection.
@@ -3017,17 +3017,17 @@ Language: %1
- <h3>Subsurface was unable to submit the user survey.</h3>
+ Subsurface was unable to submit the user survey.
- <br/><b>The following error occurred:</b><br/>
+ The following error occurred:
- <br/><br/><b>Please check your internet connection.</b>
+ Please check your internet connection.