Re: translator comments for GUC descriptions useful?

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: "pgsql-translators(at)postgresql(dot)org" <pgsql-translators(at)postgresql(dot)org>
Subject: Re: translator comments for GUC descriptions useful?
Date: 2025-11-28 15:18:49
Message-ID: 99287ccb-b385-4d78-8539-a22b42823792@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-translators

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.)

In response to

Browse pgsql-translators by date

  From Date Subject
Next Message Álvaro Herrera 2025-12-10 16:47:49 requiring all .po files be UTF8-encoded
Previous Message Hanefi Onaldi 2025-11-18 14:33:38 Re: [EXTERNAL] Re: [PATCH] Fix translation error in Turkish locale