mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
Add prettyStatusMessage to all partitioning jobs.
CAL-235 #comment Improved status messages for jobs while installing.
This commit is contained in:
parent
3855998fe5
commit
2a0ad54fd5
12 changed files with 65 additions and 1 deletions
|
@ -60,9 +60,20 @@ FormatPartitionJob::prettyDescription() const
|
|||
"file system <strong>%2</strong>." )
|
||||
.arg( m_partition->partitionPath() )
|
||||
.arg( m_partition->fileSystem().name() )
|
||||
.arg( m_partition->capacity() / 1024 / 1024 );
|
||||
.arg( m_partition->capacity() / 1024 / 1024 );
|
||||
}
|
||||
|
||||
|
||||
QString
|
||||
FormatPartitionJob::prettyStatusMessage() const
|
||||
{
|
||||
return tr( "Formatting partition %1 with "
|
||||
"file system %2." )
|
||||
.arg( m_partition->partitionPath() )
|
||||
.arg( m_partition->fileSystem().name() );
|
||||
}
|
||||
|
||||
|
||||
Calamares::JobResult
|
||||
FormatPartitionJob::exec()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue