Re: NLS in Meson - Mailing list pgsql-hackers

From Álvaro Herrera
Subject Re: NLS in Meson
Date
Msg-id 202509300530.jnwbfyrdxaah@alvherre.pgsql
Whole thread Raw
In response to Re: NLS in Meson  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
On 2025-Sep-29, Peter Eisentraut wrote:

> On 27.09.25 13:01, Álvaro Herrera wrote:
> > While messing around with NLS under Make for commit [1], I noticed in the Ninja manual [2] that apparently calling
thei18n.gettext() function generates a few "hidden" targets -- most notably, things like <module>-update-po and
<module>-pottargets. These would presumably be used to build the POT and update the PO files fresh, using the source
files.
> 
> But these targets want to create the pot files in the source directory.

True, that's a bother.  Is this something that we could pester the Meson
people about?  Admittedly, our Make support for it is quite weird also,
what with it creating ".po.new" files.  That always struck me as odd.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"You're _really_ hosed if the person doing the hiring doesn't understand
relational systems: you end up with a whole raft of programmers, none of
whom has had a Date with the clue stick."              (Andrew Sullivan)
https://postgr.es/m/20050809113420.GD2768@phlogiston.dyndns.org



pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: MergeAppend could consider sorting cheapest child path
Next
From: Xuneng Zhou
Date:
Subject: Re: Improve read_local_xlog_page_guts by replacing polling with latch-based waiting