bug#28123: localisation of machine parseable output

Christian Häggström <[email protected]>
Newsgroups gmane.comp.gnu.parted.bugs
Message-ID <[email protected]>
There is a bug in the swedish tranlation of machine parseable output.

Compare the following outputs:

$ LANG=C sudo parted -sm /dev/sdb print
BYT;
/dev/sdb:240GB:scsi:512:512:gpt:ASMT 2115:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:232GB:231GB:ext4::;
3:232GB:240GB:8489MB:linux-swap(v1)::;
$

$ LANG=sv_SE.UTF-8 sudo parted -sm /dev/sdb print
BYT;
/dev/sdb:240GB:scsi:512:512:gpt:ASMT 2115:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:startbar, esp;
2:538MB:232GB:231GB:ext4:Project-Id-Version: parted 2.2
Report-Msgid-Bugs-To: [email protected]
POT-Creation-Date: 2014-07-28 23:04-0400
PO-Revision-Date: 2016-03-28 08:43+0000
Last-Translator: Josef Andersson <Unknown>
Language-Team: Swedish <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Launchpad-Export-Date: 2016-06-27 17:04+0000
X-Generator: Launchpad (build 18115)
Language: sv
:;
3:232GB:240GB:8489MB:linux-swap(v1):Project-Id-Version: parted 2.2
Report-Msgid-Bugs-To: [email protected]
POT-Creation-Date: 2014-07-28 23:04-0400
PO-Revision-Date: 2016-03-28 08:43+0000
Last-Translator: Josef Andersson <Unknown>
Language-Team: Swedish <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Launchpad-Export-Date: 2016-06-27 17:04+0000
X-Generator: Launchpad (build 18115)
Language: sv
:;

$

I suggest that the machine parseable output is never translated.
Version: parted (GNU parted) 3.2

/ Christian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.