forked from qt-creator/qt-creator
UI text: Add dots to ends of messages
Use consistent wording for things that failed. Change-Id: If8593077352b48418ca739d6933beef588057ac1 Reviewed-by: Sivert Krøvel <sivert.krovel@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -527,14 +527,14 @@ bool PresetsParser::parse(const Utils::FilePath &jsonFile, QString &errorMessage
|
||||
if (!parseBuildPresets(root.value("buildPresets"),
|
||||
m_presetsData.buildPresets,
|
||||
jsonFile.parentDir())) {
|
||||
errorMessage = ::CMakeProjectManager::Tr::tr("Invalid \"buildPresets\" section in %1 file")
|
||||
errorMessage = ::CMakeProjectManager::Tr::tr("Invalid \"buildPresets\" section in %1 file.")
|
||||
.arg(jsonFile.fileName());
|
||||
return false;
|
||||
}
|
||||
|
||||
// optional
|
||||
if (!parseVendor(root.value("vendor"), m_presetsData.vendor)) {
|
||||
errorMessage = ::CMakeProjectManager::Tr::tr("Invalid \"vendor\" section in %1 file")
|
||||
errorMessage = ::CMakeProjectManager::Tr::tr("Invalid \"vendor\" section in %1 file.")
|
||||
.arg(jsonFile.fileName());
|
||||
}
|
||||
|
||||
|
@@ -67,12 +67,12 @@ DeployMcuProcessStep::DeployMcuProcessStep(ProjectExplorer::BuildStepList *bc, I
|
||||
, m_tmpDir()
|
||||
{
|
||||
if (!buildSystem()) {
|
||||
showError(QmlProjectManager::Tr::tr("Failed to find valid build system"));
|
||||
showError(QmlProjectManager::Tr::tr("Cannot find a valid build system."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (!m_tmpDir.isValid()) {
|
||||
showError(QmlProjectManager::Tr::tr("Failed to create valid build directory"));
|
||||
showError(QmlProjectManager::Tr::tr("Cannot create a valid build directory."));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -193,7 +193,7 @@ void MCUBuildStepFactory::updateDeployStep(ProjectExplorer::Target *target, bool
|
||||
stepList->appendStep(DeployMcuProcessStep::id);
|
||||
} else {
|
||||
DeployMcuProcessStep::showError(
|
||||
QmlProjectManager::Tr::tr("Failed to find valid Qt for MCUs kit"));
|
||||
QmlProjectManager::Tr::tr("Cannot find a valid Qt for MCUs kit."));
|
||||
}
|
||||
} else {
|
||||
if (!step)
|
||||
|
@@ -320,7 +320,7 @@ void McuSupportOptionsWidget::apply()
|
||||
|
||||
QMessageBox warningPopup(QMessageBox::Icon::Warning,
|
||||
Tr::tr("Warning"),
|
||||
Tr::tr("Unable to apply changes in Devices > MCU."),
|
||||
Tr::tr("Cannot apply changes in Devices > MCU."),
|
||||
QMessageBox::Ok,
|
||||
this);
|
||||
|
||||
|
Reference in New Issue
Block a user