Skip to content

Commit c6ef139

Browse files
committed
Make _ be automatically included in GETTEXT_TRIGGERS
Since it's globally defined in c.h, it should be treated as a gettext trigger everywhere.
1 parent 1b11e23 commit c6ef139

File tree

13 files changed

+10
-12
lines changed

13 files changed

+10
-12
lines changed

src/backend/nls.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
CATALOG_NAME = postgres
33
AVAIL_LANGUAGES = de es fr ja pt_BR tr zh_CN zh_TW
44
GETTEXT_FILES = + gettext-files
5-
GETTEXT_TRIGGERS = _ errmsg errmsg_plural:1,2 errdetail errdetail_log \
5+
GETTEXT_TRIGGERS = errmsg errmsg_plural:1,2 errdetail errdetail_log \
66
errdetail_plural:1,2 errhint errcontext \
77
GUC_check_errmsg GUC_check_errdetail GUC_check_errhint \
88
write_stderr yyerror parser_yyerror

src/bin/initdb/nls.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
CATALOG_NAME = initdb
33
AVAIL_LANGUAGES = cs de es fr it ja ko pt_BR ro ru sv ta tr zh_CN zh_TW
44
GETTEXT_FILES = initdb.c ../../port/dirmod.c ../../port/exec.c
5-
GETTEXT_TRIGGERS = _ simple_prompt
5+
GETTEXT_TRIGGERS = simple_prompt

src/bin/pg_basebackup/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
CATALOG_NAME = pg_basebackup
33
AVAIL_LANGUAGES = de es
44
GETTEXT_FILES = pg_basebackup.c
5-
GETTEXT_TRIGGERS = _

src/bin/pg_config/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
CATALOG_NAME = pg_config
33
AVAIL_LANGUAGES = de es fr it ja ko nb pt_BR ro ru sv ta tr zh_CN zh_TW
44
GETTEXT_FILES = pg_config.c ../../port/exec.c
5-
GETTEXT_TRIGGERS = _

src/bin/pg_controldata/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
CATALOG_NAME = pg_controldata
33
AVAIL_LANGUAGES = de es fr it ja ko pt_BR ro ru sv ta tr zh_CN zh_TW
44
GETTEXT_FILES = pg_controldata.c
5-
GETTEXT_TRIGGERS = _

src/bin/pg_ctl/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
CATALOG_NAME = pg_ctl
33
AVAIL_LANGUAGES = de es fr it ja ko pt_BR ru sv ta tr zh_CN zh_TW
44
GETTEXT_FILES = pg_ctl.c ../../port/exec.c
5-
GETTEXT_TRIGGERS = _

src/bin/pg_dump/nls.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ GETTEXT_FILES = pg_dump.c common.c pg_backup_archiver.c pg_backup_custom.c \
66
pg_backup_tar.c pg_restore.c pg_dumpall.c \
77
../../port/exec.c
88
GETTEXT_TRIGGERS = write_msg:2 die_horribly:3 exit_horribly:3 simple_prompt \
9-
ExecuteSqlCommand:3 ahlog:3 _
9+
ExecuteSqlCommand:3 ahlog:3

src/bin/pg_resetxlog/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
CATALOG_NAME = pg_resetxlog
33
AVAIL_LANGUAGES = de es fr it ja ko pt_BR ro ru sv ta tr zh_CN zh_TW
44
GETTEXT_FILES = pg_resetxlog.c
5-
GETTEXT_TRIGGERS = _

src/bin/psql/nls.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ AVAIL_LANGUAGES = cs de es fr ja pt_BR sv tr zh_CN zh_TW
44
GETTEXT_FILES = command.c common.c copy.c help.c input.c large_obj.c \
55
mainloop.c print.c startup.c describe.c sql_help.h sql_help.c \
66
../../port/exec.c
7-
GETTEXT_TRIGGERS = _ N_ psql_error simple_prompt
7+
GETTEXT_TRIGGERS = N_ psql_error simple_prompt

src/bin/scripts/nls.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ GETTEXT_FILES = createdb.c createlang.c createuser.c \
55
dropdb.c droplang.c dropuser.c \
66
clusterdb.c vacuumdb.c reindexdb.c \
77
common.c
8-
GETTEXT_TRIGGERS = _ simple_prompt yesno_prompt
8+
GETTEXT_TRIGGERS = simple_prompt yesno_prompt

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy