CATALOG_NAME = postgres
AVAIL_LANGUAGES = de es fr ja pt_BR tr zh_CN zh_TW
GETTEXT_FILES = + gettext-files
-GETTEXT_TRIGGERS = _ errmsg errmsg_plural:1,2 errdetail errdetail_log \
+GETTEXT_TRIGGERS = errmsg errmsg_plural:1,2 errdetail errdetail_log \
errdetail_plural:1,2 errhint errcontext \
GUC_check_errmsg GUC_check_errdetail GUC_check_errhint \
write_stderr yyerror parser_yyerror
CATALOG_NAME = initdb
AVAIL_LANGUAGES = cs de es fr it ja ko pt_BR ro ru sv ta tr zh_CN zh_TW
GETTEXT_FILES = initdb.c ../../port/dirmod.c ../../port/exec.c
-GETTEXT_TRIGGERS = _ simple_prompt
+GETTEXT_TRIGGERS = simple_prompt
CATALOG_NAME = pg_basebackup
AVAIL_LANGUAGES = de es
GETTEXT_FILES = pg_basebackup.c
-GETTEXT_TRIGGERS = _
CATALOG_NAME = pg_config
AVAIL_LANGUAGES = de es fr it ja ko nb pt_BR ro ru sv ta tr zh_CN zh_TW
GETTEXT_FILES = pg_config.c ../../port/exec.c
-GETTEXT_TRIGGERS = _
CATALOG_NAME = pg_controldata
AVAIL_LANGUAGES = de es fr it ja ko pt_BR ro ru sv ta tr zh_CN zh_TW
GETTEXT_FILES = pg_controldata.c
-GETTEXT_TRIGGERS = _
CATALOG_NAME = pg_ctl
AVAIL_LANGUAGES = de es fr it ja ko pt_BR ru sv ta tr zh_CN zh_TW
GETTEXT_FILES = pg_ctl.c ../../port/exec.c
-GETTEXT_TRIGGERS = _
pg_backup_tar.c pg_restore.c pg_dumpall.c \
../../port/exec.c
GETTEXT_TRIGGERS = write_msg:2 die_horribly:3 exit_horribly:3 simple_prompt \
- ExecuteSqlCommand:3 ahlog:3 _
+ ExecuteSqlCommand:3 ahlog:3
CATALOG_NAME = pg_resetxlog
AVAIL_LANGUAGES = de es fr it ja ko pt_BR ro ru sv ta tr zh_CN zh_TW
GETTEXT_FILES = pg_resetxlog.c
-GETTEXT_TRIGGERS = _
GETTEXT_FILES = command.c common.c copy.c help.c input.c large_obj.c \
mainloop.c print.c startup.c describe.c sql_help.h sql_help.c \
../../port/exec.c
-GETTEXT_TRIGGERS = _ N_ psql_error simple_prompt
+GETTEXT_TRIGGERS = N_ psql_error simple_prompt
dropdb.c droplang.c dropuser.c \
clusterdb.c vacuumdb.c reindexdb.c \
common.c
-GETTEXT_TRIGGERS = _ simple_prompt yesno_prompt
+GETTEXT_TRIGGERS = simple_prompt yesno_prompt
CATALOG_NAME = ecpg
AVAIL_LANGUAGES = de es fr it ja ko pt_BR tr zh_CN zh_TW
GETTEXT_FILES = descriptor.c ecpg.c pgc.c preproc.c type.c variable.c
-GETTEXT_TRIGGERS = _ mmerror:3
+GETTEXT_TRIGGERS = mmerror:3
XGETTEXT += -ctranslator --copyright-holder='PostgreSQL Global Development Group' --msgid-bugs-address=pgsql-bugs@postgresql.org
endif
+# _ is defined in c.h, so it's global
+GETTEXT_TRIGGERS += _
+
all-po: $(MO_FILES)
CATALOG_NAME = plpgsql
AVAIL_LANGUAGES = de es fr it ja ko pt_BR ro zh_CN zh_TW
GETTEXT_FILES = pl_comp.c pl_exec.c pl_gram.c pl_funcs.c pl_handler.c pl_scanner.c
-GETTEXT_TRIGGERS = _ errmsg errmsg_plural:1,2 errdetail errdetail_log errdetail_plural:1,2 errhint errcontext yyerror plpgsql_yyerror
+GETTEXT_TRIGGERS = errmsg errmsg_plural:1,2 errdetail errdetail_log errdetail_plural:1,2 errhint errcontext yyerror plpgsql_yyerror