Add missing gettext triggers

Some translatable strings have been moved to scanner_yyerror(), so we
need to add that, too.
This commit is contained in:
Peter Eisentraut 2020-04-28 13:35:40 +02:00
parent ef11051bbe
commit 6baa17fbd1
1 changed files with 8 additions and 2 deletions

View File

@ -3,8 +3,14 @@ CATALOG_NAME = postgres
AVAIL_LANGUAGES = de es fr id it ja ko pl pt_BR ru sv tr zh_CN
GETTEXT_FILES = + gettext-files
GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS) \
GUC_check_errmsg GUC_check_errdetail GUC_check_errhint \
write_stderr yyerror parser_yyerror report_invalid_record:2
GUC_check_errmsg \
GUC_check_errdetail \
GUC_check_errhint \
write_stderr \
yyerror \
parser_yyerror \
scanner_yyerror \
report_invalid_record:2
GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS) \
GUC_check_errmsg:1:c-format \
GUC_check_errdetail:1:c-format \