GNU bug report logs - #40393
Use ngettext to internationalize plural in guix/lint.scm

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: guix; Reported by: Arun Isaac <arunisaac@HIDDEN>; dated Thu, 2 Apr 2020 21:39:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 40393) by debbugs.gnu.org; 18 Mar 2026 12:52:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 18 08:52:08 2026
Received: from localhost ([127.0.0.1]:58603 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1w2qNb-0002eP-JF
	for submit <at> debbugs.gnu.org; Wed, 18 Mar 2026 08:52:07 -0400
Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:57552)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>)
 id 1w2qNW-0002ci-3u
 for 40393 <at> debbugs.gnu.org; Wed, 18 Mar 2026 08:52:03 -0400
Received: by mail-wm1-x32b.google.com with SMTP id
 5b1f17b1804b1-486b96760easo19903465e9.2
 for <40393 <at> debbugs.gnu.org>; Wed, 18 Mar 2026 05:52:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1773838321; x=1774443121; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=DZIJDnBBBKan8KRGEg72b1NyjnPn3QwyPhetvTTefoM=;
 b=jnBkZj4xr5DBRsB31bs98EcjL22VWTtZSioHiceuZdodsaLoBHDtLdw5PByQmo0OGP
 C8YzE8k3FajQ06Ex8lqs8GUg4OdqDvt3SGE4G4ALhhhlwp4MZeFFjXq2CLrPAEfcX1C2
 vcGjlbyNJHPWliweNMHb47YKQJ+Zg+3P1v9CwlPCmYfHFu6NwqKtjgBz+tJbJrAgmtnM
 qTNxpFcutEYfffIJsZ4JLvRD3fK6UsiifxK0H/k5PvxCFysojqtB6UDQOHhxWnan7FeF
 dunzAKquZmZgu30YHuJodER4D/aGp0AFrgJQXf9jxMzYBw6xKibVwzxCmaN1mSelHYZ7
 wW+g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20251104; t=1773838321; x=1774443121;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject
 :date:message-id:reply-to;
 bh=DZIJDnBBBKan8KRGEg72b1NyjnPn3QwyPhetvTTefoM=;
 b=SSlVAqyhPHQfs9schsuIJnO2dgjXfaYL/Wj54qFAXoheRTK1QDB24EKxcEb0+BC7Kh
 jwzbiJN/wwXIklm8SpohHXwYSk60N1kwcPbXdd52djS34QdBzZeuQOnb2ydVjWLy6g3t
 aRvqkyOx9h/HhDvS2UOqjthKrLhTtgHTrrTki0RlW2Hngomq4I2t4Ey6EaFaMXIc1VG8
 BNIXJcTwSoTDdKDRCIxv/2Zk+/z7oiNrtFMTPsmEMlkZ5ZsPGWzCkIUOFw2inoBMuDCV
 ugQpAireaTIHntOmoQpK5sXXu1ZhCGIwqqSVJ0qkfT60TWG7OEQYX54D2IX6KCQQ4znb
 g6ow==
X-Gm-Message-State: AOJu0YwoX5JDl/EmXbtP9FfsMg9WtSzQaTd/90Pw3vIc4IfnLQh5OmkL
 YAGrDQkSDUrR7WwAwRxYVydQjEK0RRnw8BAOEYc/8xaMeJEioTerAXJ0TrU5Vw==
X-Gm-Gg: ATEYQzy6h86cK2zf0i8gywKGZr3AiB/V7jtwaSLJvH1qbKtqH1s3CQPa+IY6kgve4Ku
 tVOxmp3+53jYZtroDW+F2hASkbBsz2ng1CB4BHcjLucaDmA2gYy/5vsQmWZ8Wmj6wWpzi8EBLDf
 MQtkyCmdMr529PR/NOO0amRr7wd5rUq25lwIC4274NDIHd0+Q/vI+4LXrbdB4644ddwYp0xPdJh
 lvsY+eqIn91M1n0oN6RFBGoDJov5KQZIap4nj6wfsuAJTru/IEvDS5wkacqh7u+404SUlZqL7Hi
 TZCHeAmGCuAnaB+22mqbjwhY2ZR68gwGz2TD2JvsphjU3RkFH1VytmoBUCJpuaPmNljFwrPnmDK
 YDuZVDlo/dGmyp/f37ZXFoo4OBEZ4cnQj1PJ71v4kr0U8B6PQZkebB25Btbfoerrkhq2lF4+CNM
 L3R2o2Ix4DtW+Oo2zSUrsP
X-Received: by 2002:a05:600c:c493:b0:485:3e19:9e01 with SMTP id
 5b1f17b1804b1-486f456fe60mr57060375e9.28.1773838320613; 
 Wed, 18 Mar 2026 05:52:00 -0700 (PDT)
Received: from lili ([2a01:e0a:59b:9120:4f96:da04:200e:b159])
 by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-486f443b77esm63628885e9.15.2026.03.18.05.51.59
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 18 Mar 2026 05:52:00 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: Arun Isaac <arunisaac@HIDDEN>
Subject: Re: bug#40393: Use ngettext to internationalize plural in
 guix/lint.scm
In-Reply-To: <cu77dyxlgai.fsf@HIDDEN> (Arun Isaac's message of "Fri, 
 03 Apr 2020 03:08:13 +0530")
References: <cu77dyxlgai.fsf@HIDDEN>
Date: Wed, 18 Mar 2026 13:51:28 +0100
Message-ID: <878qbpz4fj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 40393
Cc: 40393 <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: 0.0 (/)

Hi Arun,

Doing some janitor work in the context of Debbugs sunset, I hit this bug
report:

    https://issues.guix.gnu.org/issue/40393

On Fri, 03 Apr 2020 at 03:08, Arun Isaac <arunisaac@HIDDEN> wrote:

> In the check-description-style function in guix/lint.scm, the string
> "sentences in description should be followed ..." should be pluralized
> using ngettext, not ~p as it is now. ~p only adds an 's' if the
> corresponding argument is greater than 1. Needless to say, there are
> many languages that don't follow this pattern.

It appears to me still relevant.  Do you mind to send a patch for fixing
the issue? :-)

Cheers,
simon




Information forwarded to bug-guix@HIDDEN:
bug#40393; Package guix. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 2 Apr 2020 21:38:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 02 17:38:49 2020
Received: from localhost ([127.0.0.1]:40864 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jK7Y1-0007A5-6I
	for submit <at> debbugs.gnu.org; Thu, 02 Apr 2020 17:38:49 -0400
Received: from lists.gnu.org ([209.51.188.17]:34304)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arunisaac@HIDDEN>) id 1jK7Xz-00079t-3U
 for submit <at> debbugs.gnu.org; Thu, 02 Apr 2020 17:38:47 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57455)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <arunisaac@HIDDEN>) id 1jK7Xy-0007YU-1B
 for bug-guix@HIDDEN; Thu, 02 Apr 2020 17:38:46 -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.0 required=5.0 tests=BAYES_20,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <arunisaac@HIDDEN>) id 1jK7Xv-0007do-Q0
 for bug-guix@HIDDEN; Thu, 02 Apr 2020 17:38:45 -0400
Received: from mugam.systemreboot.net ([139.59.75.54]:51826)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <arunisaac@HIDDEN>)
 id 1jK7Xt-0007Oj-Dc
 for bug-guix@HIDDEN; Thu, 02 Apr 2020 17:38:43 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date:
 Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=A1/Lo8coZmpbeltI8IevW2BCtI6dWAuomgQwLitX9do=; b=lLCLm7Xx93xZPR5gKbDBoYaTxw
 ecooMCLeXEQedxqQERHVedNyDO5iBX600I4oYtzuCqQtE7tEc6tLQCpmwMqRpiv5wnl3/D2Uay4kx
 GyJv88+Pu6cC3OCo+7YsDzvbl+Feu1m01Gvxypqse87a1zklp216cb3nenI+ta9/BLuo=;
Received: from [192.168.2.1] (helo=steel)
 by systemreboot.net with esmtpsa  (TLS1.3) tls TLS_AES_256_GCM_SHA384
 (Exim 4.93) (envelope-from <arunisaac@HIDDEN>)
 id 1jK7Xn-004RyR-9D
 for bug-guix@HIDDEN; Fri, 03 Apr 2020 03:08:35 +0530
From: Arun Isaac <arunisaac@HIDDEN>
To: bug-guix@HIDDEN
Subject: Use ngettext to internationalize plural in guix/lint.scm
Date: Fri, 03 Apr 2020 03:08:13 +0530
Message-ID: <cu77dyxlgai.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 139.59.75.54
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: submit
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: -0.8 (/)

--=-=-=
Content-Type: text/plain


In the check-description-style function in guix/lint.scm, the string
"sentences in description should be followed ..." should be pluralized
using ngettext, not ~p as it is now. ~p only adds an 's' if the
corresponding argument is greater than 1. Needless to say, there are
many languages that don't follow this pattern.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl6GW0UACgkQLiXui2GA
K7OPEggAjvM/tVOE25sSudD+LsB4J+dwM/IRJTASnpjzeTqZOEDBti+TX6k7ai7M
N7V5Vto57YtU5cbwGS6iPossfm/LSryl7tim//L+zccVa1pDHs1WwEcQJrCLRVbZ
1bLQu+syjGcr586tXOYv+I0CBYt43mqj18yLEgkj+WnR01V0SRjAzRLg740nwDyz
5iW1q1v25V4fkQR3NfzBWjTMksGbbAmC8WAnCjiIdlflaWhQlFCbDSAGZBXicGcG
17Gg4ctDAQt0/M9zIQ43tbTbB64fJ0nEuggrXGdKJo0PPgabvl3x+s/YH1eAE3fH
8XwIFCbr4fW3eaXu8RjilE5+vSLF6Q==
=q52v
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Arun Isaac <arunisaac@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#40393; Package guix. 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: Wed, 18 Mar 2026 13:00:02 UTC

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