Fix labeling.
This commit is contained in:
parent
601d67988d
commit
c0d06c3169
@ -194,7 +194,7 @@ ResizePartitionJob::prettyDescription() const
|
|||||||
return tr( "Resize <strong>%2MB</strong> partition <strong>%1</strong> to "
|
return tr( "Resize <strong>%2MB</strong> partition <strong>%1</strong> to "
|
||||||
"<strong>%3MB</strong>." )
|
"<strong>%3MB</strong>." )
|
||||||
.arg( partition()->partitionPath() )
|
.arg( partition()->partitionPath() )
|
||||||
.arg( partition()->capacity() / 1024 / 1024 )
|
.arg( ( m_oldLastSector - m_oldFirstSector ) * partition()->sectorSize() / 1024 / 1024 )
|
||||||
.arg( ( m_newLastSector - m_newFirstSector + 1 ) * partition()->sectorSize() / 1024 / 1024 );
|
.arg( ( m_newLastSector - m_newFirstSector + 1 ) * partition()->sectorSize() / 1024 / 1024 );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -205,7 +205,7 @@ ResizePartitionJob::prettyStatusMessage() const
|
|||||||
return tr( "Resizing %2MB partition %1 to "
|
return tr( "Resizing %2MB partition %1 to "
|
||||||
"%3MB." )
|
"%3MB." )
|
||||||
.arg( partition()->partitionPath() )
|
.arg( partition()->partitionPath() )
|
||||||
.arg( partition()->capacity() / 1024 / 1024 )
|
.arg( ( m_oldLastSector - m_oldFirstSector ) * partition()->sectorSize() / 1024 / 1024 )
|
||||||
.arg( ( m_newLastSector - m_newFirstSector + 1 ) * partition()->sectorSize() / 1024 / 1024 );
|
.arg( ( m_newLastSector - m_newFirstSector + 1 ) * partition()->sectorSize() / 1024 / 1024 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user