[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54454] [PATCH v2] ui: Describe package outputs.
From: |
Liliana Marie Prikler |
Subject: |
[bug#54454] [PATCH v2] ui: Describe package outputs. |
Date: |
Fri, 02 Sep 2022 19:14:21 +0200 |
User-agent: |
Evolution 3.42.1 |
Am Freitag, dem 02.09.2022 um 19:07 +0200 schrieb Ludovic Courtès:
> Hey,
>
> Liliana Marie Prikler <liliana.prikler@gmail.com> skribis:
>
> > Am Sonntag, dem 26.06.2022 um 14:37 +0200 schrieb Liliana Marie
> > Prikler:
> > > * guix/ui.scm (package->recutils): Output outputs with their
> > > descriptions,
> > > one per line.
> > > * po/packages/Makevars (XGETTEXT_OPTIONS): Add ‘output-synopsis’
> > > as
> > > keyword.
> > I pushed this now.
>
> Thanks for moving forward on this!
>
> I get:
>
> --8<---------------cut here---------------start------------->8---
> $ guix show git |head -10
> name: git
> version: 2.37.2
> outputs:
> + send-email: see Appendix H
> + svn: see Appendix H
> + credential-netrc: see Appendix H
> + credential-libsecret: see Appendix H
> + subtree: see Appendix H
> + gui: see Appendix H
> + out: everything else
> --8<---------------cut here---------------end--------------->8---
>
> Where can I see Appendix H though? (Real question.)
There is no appendix H, it's an obscure reference to the appendix H of
the x86 instruction set (containing undocumented instructions or here
undocumented outputs 🙂️).
In order to have a more meaningful string, you'd need to add an output
synopsis property to the package like so:
(properties
`(...
(output-synopsis "send-email" "the `git send-email' command")
(output-synopsis "credential-libsecret" "the libsecret credential
helper")
...))
The second string should (if I got everything right) be translatable
without needing to wrap it in a G_.
Cheers