diff --git a/src/modules/partition/gui/PartitionLabelsView.cpp b/src/modules/partition/gui/PartitionLabelsView.cpp index bee5c75b2..23e1ca17c 100644 --- a/src/modules/partition/gui/PartitionLabelsView.cpp +++ b/src/modules/partition/gui/PartitionLabelsView.cpp @@ -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() ) {