Improve CreatePartitionJob::prettyName
This commit is contained in:
parent
d374d8bad8
commit
a5fcb9bcb9
@ -17,7 +17,6 @@
|
||||
*/
|
||||
|
||||
#include <CreatePartitionJob.h>
|
||||
#include <PartitionInfo.h>
|
||||
|
||||
#include <utils/Logger.h>
|
||||
|
||||
@ -45,7 +44,10 @@ CreatePartitionJob::CreatePartitionJob( Device* device, Partition* partition )
|
||||
QString
|
||||
CreatePartitionJob::prettyName() const
|
||||
{
|
||||
return tr( "Create partition" ); // FIXME
|
||||
return tr( "Create partition (file system: %1, size: %2 MB) on %3." )
|
||||
.arg( m_partition->fileSystem().name() )
|
||||
.arg( m_partition->capacity() / 1024 / 1024 )
|
||||
.arg( m_device->name() );
|
||||
}
|
||||
|
||||
Calamares::JobResult
|
||||
|
@ -5,7 +5,6 @@ set( jobtests_SRCS
|
||||
${PartitionModule_SOURCE_DIR}/CreatePartitionJob.cpp
|
||||
${PartitionModule_SOURCE_DIR}/CreatePartitionTableJob.cpp
|
||||
${PartitionModule_SOURCE_DIR}/DeletePartitionJob.cpp
|
||||
${PartitionModule_SOURCE_DIR}/PartitionInfo.cpp
|
||||
${PartitionModule_SOURCE_DIR}/PartitionJob.cpp
|
||||
${PartitionModule_SOURCE_DIR}/PMUtils.cpp
|
||||
JobTests.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user