Subject: localisation of machine parseable output

From: Christian Häggström<[email-masked]>
Date: Thu, 17 Aug 2017 14:52:59 +0200

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-masked]
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-masked]>
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-masked]
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-masked]>
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