Extension system: Make message shorter by removing repeated text

Task-number: QTCREATORBUG-28334
Change-Id: I44f95e96d16390b355628d9b8f6bc2b5a79025c2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Leena Miettinen
2022-10-19 13:38:32 +02:00
parent 3754ce184d
commit 14938b3881

View File

@@ -155,7 +155,7 @@ bool OptionsParser::checkForScenarioOption()
if (!m_pmPrivate->m_requestedScenario.isEmpty()) { if (!m_pmPrivate->m_requestedScenario.isEmpty()) {
if (m_errorString) { if (m_errorString) {
*m_errorString = QCoreApplication::translate("PluginManager", *m_errorString = QCoreApplication::translate("PluginManager",
"Cannot request scenario \"%1\" as the scenario \"%1\" was already requested.") "Cannot request scenario \"%1\" as it was already requested.")
.arg(m_currentArg, m_pmPrivate->m_requestedScenario); .arg(m_currentArg, m_pmPrivate->m_requestedScenario);
} }
m_hasError = true; m_hasError = true;