Message-ID: From: "vlsi (@vlsi)" To: "pgjdbc/pgjdbc" Date: Mon, 25 May 2026 13:26:40 +0000 Subject: [pgjdbc/pgjdbc] PR #4100: build: drop xgettext default keywords; regenerate translations List-Id: X-GitHub-Author-Id: 213894 X-GitHub-Author-Login: vlsi X-GitHub-Issue: 4100 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-State: merged X-GitHub-Type: pull_request X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/4100 Content-Type: text/plain; charset=utf-8 `xgettext` in Java mode extracts strings from `getString()`, `gettext()` and similar by default in addition to user-defined keywords. The previous config added -kGT.tr but did not suppress the defaults, so column names passed to `rs.getString("oid")`, `rs.getString("proname")`, etc. ended up in `messages.pot` and were propagated into every `.po` file as non-translatable noise. Adding an empty entry to keywords emits a bare `-k` before `-kGT.tr`, which clears `xgettext`'s default keyword list. Running `generateGettextSources` drops the spurious entries (oid, proname, typtype, proargtypes, adsrc, attidentity, attgenerated, rolname, relacl, attacl) from `messages.pot` and from every `.po`, and regenerates `messages_*.java`. This is a purely mechanical commit, so there's nothing to review in there. The offending non-translatable lines were like `msgid "oid"`