mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
dae02d5fd2
commit
d818dc1a84
3 changed files with 12 additions and 12 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue