forked from qt-creator/qt-creator
QtSupport: Fix HTML - and don't translate it
Change-Id: I06fc0186af648047651ee5e69be9727cec69bd40 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -907,10 +907,11 @@ static bool validateQtInstallDir(FancyLineEdit *input, QString *errorString)
|
|||||||
[](const QString &dir) {
|
[](const QString &dir) {
|
||||||
return settingsFile(dir);
|
return settingsFile(dir);
|
||||||
});
|
});
|
||||||
*errorString = QtOptionsPageWidget::tr(
|
*errorString = "<html><body>" + QtOptionsPageWidget::tr(
|
||||||
"<html><body>Qt installation information was not found in \"%1\". "
|
"Qt installation information was not found in \"%1\". "
|
||||||
"Choose a directory that contains one of the files <pre>%2</pre>")
|
"Choose a directory that contains one of the files %2")
|
||||||
.arg(qtDir, filesToCheck.join('\n'));
|
.arg(qtDir, "<pre>" + filesToCheck.join('\n') + "</pre>")
|
||||||
|
+ "</body></html>";
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user