From c56235df37beac7dbd1afcbdca3226fde63f0f19 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Fri, 10 Apr 2015 13:03:31 +0200 Subject: [PATCH] Better Summary message for CreatePartitionTableJob. --- .../partition/jobs/CreatePartitionTableJob.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/modules/partition/jobs/CreatePartitionTableJob.cpp b/src/modules/partition/jobs/CreatePartitionTableJob.cpp index ba0ac8a62..37b8f8338 100644 --- a/src/modules/partition/jobs/CreatePartitionTableJob.cpp +++ b/src/modules/partition/jobs/CreatePartitionTableJob.cpp @@ -46,14 +46,17 @@ CreatePartitionTableJob::CreatePartitionTableJob( Device* device, PartitionTable QString CreatePartitionTableJob::prettyName() const { - return tr( "Create partition table" ); + return tr( "Create new %1 partition table on %2." ) + .arg( PartitionTable::tableTypeToName( m_type ) ) + .arg( m_device->deviceNode() ); } QString CreatePartitionTableJob::prettyDescription() const { - return tr( "Create new %1 partition table on %2." ) - .arg( PartitionTable::tableTypeToName( m_type ) ) - .arg( m_device->deviceNode() ); + return tr( "Create new %1 partition table on %2 (%3)." ) + .arg( PartitionTable::tableTypeToName( m_type ).toUpper() ) + .arg( m_device->deviceNode() ) + .arg( m_device->name() ); } Calamares::JobResult