Re: Pasword expiration warning

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Euler Taveira <euler@eulerto.com>
Cc: Peter Eisentraut <peter@eisentraut.org>, Gilles Darold <gilles@darold.net>, Zsolt Parragi <zsolt.parragi@percona.com>, japin <japinli@hotmail.com>, Yuefei Shi <shiyuefei1004@gmail.com>, songjinzhou <tsinghualucky912@foxmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>, Andrew Dunstan <andrew@dunslane.net>, Tom Lane <tgl@sss.pgh.pa.us>, liu xiaohui <liuxh.zj.cn@gmail.com>, Steven Niu <niushiji@gmail.com>
Date: 2026-02-04T22:15:58Z
Lists: pgsql-hackers

Attachments

On Wed, Feb 04, 2026 at 06:12:07PM -0300, Euler Taveira wrote:
> That's correct. You should use ngettext(). Using the plural form means better
> translation. Looking at some messages in the catalog, the developers tend to
> ignore the fact that the sentence has a plural form too. Sometimes it is hard
> to write a message if multiple parts of the message have plural form. I
> completely understand your resistance.

Please pardon the brain fade; I'd forgotten about ngettext() and missed
your previous message.  Here is an updated patch.

-- 
nathan

Commits

  1. Add password expiration warnings.