endif
ifdef MSGMERGE
-MSGMERGE += --no-wrap --sort-by-file
+MSGMERGE += --no-wrap --previous --sort-by-file
endif
# _ is defined in c.h, so it's global
errmsg errmsg_plural:1,2 \
errdetail errdetail_log errdetail_plural:1,2 \
errhint \
- errcontext
+ errcontext \
+ XactLockTableWait:4 \
+ MultiXactIdWait:6 \
+ ConditionalMultiXactIdWait:6
BACKEND_COMMON_GETTEXT_FLAGS = \
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 \
all-po: $(MO_FILES)
%.mo: %.po
- $(MSGFMT) -o $@ $<
+ $(MSGFMT) $(MSGFMT_FLAGS) -o $@ $<
ifeq ($(word 1,$(GETTEXT_FILES)),+)
po/$(CATALOG_NAME).pot: $(word 2, $(GETTEXT_FILES)) $(MAKEFILE_LIST)
rm messages.po
-# catalog name extentions must match behavior of PG_TEXTDOMAIN() in c.h
+# catalog name extensions must match behavior of PG_TEXTDOMAIN() in c.h
install-po: all-po installdirs-po
ifneq (,$(LANGUAGES))
for lang in $(LANGUAGES); do \
rm -f po/$(CATALOG_NAME).pot
-maintainer-check-po: $(ALL_PO_FILES)
- for file in $^; do \
- $(MSGFMT) -c -v -o /dev/null $$file || exit 1; \
- done
-
-
init-po: po/$(CATALOG_NAME).pot
installdirs: installdirs-po
uninstall: uninstall-po
clean distclean maintainer-clean: clean-po
-maintainer-check: maintainer-check-po
.PHONY: all-po install-po installdirs-po uninstall-po clean-po \
- maintainer-check-po init-po update-po
+ init-po update-po