mirror of https://github.com/postgres/postgres
Files in common/ and fe_utils/ that contain translatable strings need to be listed in the nls.mk files of the programs that use them. (Not great, but that's the way it works for now.) This usually requires some manual analysis which is done about once during each major release beta period. This time, I wrote a hackish script that figures some of this out more automatically, so this update is a bit larger as it also includes some files that were missed in the past.pull/163/head
parent
6ac5600a36
commit
ad8877cb51
@ -1,5 +1,5 @@ |
||||
# src/bin/pg_archivecleanup/nls.mk
|
||||
CATALOG_NAME = pg_archivecleanup
|
||||
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) pg_archivecleanup.c
|
||||
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) pg_archivecleanup.c ../../common/fe_memutils.c
|
||||
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS)
|
||||
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS)
|
||||
|
||||
@ -1,3 +1,6 @@ |
||||
# src/bin/pg_config/nls.mk
|
||||
CATALOG_NAME = pg_config
|
||||
GETTEXT_FILES = pg_config.c ../../common/config_info.c ../../common/exec.c
|
||||
GETTEXT_FILES = pg_config.c \
|
||||
../../common/config_info.c \
|
||||
../../common/exec.c \
|
||||
../../common/fe_memutils.c
|
||||
|
||||
@ -1,5 +1,7 @@ |
||||
# src/bin/pg_controldata/nls.mk
|
||||
CATALOG_NAME = pg_controldata
|
||||
GETTEXT_FILES = pg_controldata.c ../../common/controldata_utils.c
|
||||
GETTEXT_FILES = pg_controldata.c \
|
||||
../../common/controldata_utils.c \
|
||||
../../common/fe_memutils.c
|
||||
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS)
|
||||
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS)
|
||||
|
||||
@ -1,5 +1,5 @@ |
||||
# src/bin/pg_test_fsync/nls.mk
|
||||
CATALOG_NAME = pg_test_fsync
|
||||
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) pg_test_fsync.c
|
||||
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) pg_test_fsync.c ../../common/fe_memutils.c
|
||||
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS) die
|
||||
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS)
|
||||
|
||||
@ -1,3 +1,3 @@ |
||||
# src/bin/pg_test_timing/nls.mk
|
||||
CATALOG_NAME = pg_test_timing
|
||||
GETTEXT_FILES = pg_test_timing.c
|
||||
GETTEXT_FILES = pg_test_timing.c ../../common/fe_memutils.c
|
||||
|
||||
@ -1,6 +1,9 @@ |
||||
# src/bin/pg_combinebackup/nls.mk
|
||||
CATALOG_NAME = pg_walsummary
|
||||
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) \
|
||||
pg_walsummary.c
|
||||
pg_walsummary.c \
|
||||
../../common/fe_memutils.c \
|
||||
../../common/file_utils.c \
|
||||
../../fe_utils/option_utils.c
|
||||
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS)
|
||||
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS)
|
||||
|
||||
Loading…
Reference in new issue