summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/componentchecker.cpp
diff options
context:
space:
mode:
authorNiels Weber <niels.weber@digia.com>2014-12-11 12:59:25 +0100
committerNiels Weber <niels.weber@theqtcompany.com>2014-12-11 16:10:11 +0100
commit95b7c257c3d5a735f4e587ab748dfe534d68ec9a (patch)
tree9951954b07b8303df841ea11d2880002a37aea81 /src/libs/installer/componentchecker.cpp
parent0ea8bad406ee8c79aaec39d999f528869142c057 (diff)
Do not translate output of checkComponent.
We verify the output in an autotest. Change-Id: I378a407d40d430994164a0ecccb05ad11a5046f4 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/componentchecker.cpp')
-rw-r--r--src/libs/installer/componentchecker.cpp49
1 files changed, 21 insertions, 28 deletions
diff --git a/src/libs/installer/componentchecker.cpp b/src/libs/installer/componentchecker.cpp
index 5f07c74fd..6b3e0160d 100644
--- a/src/libs/installer/componentchecker.cpp
+++ b/src/libs/installer/componentchecker.cpp
@@ -48,51 +48,44 @@ QStringList ComponentChecker::checkComponent(Component *component)
const bool defaultPropertyValue = component->variables().value(scDefault).compare(scTrue, Qt::CaseInsensitive) == 0;
if (!component->autoDependencies().isEmpty()) {
if (component->forcedInstallation()) {
- checkResult << tr("Component %1 specifies \"ForcedInstallation\" property "
- "together with \"AutoDependOn\" list. This combination of states "
- "may not work properly."
- ).arg(component->name());
+ checkResult << QString::fromLatin1("Component %1 specifies \"ForcedInstallation\" property "
+ "together with \"AutoDependOn\" list. This combination of states may not work properly.")
+ .arg(component->name());
}
if (defaultPropertyScriptValue) {
- checkResult << tr("Component %1 specifies script value for \"Default\" property "
- "together with \"AutoDependOn\" list. This combination of states "
- "may not work properly."
- ).arg(component->name());
+ checkResult << QString::fromLatin1("Component %1 specifies script value for \"Default\" "
+ "property together with \"AutoDependOn\" list. This combination of states may not "
+ "work properly.").arg(component->name());
}
if (defaultPropertyValue) {
- checkResult << tr("Component %1 specifies \"Default\" property "
- "together with \"AutoDependOn\" list. This combination of states "
- "may not work properly."
- ).arg(component->name());
+ checkResult << QString::fromLatin1("Component %1 specifies \"Default\" property together "
+ "with \"AutoDependOn\" list. This combination of states may not work properly.")
+ .arg(component->name());
}
}
if (component->packageManagerCore()->isInstaller()) {
if (component->isTristate()) {
if (defaultPropertyScriptValue) {
- checkResult << tr("Component %1 specifies script value for \"Default\" property "
- "while not being a leaf node. The \"Default\" property "
- "will get a \"false\" value."
- ).arg(component->name());
+ checkResult << QString::fromLatin1("Component %1 specifies script value for \"Default\" "
+ "property while not being a leaf node. The \"Default\" property will get a "
+ "\"false\" value.").arg(component->name());
}
if (defaultPropertyValue) {
- checkResult << tr("Component %1 specifies \"Default\" property "
- "while not being a leaf node. The \"Default\" property "
- "will get a \"false\" value."
- ).arg(component->name());
+ checkResult << QString::fromLatin1("Component %1 specifies \"Default\" property "
+ "while not being a leaf node. The \"Default\" property will get a \"false\" value.")
+ .arg(component->name());
}
}
if (!component->isCheckable()) {
if (defaultPropertyScriptValue) {
- checkResult << tr("Component %1 specifies script value for \"Default\" property "
- "while being not checkable. The \"Default\" property "
- "will get a \"false\" value."
- ).arg(component->name());
+ checkResult << QString::fromLatin1("Component %1 specifies script value for \"Default\" "
+ "property while being not checkable. The \"Default\" property will get a \"false\" "
+ "value.").arg(component->name());
}
if (defaultPropertyValue) {
- checkResult << tr("Component %1 specifies \"Default\" property "
- "while being not checkable. The \"Default\" property "
- "will get a \"false\" value."
- ).arg(component->name());
+ checkResult << QString::fromLatin1("Component %1 specifies \"Default\" property "
+ "while being not checkable. The \"Default\" property will get a \"false\" value.")
+ .arg(component->name());
}
}
}