[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54454] [PATCH] ui: Describe package outputs.
From: |
Ludovic Courtès |
Subject: |
[bug#54454] [PATCH] ui: Describe package outputs. |
Date: |
Sat, 19 Mar 2022 11:48:27 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
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’.
- [bug#54454] [PATCH] ui: Describe package outputs., (continued)
[bug#54454] [PATCH] ui: Describe package outputs., Leo Famulari, 2022/03/19