libpq: Add missing gettext trigger
authorPeter Eisentraut <[email protected]>
Fri, 16 Jun 2023 08:53:22 +0000 (10:53 +0200)
committerPeter Eisentraut <[email protected]>
Fri, 16 Jun 2023 08:53:22 +0000 (10:53 +0200)
libpq_ngettext() was missing.  This was an ancient mistake (commit
acd08d764a).

src/interfaces/libpq/nls.mk

index b6ed4551831eb2690ce1a942cafac0d832bee835..5959fa0c074499db00b32599c5241cde8adff4c6 100644 (file)
@@ -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