[partition] Use untranslated name of filesystem

- Patch from Gabriel Craciunescu
This commit is contained in:
Adriaan de Groot 2020-02-13 09:24:12 +01:00
parent ffeed05a5d
commit c055e1da49
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ website will have to do for older versions.
This release contains contributions from (alphabetically by first name):
- Anke Boersma
- Camilo Higuita
- Gabriel Craciunescu
## Core ##
- *Assamese* translation has been completed.

View File

@ -89,7 +89,7 @@ mapForPartition( Partition* partition, const QString& uuid )
map[ "fs" ] = partition->fileSystem().name( { QStringLiteral("C") } ); // Untranslated
if ( partition->fileSystem().type() == FileSystem::Luks &&
dynamic_cast< FS::luks& >( partition->fileSystem() ).innerFS() )
map[ "fs" ] = dynamic_cast< FS::luks& >( partition->fileSystem() ).innerFS()->name();
map[ "fs" ] = dynamic_cast< FS::luks& >( partition->fileSystem() ).innerFS()->name( { QStringLiteral("C") } );
map[ "uuid" ] = uuid;
// Debugging for inside the loop in createPartitionList(),