String improvements

Change-Id: I45778c9562ba530a36ddaf201f0c61d380d701cf
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
This commit is contained in:
Robert Loehning
2015-01-05 14:21:59 +01:00
parent 0d9fa1c714
commit 18aa49e7c2
11 changed files with 12 additions and 12 deletions

View File

@@ -153,7 +153,7 @@ static JsonWizardFactory::Page parsePage(const QVariant &value, QString *errorMe
JsonWizardFactory::Page p;
if (value.type() != QVariant::Map) {
*errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizardFactory", "Page is not a object.");
*errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizardFactory", "Page is not an object.");
return p;
}
@@ -612,7 +612,7 @@ bool JsonWizardFactory::initialize(const QVariantMap &data, const QDir &baseDir,
m_options.insert(key, value);
}
} else if (optionValue.isValid()) {
*errorMessage = tr("Value for \"options\" is not a list");
*errorMessage = tr("Value for \"options\" is not a list.");
return false;
}