postgresql/src/backend/nls.mk
Alvaro Herrera a1aa00657e xlogreader.c: Fix report_invalid_record translatability flag
For some reason I overlooked in GETTEXT_TRIGGERS that the right argument
be read by gettext in 7fcbf6a405.  This
will drop the translation percentages for the backend all the way back
to 9.3 ...

Problem reported by Heikki.
2015-01-09 12:34:24 -03:00

22 lines
736 B
Makefile

# src/backend/nls.mk
CATALOG_NAME = postgres
AVAIL_LANGUAGES = de es fr it ja pl pt_BR ru zh_CN zh_TW
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
GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS) \
GUC_check_errmsg:1:c-format \
GUC_check_errdetail:1:c-format \
GUC_check_errhint:1:c-format \
write_stderr:1:c-format \
report_invalid_record:2:c-format
gettext-files: distprep
find $(srcdir)/ $(srcdir)/../common/ $(srcdir)/../port/ -name '*.c' -print | LC_ALL=C sort >$@
my-clean:
rm -f gettext-files
.PHONY: my-clean
clean: my-clean