From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +MhsNiO1NWKTggAAgWs5BA (envelope-from ) for ; Sat, 19 Mar 2022 11:49:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MA0bLyO1NWKnPgEAG6o9tA (envelope-from ) for ; Sat, 19 Mar 2022 11:49:07 +0100 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 637CF161BB for ; Sat, 19 Mar 2022 11:49:07 +0100 (CET) Received: from localhost ([::1]:45496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVWdu-0008B1-Kv for larch@yhetil.org; Sat, 19 Mar 2022 06:49:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVWdq-0008At-DJ for guix-patches@gnu.org; Sat, 19 Mar 2022 06:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36989) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nVWdq-0001xt-56 for guix-patches@gnu.org; Sat, 19 Mar 2022 06:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nVWdp-0006NE-Ve for guix-patches@gnu.org; Sat, 19 Mar 2022 06:49:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54454] [PATCH] ui: Describe package outputs. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Mar 2022 10:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54454 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: Liliana Marie Prikler , 54454@debbugs.gnu.org Received: via spool by 54454-submit@debbugs.gnu.org id=B54454.164768691924340 (code B ref 54454); Sat, 19 Mar 2022 10:49:01 +0000 Received: (at 54454) by debbugs.gnu.org; 19 Mar 2022 10:48:39 +0000 Received: from localhost ([127.0.0.1]:59119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVWdS-0006KM-TY for submit@debbugs.gnu.org; Sat, 19 Mar 2022 06:48:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVWdQ-0006Jt-Ba for 54454@debbugs.gnu.org; Sat, 19 Mar 2022 06:48:37 -0400 Received: from [2001:470:142:3::e] (port=59394 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVWdK-0001mw-LO; Sat, 19 Mar 2022 06:48:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=wNMb/QDOgjz5C+HICWJ0BQqg3cy8i8/4bYLrmeWeSy4=; b=XRglTb0WRzBR0PJ+VqaJ mxBt3XJcxuJRrMd1je+Nmtwm4z2Y2MLGZNtxX6oVLVyy//Lz886gFYZmWAABgQ0pTCbTFwfKJ041B IuJo75/xYPfayp1eq1ON9/DNM7D1r3pyuJH4JiofkVqGHBxdfCmvDpv+GoH7JaAbRv2E2vUvnFaUF xpQAI9yg8vnLnwYQWMjKYjY7YfnxpaceEoxTesq1g+J42CEleNQccgY0PKOM/FYfks8wKM0uw/0AG IyfP24Zfx0/dA5TtEUoPk/D9vhqmbjmle0p4QoPsrsUFBjZYUiQuzWzQA5rBz8cJzrKdT7AZRt1q/ K75S3/26rM05uw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:51651 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVWdJ-00019T-WB; Sat, 19 Mar 2022 06:48:30 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <1cfdf03a949fa73b85c62dbe48732fe1bfc7b40b.camel@gmail.com> <09888eaaa01111f34aae088ca84fdccfe1756103.camel@telenet.be> <0c9b516131eade349cee71d11da38762a224dc62.camel@gmail.com> <42c9798380ec970dfdf7d3407cbd035b3821e758.camel@telenet.be> Date: Sat, 19 Mar 2022 11:48:27 +0100 In-Reply-To: <42c9798380ec970dfdf7d3407cbd035b3821e758.camel@telenet.be> (Maxime Devos's message of "Sat, 19 Mar 2022 09:56:01 +0100") Message-ID: <87h77unrpg.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1647686947; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wNMb/QDOgjz5C+HICWJ0BQqg3cy8i8/4bYLrmeWeSy4=; b=Lkb/4wIgFltUxPar2kTnCynWGyAZMTC/y2Gz6LDj4h1rGvQBRoCNiIggjQ42majMnfIJ3p RjmxrNax06jAN5VUZ+LV+k+0cklvwL+2XPF92KgdcGm/w8wa2cGkEely0fEPnLk1d0LZhX ZLUoJZrS8Lya/sYig/z/cGBmxb/T7SxGKH/VziGsvwwB70XNetxTDsPfVl1gdlVcsg+htk 63eNlM9eUG0CIuphIgroTnODy6pzHnxSCupoJ0KNcHXKDKWXIZZxn364fdAL084O7ZM2/h UcV13yGYxW9yfQ+T75lf6hJlLtuVexOTbZR1AbZPz4/gPffiSm3cQqhGpyV+Yg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647686947; a=rsa-sha256; cv=none; b=lsEZGLBxFo/88426lPCnf3LkEDT3aD2VS1bp7JIcq+sCBtyyTUn1RAhKzBFRvubeh2Dqwa aSb4HHnNKRJ7JJ9qCMHkMGExW5hi5mwISOM0qU0rBzhVM1WSeCej2crQuqXuG5fRvDUuhw XMyfLTe9CtWAMqhpF4LABkZC1nNa1EACZCccfkB++pFezHIdD6Il7SRjWGnsSBSp8Z/hOt rZWz4hoZKY/ETfm1QreBG7vyfrdGxj2rtO50oTSVxKnivuKPNzvS0ZDwF5ZmeU+iwwYB3Z 3i41LDZBc08avcWgkZsd6TZHhclPj0UqH9YOX3ztSLc3dtdAjxvSRDTpd/SpmA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=XRglTb0W; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.74 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=XRglTb0W; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 637CF161BB X-Spam-Score: -3.74 X-Migadu-Scanner: scn1.migadu.com X-TUID: GnRH7/s3+lZK Hi, Maxime Devos skribis: > I was more thinking of: > > (package > [...] > (properties > `((output-descriptions=C2=A0 > . ,(lambda () ("foo" . ,(G_ "Bar")) ...))))) > > though bringing the magic used for package descriptions to > output descriptions would be tidier. Rather: (properties '((output-descriptions ("send-email" (synopsis "send email!"))))) That is, instead of calling =E2=80=98G_=E2=80=99, you just use one of the k= eywords xgettext recognizes (see =E2=80=98po/packages/Makevars=E2=80=99). The actu= al call to =E2=80=98gettext=E2=80=99 would then be made in (guix ui). I wonder if we=E2=80=99re going overboard though? Ludo=E2=80=99.