public inbox for [email protected]  
help / color / mirror / Atom feed
From: Peter Eisentraut <[email protected]>
To: [email protected] <[email protected]>
Subject: Re: translator comments for GUC descriptions useful?
Date: Fri, 28 Nov 2025 16:18:49 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

On 07.11.25 09:53, Peter Eisentraut wrote:
> 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).

I have committed this.  (It's only in the master branch right now, so it 
won't be active until the messages git repository is branched, usually 
in February.)







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]
  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