aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2023-06-16 10:53:22 +0200
committerPeter Eisentraut <peter@eisentraut.org>2023-06-16 10:53:22 +0200
commitc0d951262c80f42b3bfe037f940e103a24da84f4 (patch)
treec59aec59d2202f8cc57f2d9357ed80286a34e2ab /src
parent0225eec80bddbf69d0509851b2df2bafd62fcc30 (diff)
downloadpostgresql-c0d951262c80f42b3bfe037f940e103a24da84f4.tar.gz
postgresql-c0d951262c80f42b3bfe037f940e103a24da84f4.zip
libpq: Add missing gettext trigger
libpq_ngettext() was missing. This was an ancient mistake (commit acd08d764a).
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq/nls.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/interfaces/libpq/nls.mk b/src/interfaces/libpq/nls.mk
index b6ed4551831..5959fa0c074 100644
--- a/src/interfaces/libpq/nls.mk
+++ b/src/interfaces/libpq/nls.mk
@@ -16,7 +16,12 @@ GETTEXT_FILES = fe-auth.c \
../../port/thread.c
GETTEXT_TRIGGERS = libpq_append_conn_error:2 \
libpq_append_error:2 \
- libpq_gettext pqInternalNotice:2
+ libpq_gettext \
+ libpq_ngettext:1,2 \
+ pqInternalNotice:2
GETTEXT_FLAGS = libpq_append_conn_error:2:c-format \
libpq_append_error:2:c-format \
- libpq_gettext:1:pass-c-format pqInternalNotice:2:c-format
+ libpq_gettext:1:pass-c-format \
+ libpq_ngettext:1:pass-c-format \
+ libpq_ngettext:2:pass-c-format \
+ pqInternalNotice:2:c-format