forked from qt-creator/qt-creator
Qbs: fix punctuation in messages
And capitalization of product name. Change-Id: Ia021a389dfd3e82a1b09a6e56ba721707013d64a Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
@@ -101,7 +101,7 @@ ProjectExplorer::Project *QbsManager::openProject(const QString &fileName, QStri
|
|||||||
{
|
{
|
||||||
if (!QFileInfo(fileName).isFile()) {
|
if (!QFileInfo(fileName).isFile()) {
|
||||||
if (errorString)
|
if (errorString)
|
||||||
*errorString = tr("Failed opening project '%1': Project is not a file")
|
*errorString = tr("Failed opening project '%1': Project is not a file.")
|
||||||
.arg(fileName);
|
.arg(fileName);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -173,7 +173,7 @@ void QbsManager::addQtProfileFromKit(const QString &profileName, const ProjectEx
|
|||||||
qtEnv.qtConfigItems = qt->qtConfigValues();
|
qtEnv.qtConfigItems = qt->qtConfigValues();
|
||||||
const qbs::ErrorInfo errorInfo = qbs::setupQtProfile(profileName, settings(), qtEnv);
|
const qbs::ErrorInfo errorInfo = qbs::setupQtProfile(profileName, settings(), qtEnv);
|
||||||
if (errorInfo.hasError()) {
|
if (errorInfo.hasError()) {
|
||||||
Core::MessageManager::write(tr("Failed to set up kit for qbs: %1")
|
Core::MessageManager::write(tr("Failed to set up kit for Qbs: %1")
|
||||||
.arg(errorInfo.toString()), Core::MessageManager::ModeSwitch);
|
.arg(errorInfo.toString()), Core::MessageManager::ModeSwitch);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user