Skip to content

Commit 6baa17f

Browse files
committed
Add missing gettext triggers
Some translatable strings have been moved to scanner_yyerror(), so we need to add that, too.
1 parent ef11051 commit 6baa17f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/backend/nls.mk

+8-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@ CATALOG_NAME = postgres
33
AVAIL_LANGUAGES = de es fr id it ja ko pl pt_BR ru sv tr zh_CN
44
GETTEXT_FILES = + gettext-files
55
GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS) \
6-
GUC_check_errmsg GUC_check_errdetail GUC_check_errhint \
7-
write_stderr yyerror parser_yyerror report_invalid_record:2
6+
GUC_check_errmsg \
7+
GUC_check_errdetail \
8+
GUC_check_errhint \
9+
write_stderr \
10+
yyerror \
11+
parser_yyerror \
12+
scanner_yyerror \
13+
report_invalid_record:2
814
GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS) \
915
GUC_check_errmsg:1:c-format \
1016
GUC_check_errdetail:1:c-format \

0 commit comments

Comments
 (0)