Re: translator comments for GUC descriptions useful?

From: SAS <sas(dot)postgresql(at)gmail(dot)com>
To: pgsql-translators(at)lists(dot)postgresql(dot)org
Subject: Re: translator comments for GUC descriptions useful?
Date: 2025-11-12 09:02:37
Message-ID: 9c670e1b-815d-4551-a4fe-01306a8970bd@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-translators

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

In response to

Browse pgsql-translators by date

  From Date Subject
Next Message Daniel Gustafsson 2025-11-14 14:12:52 v18 GUC in v17 translation
Previous Message Henson Choi 2025-11-12 06:54:14 [PATCH] Fix translation consistency issues in Korean, Chinese Traditional, and Tamil