GNU bug report logs - #28123
localisation of machine parseable output

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: parted; Reported by: Christian Häggström <christian.haggstrom@HIDDEN>; dated Thu, 17 Aug 2017 15:14:02 UTC; Maintainer for parted is bug-parted@HIDDEN.

Message received at 28123 <at> debbugs.gnu.org:


Received: (at 28123) by debbugs.gnu.org; 12 Sep 2017 17:18:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 12 13:18:29 2017
Received: from localhost ([127.0.0.1]:36240 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dropR-00066b-NV
	for submit <at> debbugs.gnu.org; Tue, 12 Sep 2017 13:18:29 -0400
Received: from mx1.redhat.com ([209.132.183.28]:37402)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bcl@HIDDEN>) id 1dropQ-00066L-4W
 for 28123 <at> debbugs.gnu.org; Tue, 12 Sep 2017 13:18:28 -0400
Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com
 [10.5.11.15])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.redhat.com (Postfix) with ESMTPS id ADDE4C0587DD;
 Tue, 12 Sep 2017 17:18:20 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com ADDE4C0587DD
Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com;
 dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com;
 spf=fail smtp.mailfrom=bcl@HIDDEN
Received: from lister.brianlane.com (ovpn-112-32.phx2.redhat.com [10.3.112.32])
 by smtp.corp.redhat.com (Postfix) with ESMTPS id 4F95C5D6A6;
 Tue, 12 Sep 2017 17:18:18 +0000 (UTC)
Date: Tue, 12 Sep 2017 10:18:16 -0700
From: "Brian C. Lane" <bcl@HIDDEN>
To: Christian =?iso-8859-1?B?SORnZ3N0cvZt?= <christian.haggstrom@HIDDEN>
Subject: Re: bug#28123: localisation of machine parseable output
Message-ID: <20170912171816.GS27555@HIDDEN>
References: <31952a92-3fab-80c2-a875-3578fbfaec94@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <31952a92-3fab-80c2-a875-3578fbfaec94@HIDDEN>
User-Agent: Mutt/1.8.3 (2017-05-23)
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
 (mx1.redhat.com [10.5.110.32]); Tue, 12 Sep 2017 17:18:20 +0000 (UTC)
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 28123
Cc: 28123 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

On Thu, Aug 17, 2017 at 02:52:59PM +0200, Christian Hggstrm wrote:
> There is a bug in the swedish tranlation of machine parseable output.
> 
> 
> I suggest that the machine parseable output is never translated.
> Version: parted (GNU parted) 3.2
> 

None of it should be, the flags are all tagged with N_ for example. This
seems to be some kind of problem with an empty string. Certainly a bug.

-- 
Brian C. Lane (PST8PDT)




Information forwarded to bug-parted@HIDDEN:
bug#28123; Package parted. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Aug 2017 15:14:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 17 11:14:00 2017
Received: from localhost ([127.0.0.1]:42955 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1diMUi-0000Up-7L
	for submit <at> debbugs.gnu.org; Thu, 17 Aug 2017 11:14:00 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47507)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <christian.haggstrom@HIDDEN>)
 id 1diKId-00059i-UD
 for submit <at> debbugs.gnu.org; Thu, 17 Aug 2017 08:53:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <christian.haggstrom@HIDDEN>)
 id 1diKIX-0005ys-R8
 for submit <at> debbugs.gnu.org; Thu, 17 Aug 2017 08:53:18 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,T_DKIM_INVALID,
 URIBL_SBL autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:51594)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <christian.haggstrom@HIDDEN>)
 id 1diKIX-0005ym-NK
 for submit <at> debbugs.gnu.org; Thu, 17 Aug 2017 08:53:17 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38478)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <christian.haggstrom@HIDDEN>)
 id 1diKIW-0003Fc-F6
 for bug-parted@HIDDEN; Thu, 17 Aug 2017 08:53:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <christian.haggstrom@HIDDEN>)
 id 1diKIT-0005xu-Bi
 for bug-parted@HIDDEN; Thu, 17 Aug 2017 08:53:16 -0400
Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:35879)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <christian.haggstrom@HIDDEN>)
 id 1diKIT-0005wI-3I
 for bug-parted@HIDDEN; Thu, 17 Aug 2017 08:53:13 -0400
