From: "Ludovic Courtès" <ludo@gnu.org>
To: Maxime Devos <maximedevos@telenet.be>
Cc: Liliana Marie Prikler <liliana.prikler@gmail.com>, 54454@debbugs.gnu.org
Subject: [bug#54454] [PATCH] ui: Describe package outputs.
Date: Sat, 19 Mar 2022 11:48:27 +0100 [thread overview]
Message-ID: <87h77unrpg.fsf_-_@gnu.org> (raw)
In-Reply-To: <42c9798380ec970dfdf7d3407cbd035b3821e758.camel@telenet.be> (Maxime Devos's message of "Sat, 19 Mar 2022 09:56:01 +0100")
Hi,
Maxime Devos <maximedevos@telenet.be> skribis:
> I was more thinking of:
>
> (package
> [...]
> (properties
> `((output-descriptions
> . ,(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 ‘G_’, you just use one of the keywords
xgettext recognizes (see ‘po/packages/Makevars’). The actual call to
‘gettext’ would then be made in (guix ui).
I wonder if we’re going overboard though?
Ludo’.
next prev parent reply other threads:[~2022-03-19 10:49 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-18 19:16 [bug#54454] [PATCH] ui: Describe package outputs Liliana Marie Prikler
2022-03-18 20:12 ` Maxime Devos
2022-03-18 20:23 ` Liliana Marie Prikler
2022-03-18 20:16 ` Maxime Devos
2022-03-18 20:25 ` Liliana Marie Prikler
2022-03-18 20:50 ` Maxime Devos
2022-03-18 20:54 ` Maxime Devos
2022-03-18 22:24 ` Liliana Marie Prikler
2022-03-18 22:57 ` Maxime Devos
2022-03-18 23:27 ` Liliana Marie Prikler
2022-03-19 8:56 ` Maxime Devos
2022-03-19 10:48 ` Ludovic Courtès [this message]
2022-03-19 16:24 ` Leo Famulari
2022-06-26 12:37 ` [bug#54454] [PATCH v2] " Liliana Marie Prikler
2022-08-16 19:37 ` bug#54454: " Liliana Marie Prikler
2022-09-02 17:07 ` [bug#54454] " Ludovic Courtès
2022-09-02 17:14 ` Liliana Marie Prikler
2022-09-03 9:53 ` zimoun
2022-09-05 7:25 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h77unrpg.fsf_-_@gnu.org \
--to=ludo@gnu.org \
--cc=54454@debbugs.gnu.org \
--cc=liliana.prikler@gmail.com \
--cc=maximedevos@telenet.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).