From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CPCWL1YzQ2Ja5gAAgWs5BA (envelope-from ) for ; Tue, 29 Mar 2022 18:27:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8CHLLFYzQ2IVVAAA9RJhRA (envelope-from ) for ; Tue, 29 Mar 2022 18:27:02 +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 71E52A4A9 for ; Tue, 29 Mar 2022 18:27:02 +0200 (CEST) Received: from localhost ([::1]:42146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZEgP-0003R4-9q for larch@yhetil.org; Tue, 29 Mar 2022 12:27:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38944) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZEfr-0003Qr-Be for guix-devel@gnu.org; Tue, 29 Mar 2022 12:26:27 -0400 Received: from [2a02:1800:110:4::f00:19] (port=60452 helo=laurent.telenet-ops.be) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZEfp-0001jy-Br for guix-devel@gnu.org; Tue, 29 Mar 2022 12:26:27 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id CGSM2700W4UW6Th01GSMv7; Tue, 29 Mar 2022 18:26:21 +0200 Message-ID: <2e1e1f07ba3f63002bdd7edf1a2f1f5f41963962.camel@telenet.be> Subject: Re: The Shepherd on Fibers From: Maxime Devos To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Date: Tue, 29 Mar 2022 18:26:15 +0200 In-Reply-To: <87wngczzzx.fsf@gnu.org> References: <87ee2sfg9d.fsf@inria.fr> <87wngczzzx.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-znUlSrYNCQdgwZoLmcBY" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648571182; bh=wTPcZ7AP09jV6Jrm7733OV1YPl1DovWHVHu4yyN6Ras=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=Cmh4IfczdQWEe4QQlodm+OjBQtuBDK2ReUmR1UZrSmhJjbUD0i4uMzeuIoGLr+H+8 +CYgdtaUbz2N9ZJyJp421cnHeGeptUJ1YMi8lHa0JHNZ0gTXFheXn/iz/HwfLHuE59 H4Xy6p9EcRrBT4VyK7wtcgTru9L2szaicD24SorG6uNAghWCMSQK/N7JKQJIBPhFC8 6GbuWtMLMtfV6pntgENOUBbiYxlo0Fm2evERl3Vrlkjk78/gN4tLvGQmgCQHB9LQeR qOzK2ah+9dlNeI6j1GxOq0WNZv3KvQnQ2tJZauduvNgx9rKYGlIshMeK/ITObgcvIo gNwodp/zAOgFA== X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:1800:110:4::f00:19 (failed) Received-SPF: pass client-ip=2a02:1800:110:4::f00:19; envelope-from=maximedevos@telenet.be; helo=laurent.telenet-ops.be X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648571222; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wTPcZ7AP09jV6Jrm7733OV1YPl1DovWHVHu4yyN6Ras=; b=Ximk6jKbjjZHKtZ5Ei2jZmDcDQjGzY0rykdgvf7ecpZO1n/ZqyLgOQsybimzIzkUSwIvpe vkwPKM3LAXyugxiG9cv05me4xFVGxVas1Tw+YljEdC5JuQr35T3ybhS68wuctTK/JBDkSq ejhW+jUMEXejOwvKCKAZWo3+19qpts2zcLfJHgP53ZyxuKYmt9zyeB3LeGbJIb4IyUQLtG YMsYZgNQK7GjqDytYB1W8xQ8Lc9cadccomxvQKBdmyywbppG+JvfD54y6iM43pCgh8SrNI YWV0nonlL+1eDaKet12CfY0IjC+Nw/qaaeMNthOP1YbpoAi2HgKpvAbN2t5T6w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648571222; a=rsa-sha256; cv=none; b=gWu7gz+Zl97Q86Jrj8yVSI5v9ILPpU/06d4KCipOlZR7xDaW/zToqLSik2CK889PDyDzLq 6ef/5ZRgpsKbOMlDmxTmbg32Y4eVZa13ABZE7ywsuo5j2AT1i3vM9XxkccVfqNtimjpT9l GdG/aMYZMZUQkBNqjAinnoWktM3+FRWWRU8DyyreE05B6LbCmwegzE8UPSVRrgAy/8uC5m f59mbIDiSWJfFQzaNOIDTKU+INEADYxE+Rx3Wvnsd0pHlTdcaXZeeDMZnIXgcghiK+zBVw 2/yB0HJqs0Z0MDYO5v/NWiTL3Xaq8Vt4Fq45qx3pfsLC6HxLXCpq5Als0vunWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=Cmh4Ifcz; dmarc=pass (policy=none) header.from=telenet.be; 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-Migadu-Spam-Score: -11.17 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=Cmh4Ifcz; dmarc=pass (policy=none) header.from=telenet.be; 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-Migadu-Queue-Id: 71E52A4A9 X-Spam-Score: -11.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: HT5MSq9qg4wr --=-znUlSrYNCQdgwZoLmcBY Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op di 29-03-2022 om 14:48 [+0200]: > Maxime Devos skribis: >=20 > > To help translators, I would use positional arguments in > >=20 > > + (l10n "Accepted connection on ~a from ~:[~a~;~*local process~].") >=20 > Hmm so how would you write this? Here's an example on how to implement positional arguments in terms of (ice-9 format) argument jumping: (format #t "third argument: ~2@*~a, second argument: ~1@*~a, first argument ~0@*~a!~%" 1 2 3) (format #t "Accepted connection on ~0@*~a from ~1@*~:[~0@*~a~;local process~]." "foo" #f "bar") (format #t "From ~1@*~:[~0@*~a~;local process~] accepted connection on ~0@*~a." "foo" #f "bar") Or simpler, without format string conditionals, which seems a bit easier to translate without having to know how (ice-9 format) works: (if local-process? (format #t "Accepted connection on ~a from local process." "foo") (format #t "Accepted connection on ~0@*~a from ~1@*~a." "foo" "bar")) Greetings, Maxime --=-znUlSrYNCQdgwZoLmcBY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkMzJxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7qjZAQCrrYr4ecvrMuzZp3XEARd6tBVg uo80g8EzHCzAk9/WRQEAoBYxqOfcvjyNnAwI/SUo6QPcn9cFR9U+lMcQmtn68gM= =+zBl -----END PGP SIGNATURE----- --=-znUlSrYNCQdgwZoLmcBY--