Expand file tree Collapse file tree 6 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 22CATALOG_NAME = postgres
33AVAIL_LANGUAGES = de es fr ja pt_BR tr zh_CN zh_TW
44GETTEXT_FILES = + gettext-files
5- GETTEXT_TRIGGERS = errmsg errmsg_plural:1,2 errdetail errdetail_log \
6- errdetail_plural:1,2 errhint errcontext \
5+ GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS ) \
76 GUC_check_errmsg GUC_check_errdetail GUC_check_errhint \
87 write_stderr yyerror parser_yyerror
98
Original file line number Diff line number Diff line change 4343GETTEXT_TRIGGERS += _
4444
4545
46+ # common settings that apply to backend and all backend modules
47+ BACKEND_COMMON_GETTEXT_TRIGGERS = \
48+ errmsg errmsg_plural:1,2 \
49+ errdetail errdetail_log errdetail_plural:1,2 \
50+ errhint \
51+ errcontext
52+
53+
4654all-po : $(MO_FILES )
4755
4856% .mo : % .po
Original file line number Diff line number Diff line change 22CATALOG_NAME = plperl
33AVAIL_LANGUAGES = de es fr it ja pt_BR ro tr zh_CN zh_TW
44GETTEXT_FILES = plperl.c SPI.c
5- GETTEXT_TRIGGERS = errmsg errmsg_plural:1,2 errdetail errdetail_log errdetail_plural:1,2 errhint errcontext
5+ GETTEXT_TRIGGERS = $( BACKEND_COMMON_GETTEXT_TRIGGERS )
Original file line number Diff line number Diff line change 22CATALOG_NAME = plpgsql
33AVAIL_LANGUAGES = de es fr it ja ko pt_BR ro zh_CN zh_TW
44GETTEXT_FILES = pl_comp.c pl_exec.c pl_gram.c pl_funcs.c pl_handler.c pl_scanner.c
5- GETTEXT_TRIGGERS = errmsg errmsg_plural:1,2 errdetail errdetail_log errdetail_plural:1,2 errhint errcontext yyerror plpgsql_yyerror
5+ GETTEXT_TRIGGERS = $( BACKEND_COMMON_GETTEXT_TRIGGERS ) yyerror plpgsql_yyerror
Original file line number Diff line number Diff line change 22CATALOG_NAME = plpython
33AVAIL_LANGUAGES = de es fr it ja pt_BR ro tr zh_CN zh_TW
44GETTEXT_FILES = plpython.c
5- GETTEXT_TRIGGERS = errmsg errmsg_plural:1,2 errdetail errdetail_log errdetail_plural:1,2 errhint errcontext PLy_elog:2 PLy_exception_set:2 PLy_exception_set_plural:2,3
5+ GETTEXT_TRIGGERS = $( BACKEND_COMMON_GETTEXT_TRIGGERS ) PLy_elog:2 PLy_exception_set:2 PLy_exception_set_plural:2,3
Original file line number Diff line number Diff line change 22CATALOG_NAME = pltcl
33AVAIL_LANGUAGES = de es fr it ja pt_BR ro tr zh_CN zh_TW
44GETTEXT_FILES = pltcl.c
5- GETTEXT_TRIGGERS = errmsg errmsg_plural:1,2 errdetail errdetail_log errdetail_plural:1,2 errhint errcontext
5+ GETTEXT_TRIGGERS = $( BACKEND_COMMON_GETTEXT_TRIGGERS )
<
30D7
svg aria-hidden="true" version="1.1" viewBox="0 0 340 84" xmlns="http://www.w3.org/2000/svg" class="DiffPlaceholder-module__DiffPlaceholderSVG--zRrf1">
0 commit comments