mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
Fix default new partition text.
This commit is contained in:
parent
9c90a2a500
commit
04ab71bad9
1 changed files with 3 additions and 1 deletions
|
@ -199,8 +199,10 @@ PartitionLabelsView::buildTexts( const QModelIndex& index ) const
|
|||
firstLine = tr( "EFI system" );
|
||||
else if ( index.data( PartitionModel::FileSystemTypeRole ).toInt() == FileSystem::LinuxSwap )
|
||||
firstLine = tr( "Swap" );
|
||||
else
|
||||
else if ( !mountPoint.isEmpty() )
|
||||
firstLine = tr( "New partition for %1" ).arg( mountPoint );
|
||||
else
|
||||
firstLine = tr( "New partition" );
|
||||
}
|
||||
else if ( index.data( PartitionModel::OsproberNameRole ).toString().isEmpty() )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue