Commit 3c1e53c8 authored by Leena Miettinen's avatar Leena Miettinen Committed by Tobias Hunger
Browse files

JSON Wizards: fix message punctuation and wording



Change-Id: Ic144da9b9511dfd13960c2263be89dd06683e228
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 296e101d
......@@ -762,7 +762,7 @@ bool JsonFieldPage::ComboBoxField::parseData(const QVariant &data, QString *erro
m_itemDataList.clear();
m_itemList.clear();
*errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage",
"Internal Error: ComboBox items lists got confused.");
"Internal Error: ComboBox items lists got mixed up.");
return false;
}
......
......@@ -522,7 +522,7 @@ bool JsonWizardFactory::initialize(const QVariantMap &data, const QDir &baseDir,
if (strVal != QLatin1String("class")
&& strVal != QLatin1String("file")
&& strVal != QLatin1String("project")) {
*errorMessage = tr("\"kind\" value \"%1\" is not \"class\" (deprecated!), \"file\" or \"project\".").arg(strVal);
*errorMessage = tr("\"kind\" value \"%1\" is not \"class\" (deprecated), \"file\" or \"project\".").arg(strVal);
return false;
}
IWizardFactory::WizardKind kind = IWizardFactory::ProjectWizard;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment