aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-07-31 14:31:51 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2014-07-31 15:02:12 +0200
commit2231d4966430caa4e1c0d56f0b2c6cd2533e7ba4 (patch)
tree1f15f1dfdab405294de5f5ceb8d2507cf71daabd /src/lib/corelib/buildgraph
parentc585823afd68fcee4e1bc61ba87adefd8c7395b1 (diff)
Avoid contractions in user-visible messages.
Change-Id: I68685166bfaa873f1e5995c7d507afef45b03055 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/corelib/buildgraph')
-rw-r--r--src/lib/corelib/buildgraph/projectbuilddata.cpp4
-rw-r--r--src/lib/corelib/buildgraph/rulesapplicator.cpp4
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()));
}