aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2019-09-23 09:04:20 +0200
committerPeter Eisentraut <peter@eisentraut.org>2019-09-23 09:05:50 +0200
commit84eb871647b3cc88c89d26d25f0cd84a8ac200fe (patch)
treed8946a524ec06673a8492cbab8e008dce100f4e8 /src
parent860216efa10a0b8ba54b84aa370ba5cbc27dd32a (diff)
downloadpostgresql-84eb871647b3cc88c89d26d25f0cd84a8ac200fe.tar.gz
postgresql-84eb871647b3cc88c89d26d25f0cd84a8ac200fe.zip
NLS: Fix backend gettext triggers
The backend also needs to pull in translations from the frontend pg_log_*() functions, since some files in src/common/ use those.
Diffstat (limited to 'src')
-rw-r--r--src/nls-global.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nls-global.mk b/src/nls-global.mk
index 5bb77b40ebb..30b40ffe2ab 100644
--- a/src/nls-global.mk
+++ b/src/nls-global.mk
@@ -54,6 +54,7 @@ GETTEXT_FLAGS += _:1:pass-c-format
# common settings that apply to backend and all backend modules
BACKEND_COMMON_GETTEXT_TRIGGERS = \
+ $(FRONTEND_COMMON_GETTEXT_TRIGGERS) \
errmsg errmsg_plural:1,2 \
errdetail errdetail_log errdetail_plural:1,2 \
errhint \
@@ -62,6 +63,7 @@ BACKEND_COMMON_GETTEXT_TRIGGERS = \
MultiXactIdWait:6 \
ConditionalMultiXactIdWait:6
BACKEND_COMMON_GETTEXT_FLAGS = \
+ $(FRONTEND_COMMON_GETTEXT_FLAGS) \
errmsg:1:c-format errmsg_plural:1:c-format errmsg_plural:2:c-format \
errdetail:1:c-format errdetail_log:1:c-format errdetail_plural:1:c-format errdetail_plural:2:c-format \
errhint:1:c-format \