From 3140990dbc907ae386db8916823532c9cc8888b6 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Fri, 10 Apr 2015 13:00:12 +0200 Subject: [PATCH] Better Summary message for CreatePartitionJob --- src/modules/partition/jobs/CreatePartitionJob.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/modules/partition/jobs/CreatePartitionJob.cpp b/src/modules/partition/jobs/CreatePartitionJob.cpp index 517d238f9..a5e2ee40a 100644 --- a/src/modules/partition/jobs/CreatePartitionJob.cpp +++ b/src/modules/partition/jobs/CreatePartitionJob.cpp @@ -45,20 +45,23 @@ CreatePartitionJob::CreatePartitionJob( Device* device, Partition* partition ) QString CreatePartitionJob::prettyName() const { - return tr( "Create new %2MB partition on %3 with file system %1." ) + return tr( "Create new %2MB partition on %4 (%3) with file system %1." ) .arg( m_partition->fileSystem().name() ) .arg( m_partition->capacity() / 1024 / 1024 ) - .arg( m_device->name() ); + .arg( m_device->name() ) + .arg( m_device->deviceNode() ); } QString CreatePartitionJob::prettyDescription() const { - return tr( "Create new %2MB partition on %3 with file system %1." ) - .arg( m_partition->fileSystem().name() ) - .arg( m_partition->capacity() / 1024 / 1024 ) - .arg( m_device->name() ); + return tr( "Create new %2MB partition on %4 " + "(%3) with file system %1." ) + .arg( m_partition->fileSystem().name() ) + .arg( m_partition->capacity() / 1024 / 1024 ) + .arg( m_device->name() ) + .arg( m_device->deviceNode() ); } Calamares::JobResult