Re: Better title output for psql \dt \di etc. commands - Mailing list pgsql-hackers

From Álvaro Herrera
Subject Re: Better title output for psql \dt \di etc. commands
Date
Msg-id 202502041427.zlhmqk36hmt3@alvherre.pgsql
Whole thread Raw
Responses Re: Better title output for psql \dt \di etc. commands
List pgsql-hackers
On 2025-Feb-03, Tom Lane wrote:

> One problem with it is that while we can leave "List of ???" out
> of the set of translatable strings easily, we can't currently
> do that for the argument of pg_log_error because it's automatically
> a gettext trigger.  I'd rather not burden translators with figuring
> out what to do with that.  Is it worth creating pg_log_error_internal,
> equivalently to elog and errmsg_internal in the backend?

At this point I would just add a "translator:" comment that explains
that the ??? bit is for unexpected cases and can be translated in the
same way.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"The problem with the future is that it keeps turning into the present"
(Hobbes)



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: NOT ENFORCED constraint feature
Next
From: Nazir Bilal Yavuz
Date:
Subject: Re: Show WAL write and fsync stats in pg_stat_io