Commit 467c1d91 authored by Peter Eisentraut's avatar Peter Eisentraut

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.
parent 5ac0d936
...@@ -54,6 +54,7 @@ GETTEXT_FLAGS += _:1:pass-c-format ...@@ -54,6 +54,7 @@ GETTEXT_FLAGS += _:1:pass-c-format
# common settings that apply to backend and all backend modules # common settings that apply to backend and all backend modules
BACKEND_COMMON_GETTEXT_TRIGGERS = \ BACKEND_COMMON_GETTEXT_TRIGGERS = \
$(FRONTEND_COMMON_GETTEXT_TRIGGERS) \
errmsg errmsg_plural:1,2 \ errmsg errmsg_plural:1,2 \
errdetail errdetail_log errdetail_plural:1,2 \ errdetail errdetail_log errdetail_plural:1,2 \
errhint \ errhint \
...@@ -62,6 +63,7 @@ BACKEND_COMMON_GETTEXT_TRIGGERS = \ ...@@ -62,6 +63,7 @@ BACKEND_COMMON_GETTEXT_TRIGGERS = \
MultiXactIdWait:6 \ MultiXactIdWait:6 \
ConditionalMultiXactIdWait:6 ConditionalMultiXactIdWait:6
BACKEND_COMMON_GETTEXT_FLAGS = \ BACKEND_COMMON_GETTEXT_FLAGS = \
$(FRONTEND_COMMON_GETTEXT_FLAGS) \
errmsg:1:c-format errmsg_plural:1:c-format errmsg_plural:2:c-format \ 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 \ errdetail:1:c-format errdetail_log:1:c-format errdetail_plural:1:c-format errdetail_plural:2:c-format \
errhint:1:c-format \ errhint:1:c-format \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment