From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4PB4MwqWbGRoCQEASxT56A (envelope-from ) for ; Tue, 23 May 2023 12:31:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cJcGMwqWbGR1NAEAauVa8A (envelope-from ) for ; Tue, 23 May 2023 12:31:38 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8145C28B8B for ; Tue, 23 May 2023 12:31:38 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1PIH-0002PV-Bf; Tue, 23 May 2023 06:31:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1PIE-0002Ot-Li for guix-devel@gnu.org; Tue, 23 May 2023 06:31:03 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1PIC-0005yq-GB for guix-devel@gnu.org; Tue, 23 May 2023 06:31:02 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 7f4983dd; Tue, 23 May 2023 10:29:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=z2dUKIzWR9sS JhOtzd2m1h2r0HZlbXBG3dBN1RO3jF0=; b=WM6Zav/wvvm//ov+ZWvO0QJOwN5A bjnuoL141Ifs69dGSzMAgHcI0sSCaa6yL8miWlMsboP+GKXn0YTocA9RjMO/dR8d B1yaHJ/gEb9pdJPcXLEVKTTh4rhVXujuaI6Zw1pyfVcbRlz7aXnPd4zpslgurSPh kf0q/PbzuHycluJym14Fl1Q0XQP4imwnJ79h+33l6kS2UIaPeWgj60AUwhap1qz7 vwqLQcPPCD7Y+fczcgVOmQvTAejNLR27AaLAMiAjf0snAkADqti1dJkITWOlb49f 9MTZlXopTSBuasBuO7+0vCu2QzA45grp+Saxv/INqjmSaROXQ9z+lZ6hDQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 9c3fcf51 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 23 May 2023 10:29:49 +0000 (UTC) Date: Tue, 23 May 2023 12:29:42 +0200 From: Julien Lepiller To: guix-devel@gnu.org, Sebastian Rasmussen Subject: Re: Format specification issue in the translations... User-Agent: K-9 Mail for Android In-Reply-To: References: Message-ID: <6A3E9F8C-2DBA-4DE3-BACC-7902986EA492@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684837898; a=rsa-sha256; cv=none; b=uXqEEu+iK70RPE5lSe5Lw4tRWD7ag0h8tefDcGaKJ4tYExIA/u/CFK39/L4JD62KYisvPk 7XbotbWAzitiNFiIaJWZoV9uRtF7+0JWLFbMBcdGAK+hcgFDyWkaNcr7cEGA9CEE1EzPQG u7U0ai6e+Rg+T1ZNH2FIGVYRROx82RVeuPUCMBU2qSJ8JeziPvL60ObZWJntyUfsggfof5 nGFR/RI2TkRTipGnrP4Pwm8HuwVqcQnjPlkE2JvEisGebMGpnYDWOd6xvSFPz6O1X0WstQ 24HKCtCQkHTn6X60DHe2AICzR2eWnswwLsPhmhpAmR5uQ7oVWBavV1PhIROgdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b="WM6Zav/w"; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684837898; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=z2dUKIzWR9sSJhOtzd2m1h2r0HZlbXBG3dBN1RO3jF0=; b=p7Qwn346bABo2Th/UJf83xNsAu/DtlLib9jwMAoyZZaclHzq/HbB73jCaoFAlWVQ93rQoy mbWELsOlQU0mPsXHWhKv/rUnE0bjKBXCLku974lNHT7o58VBNbDsejq3MWPV/f8CAQGSH8 k3Wf3FP1kayFDaVFdoZhRwUvD6H6Rcr+yisYg646fnjGM7bWJEhjcklyIkcZ28r5m8Z3pW 2oibechNfxcd33tQStzh1Pzpi50SPYKzNcg2K2hZQ5GlPC3MBeaB9Ft3uAGU1ZSp+zFmY+ m9Xc0Z+KD5nzErtjBk6SaarMF+LrKNp34lskQthUKG12dsoyRLuFdpL7DMVvpw== X-Migadu-Spam-Score: -3.91 X-Spam-Score: -3.91 X-Migadu-Queue-Id: 8145C28B8B X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b="WM6Zav/w"; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-TUID: V1679Kzj2e4K Hi! I think it's indeed a bug in the Shepherd=2E Both forms should be identica= l for singular and plural=2E Especially, I think we should use ~{ ~a,~} in = both cases since even when there's a single service, the argument is a list= , so with only ~a, it wouldn't show properly=2E Le 23 mai 2023 01:57:05 GMT+02:00, Sebastian Rasmussen a =C3=A9crit=C2=A0: >Hi! > >I'm involved in the translation of Shepherd to Swedish, and >poedit complains that the format specifications for the singular >and plural forms of one of the strings are not the same: >https://git=2Esavannah=2Egnu=2Eorg/cgit/shepherd=2Egit/tree/modules/sheph= erd/service=2Escm#n1107 > >Later on in the source there is another string where the format >specifications appear to be identical: >https://git=2Esavannah=2Egnu=2Eorg/cgit/shepherd=2Egit/tree/modules/sheph= erd/service=2Escm#n1221 > >If this is not a bug, please help me understand what can be done >to make the translation tools not complain (even translationproject=2Eorg >complains when I submit the =2Epo-file)=2E > >If this is indeed a bug in the source, do you mind fixing it? >I'm not sure how your development process works, but if >it helps I can fix it in a clone of the repo and post a link here=2E=2E? > > / Sebastian >