diff options
Diffstat (limited to 'src/lib/corelib/buildgraph')
-rw-r--r-- | src/lib/corelib/buildgraph/projectbuilddata.cpp | 4 | ||||
-rw-r--r-- | src/lib/corelib/buildgraph/rulesapplicator.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/corelib/buildgraph/projectbuilddata.cpp b/src/lib/corelib/buildgraph/projectbuilddata.cpp index 6af68caa3..3f8634b51 100644 --- a/src/lib/corelib/buildgraph/projectbuilddata.cpp +++ b/src/lib/corelib/buildgraph/projectbuilddata.cpp @@ -511,7 +511,7 @@ void BuildDataResolver::resolveProductBuildData(const ResolvedProductPtr &produc foreach (const QString &inputFileName, rtrafo->inputs) { Artifact *artifact = lookupArtifact(product, inputFileName); if (Q_UNLIKELY(!artifact)) - throw ErrorInfo(Tr::tr("Can't find artifact '%0' in the list of source files.") + throw ErrorInfo(Tr::tr("Cannot find artifact '%0' in the list of source files.") .arg(inputFileName)); inputArtifacts += artifact; } @@ -553,7 +553,7 @@ void BuildDataResolver::resolveProductBuildData(const ResolvedProductPtr &produc ScriptEngine::argumentList(transformer->rule->prepareScript->argumentNames, prepareScriptContext)); if (Q_UNLIKELY(transformer->commands.isEmpty())) - throw ErrorInfo(Tr::tr("There's a transformer without commands."), + throw ErrorInfo(Tr::tr("There is a transformer without commands."), rtrafo->transform->location); } diff --git a/src/lib/corelib/buildgraph/rulesapplicator.cpp b/src/lib/corelib/buildgraph/rulesapplicator.cpp index 8151cdc52..4986a517b 100644 --- a/src/lib/corelib/buildgraph/rulesapplicator.cpp +++ b/src/lib/corelib/buildgraph/rulesapplicator.cpp @@ -236,7 +236,7 @@ void RulesApplicator::doApply(const ArtifactSet &inputArtifacts, QScriptValue &p m_transformer->createCommands(m_rule->prepareScript, evalContext(), ScriptEngine::argumentList(m_rule->prepareScript->argumentNames, prepareScriptContext)); if (Q_UNLIKELY(m_transformer->commands.isEmpty())) - throw ErrorInfo(Tr::tr("There's a rule without commands: %1.") + throw ErrorInfo(Tr::tr("There is a rule without commands: %1.") .arg(m_rule->toString()), m_rule->prepareScript->location); } @@ -438,7 +438,7 @@ public: const QStringList &nameParts = nvp.first; const QVariant &value = nvp.second; if (!artifactModulesCfg.contains(nameParts.first())) { - throw ErrorInfo(Tr::tr("Can't set module property %1 on artifact %2.") + throw ErrorInfo(Tr::tr("Cannot set module property %1 on artifact %2.") .arg(nameParts.join(QLatin1String(".")), outputArtifact->filePath())); } |