forked from qt-creator/qt-creator
Python: Tr fixes
Add missing colons, quotes and full stops, and don't use book style capitalization for labels. Change-Id: If338922c7221eac498612ad5a152f24cd921e884 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -92,8 +92,9 @@ void PipInstallTask::handleDone()
|
||||
m_future.reportFinished();
|
||||
const bool success = m_process.result() == ProcessResult::FinishedWithSuccess;
|
||||
if (!success) {
|
||||
Core::MessageManager::writeFlashing(Tr::tr("Installing %1 failed with exit code %2")
|
||||
.arg(packagesDisplayName()).arg(m_process.exitCode()));
|
||||
Core::MessageManager::writeFlashing(Tr::tr("Installing \"%1\" failed with exit code %2.")
|
||||
.arg(packagesDisplayName())
|
||||
.arg(m_process.exitCode()));
|
||||
}
|
||||
emit finished(success);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user