Received: by mail-lf0-x236.google.com with SMTP id o85so29170671lff.3
 for <bug-parted@HIDDEN>; Thu, 17 Aug 2017 05:53:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=orexplore-com.20150623.gappssmtp.com; s=20150623;
 h=to:from:subject:message-id:date:user-agent:mime-version
 :content-language:content-transfer-encoding;
 bh=S6Wirf8bJWJ84gYQqB85g79ZOuWgQTNvv24kTi0lozE=;
 b=U0WKNjqUwL7Ox74pD/GkSQ+hTmLrbMPdfXOHZRa+dhThKPBwvROLz1gQw+gWMw/aRw
 SngW3VcUAqBFTjQ46LjKXdY10gSPj1u6Q6+KkgyHDixD4qi/htjJI95/y093sUC0wsU3
 jPVa2A0JoAXNJYoneq8E6w++IYMwxkDy38PYKSI+wAYiWhB6L9agHBrNLjooNGpTlWbl
 hieNiLw9hyhL0UtfM9fSPVp1+ePkcOEBfsdcdnkvygNzMjSTvo76J1/6meXpYQkS6J8N
 XJjsIaJxIk46vp7BGdD0HEFB08JXj1JjTmPtNATPSLxNPW1RDR5b4eUnZn1wquJdjiEy
 MvPQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:subject:message-id:date:user-agent
 :mime-version:content-language:content-transfer-encoding;
 bh=S6Wirf8bJWJ84gYQqB85g79ZOuWgQTNvv24kTi0lozE=;
 b=O5zedUj8DXfYtSjsjtPvyLTqiq0IUjLojM8UWN3xzqeSql8rEMdqsRGfUvhRXscl0N
 pcz06Pd8TSllwxeql78tC3bIkrXXTXwcogrMztLeb4Bau9IcCr3x/WjTZlKKTiY3gmQz
 JMIAZM2fV8jciVIqIuxk94nErO3hpCILomkJ8C0Trxfc86cIJLanqaFG65mjz3K3LInp
 FMn6lVMFz5I/viCT0qJ8AKWW58gZTLZz5tWUSEPap3BmnRvKXgo6OBGgThySw2x9pL6Q
 F57i+3aTOOpGiLiqtQvMSjyPWEDjYICBfdK9R6wtnG8wb4g47C8DZEIEldSI7qOoqXyr
 Uy7Q==
X-Gm-Message-State: AHYfb5g/NceMF0KEmDXb0rcj4lJ5R1S+IPHKZTUwIJ267vMuijHY3kCM
 UJiY5UWNzsYMU4guy6Q=
X-Received: by 10.25.229.211 with SMTP id i80mr2417299lfk.146.1502974389264;
 Thu, 17 Aug 2017 05:53:09 -0700 (PDT)
Received: from [192.168.1.242] (h-184-226.A137.corp.bahnhof.se.
 [109.228.184.226])
 by smtp.googlemail.com with ESMTPSA id 68sm784087lfp.87.2017.08.17.05.53.08
 for <bug-parted@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 17 Aug 2017 05:53:08 -0700 (PDT)
To: bug-parted@HIDDEN
From: =?UTF-8?B?Q2hyaXN0aWFuIEjDpGdnc3Ryw7Zt?=
 <christian.haggstrom@HIDDEN>
Subject: localisation of machine parseable output
Message-ID: <31952a92-3fab-80c2-a875-3578fbfaec94@HIDDEN>
Date: Thu, 17 Aug 2017 14:52:59 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.1.1
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Language: sv-FI
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 17 Aug 2017 11:13:58 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

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: bug-parted@HIDDEN
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 <tp-sv@HIDDEN>
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: bug-parted@HIDDEN
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 <tp-sv@HIDDEN>
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




Acknowledgement sent to Christian Häggström <christian.haggstrom@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-parted@HIDDEN. Full text available.
Report forwarded to bug-parted@HIDDEN:
bug#28123; Package parted. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.