Skip to content

Commit 467c1d9

Browse files
committed
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.
1 parent 5ac0d93 commit 467c1d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/nls-global.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ GETTEXT_FLAGS += _:1:pass-c-format
5454

5555
# common settings that apply to backend and all backend modules
5656
BACKEND_COMMON_GETTEXT_TRIGGERS = \
57+
$(FRONTEND_COMMON_GETTEXT_TRIGGERS) \
5758
errmsg errmsg_plural:1,2 \
5859
errdetail errdetail_log errdetail_plural:1,2 \
5960
errhint \
@@ -62,6 +63,7 @@ BACKEND_COMMON_GETTEXT_TRIGGERS = \
6263
MultiXactIdWait:6 \
6364
ConditionalMultiXactIdWait:6
6465
BACKEND_COMMON_GETTEXT_FLAGS = \
66+
$(FRONTEND_COMMON_GETTEXT_FLAGS) \
6567
errmsg:1:c-format errmsg_plural:1:c-format errmsg_plural:2:c-format \
6668
errdetail:1:c-format errdetail_log:1:c-format errdetail_plural:1:c-format errdetail_plural:2:c-format \
6769
errhint:1:c-format \

0 commit comments

Comments
 (0)