summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2024-04-22 12:31:57 +0300
committerKatja Marttila <katja.marttila@qt.io>2024-04-22 12:56:52 +0300
commit1b4f3d630552411a88f8c2087dddf610f8fe676d (patch)
tree7065a356eaa64552a082e1fe157559f49df9f8f3
parentf9e3e9fa91eb004a6b744a212b515397def1c10f (diff)
Update CLI wording when component is not found
When trying to install or update component which is not found, a warning is dispayed. Changed the wording so that the texts fits both to update and install commands. Change-Id: I06c58624fc33586f64a2c63768690ab431e661e8 Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
-rw-r--r--src/libs/installer/packagemanagercore.cpp2
-rw-r--r--src/libs/installer/packagemanagercore_p.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/installer/packagemanagercore.cpp b/src/libs/installer/packagemanagercore.cpp
index f1dec9b8f..5c6f481f9 100644
--- a/src/libs/installer/packagemanagercore.cpp
+++ b/src/libs/installer/packagemanagercore.cpp
@@ -1701,7 +1701,7 @@ bool PackageManagerCore::fetchPackagesWithFallbackRepositories(const QStringList
return false;
qCDebug(QInstaller::lcInstallerInstallLog).noquote()
- << "Components not found for installation with the current selection."
+ << "Components not found with the current selection."
<< "Searching from additional repositories";
if (!ProductKeyCheck::instance()->securityWarning().isEmpty()) {
qCWarning(QInstaller::lcInstallerInstallLog) << ProductKeyCheck::instance()->securityWarning();
diff --git a/src/libs/installer/packagemanagercore_p.cpp b/src/libs/installer/packagemanagercore_p.cpp
index 858698a7a..10ca27d00 100644
--- a/src/libs/installer/packagemanagercore_p.cpp
+++ b/src/libs/installer/packagemanagercore_p.cpp
@@ -3157,7 +3157,7 @@ bool PackageManagerCorePrivate::installablePackagesFound(const QStringList& comp
);
if (aliasesNotFoundForInstall.count() > 0) {
- qCDebug(QInstaller::lcInstallerInstallLog).noquote().nospace() << "Cannot install " << aliasesNotFoundForInstall.join(QLatin1String(", ")) << ". Component(s) not found.";
+ qCDebug(QInstaller::lcInstallerInstallLog).noquote().nospace() << "Cannot select " << aliasesNotFoundForInstall.join(QLatin1String(", ")) << ". Component(s) not found.";
setStatus(PackageManagerCore::NoPackagesFound);
return false;
}