diff options
-rw-r--r-- | qt-ui/updatemanager.cpp | 6 | ||||
-rw-r--r-- | qt-ui/usersurvey.cpp | 6 | ||||
-rw-r--r-- | translations/subsurface_source.ts | 12 |
3 files changed, 12 insertions, 12 deletions
diff --git a/qt-ui/updatemanager.cpp b/qt-ui/updatemanager.cpp index 75f454795..51292fcbd 100644 --- a/qt-ui/updatemanager.cpp +++ b/qt-ui/updatemanager.cpp @@ -33,13 +33,13 @@ void UpdateManager::requestReceived(QNetworkReply *reply) { QMessageBox msgbox; QString msgTitle = tr("Check for updates."); - QString msgText = tr("<h3>Subsurface was unable to check for updates.</h3>"); + QString msgText = "<h3>" + tr("Subsurface was unable to check for updates.") + "</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()); 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()); 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; } </message> <message> <location filename="../qt-ui/updatemanager.cpp" line="36"/> - <source><h3>Subsurface was unable to check for updates.</h3></source> + <source>Subsurface was unable to check for updates.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../qt-ui/updatemanager.cpp" line="41"/> - <source><br/><b>The following error occurred:</b><br/></source> + <source>The following error occurred:</source> <translation type="unfinished"></translation> </message> <message> <location filename="../qt-ui/updatemanager.cpp" line="42"/> - <source><br/><br/><b>Please check your internet connection.</b></source> + <source>Please check your internet connection.</source> <translation type="unfinished"></translation> </message> <message> @@ -3017,17 +3017,17 @@ Language: %1</source> </message> <message> <location filename="../qt-ui/usersurvey.cpp" line="96"/> - <source><h3>Subsurface was unable to submit the user survey.</h3></source> + <source>Subsurface was unable to submit the user survey.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../qt-ui/usersurvey.cpp" line="101"/> - <source><br/><b>The following error occurred:</b><br/></source> + <source>The following error occurred:</source> <translation type="unfinished"></translation> </message> <message> <location filename="../qt-ui/usersurvey.cpp" line="102"/> - <source><br/><br/><b>Please check your internet connection.</b></source> + <source>Please check your internet connection.</source> <translation type="unfinished"></translation> </message> <message> |