public inbox for [email protected]
help / color / mirror / Atom feedFrom: SAS <[email protected]>
To: [email protected]
Subject: Re: translator comments for GUC descriptions useful?
Date: Wed, 12 Nov 2025 10:02:37 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
Hello,
Le 07/11/2025 à 09:53, Peter Eisentraut a écrit :
> Hi all,
>
> I've done some work recently in the source code to make the GUC C structs
> automatically generated. That now allows changing the output format more
> easily.
>
> One random idea I had is that we could automatically generate "translator"
> comments on the short and long description strings of GUC parameters. So the
> PO entries could then look like this:
>
> #. translator: GUC huge_pages_status short description
> #: utils/misc/guc_tables.c:5020
> msgid "Indicates the status of huge pages."
> msgstr ""
>
> (and analogously for the long description).
>
> This would be trivial to implement now (see below for an example).
>
> Would this be useful?
I really like the idea.
(...)
Best,
--
Dr Stéphane Schildknecht
Contact régional PostgreSQL pour l'Europe francophone
+33 617 11 37 42
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: translator comments for GUC descriptions useful?
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox