mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
Add prettyDescription to most Partitioning jobs.
This commit is contained in:
parent
bf0296e155
commit
8568c2c816
10 changed files with 66 additions and 7 deletions
|
@ -1,6 +1,7 @@
|
|||
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
||||
*
|
||||
* Copyright 2014, Aurélien Gâteau <agateau@kde.org>
|
||||
* Copyright 2015, Teo Mrnjavac <teo@kde.org>
|
||||
*
|
||||
* Calamares is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -48,7 +49,17 @@ FormatPartitionJob::prettyName() const
|
|||
.arg( m_partition->partitionPath() )
|
||||
.arg( m_partition->fileSystem().name() )
|
||||
.arg( m_partition->capacity() / 1024 / 1024 )
|
||||
.arg( m_device->name() );
|
||||
.arg( m_device->name() );
|
||||
}
|
||||
|
||||
|
||||
QString
|
||||
FormatPartitionJob::prettyDescription() const
|
||||
{
|
||||
return tr( "Format <b>%3MB</b> partition <b>%1</b> with file system <b>%2</b>." )
|
||||
.arg( m_partition->partitionPath() )
|
||||
.arg( m_partition->fileSystem().name() )
|
||||
.arg( m_partition->capacity() / 1024 / 1024 );
|
||||
}
|
||||
|
||||
Calamares::JobResult
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue