Bug 364648 - Import/Export partition table does not work for non English locales
Summary: Import/Export partition table does not work for non English locales
Status: RESOLVED FIXED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: 2.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-22 22:14 UTC by Andrius Štikonas
Modified: 2017-09-14 13:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius Štikonas 2016-06-22 22:14:05 UTC
Import/Export partition table does not work for non English locales when "primary" or "extended" in PartitionRole, etc are translated.

Reproducible: Always

Steps to Reproduce:
1. Export partition table

Actual Results:  
It contains translated version of "primary"
Comment 1 Gabriel C 2017-09-11 17:20:50 UTC
Also this breaks some things in calamares installer see:

https://github.com/calamares/calamares/issues/797
Comment 2 Andrius Štikonas 2017-09-14 13:23:39 UTC
Git commit 5d65d83990b3dc1c4a093ae70ab1b85405a383c6 by Andrius Štikonas.
Committed on 14/09/2017 at 13:23.
Pushed by stikonas into branch 'master'.

Add functions to access untranslated name of file system.

M  +67   -0    src/fs/filesystem.cpp
M  +3    -0    src/fs/filesystem.h

https://commits.kde.org/kpmcore/5d65d83990b3dc1c4a093ae70ab1b85405a383c6
Comment 3 Andrius Štikonas 2017-09-14 13:47:29 UTC
Git commit f29534e7c78fcbbf657f52d509872fece032ac41 by Andrius Štikonas.
Committed on 14/09/2017 at 13:47.
Pushed by stikonas into branch 'master'.

Use untranslated file system name when exporting partition table.

M  +1    -1    src/core/partition.cpp
M  +14   -14   src/core/partitiontable.cpp

https://commits.kde.org/kpmcore/f29534e7c78fcbbf657f52d509872fece032ac41
Comment 4 Andrius Štikonas 2017-09-14 13:48:09 UTC
Git commit 4b4198c34a9f4880546242de330138cc11da8359 by Andrius Štikonas.
Committed on 14/09/2017 at 13:47.
Pushed by stikonas into branch 'master'.

Use untranslated file system name when importing partition table.

M  +3    -3    src/gui/editmountpointdialogwidget.cpp
M  +2    -2    src/gui/mainwindow.cpp

https://commits.kde.org/partitionmanager/4b4198c34a9f4880546242de330138cc11da8359