diff options
Diffstat (limited to 'src/libs/installer/componentchecker.cpp')
-rw-r--r-- | src/libs/installer/componentchecker.cpp | 49 |
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()); } } } |