aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/nls.mk36
-rw-r--r--src/bin/pg_combinebackup/nls.mk12
-rw-r--r--src/bin/pg_dump/nls.mk5
-rw-r--r--src/bin/pg_rewind/nls.mk5
-rw-r--r--src/bin/pg_upgrade/nls.mk17
-rw-r--r--src/bin/pg_waldump/nls.mk5
-rw-r--r--src/pl/plpython/nls.mk13
7 files changed, 51 insertions, 42 deletions
diff --git a/src/backend/nls.mk b/src/backend/nls.mk
index dfb053c2a79..2d1d70b4cce 100644
--- a/src/backend/nls.mk
+++ b/src/backend/nls.mk
@@ -2,25 +2,25 @@
CATALOG_NAME = postgres
GETTEXT_FILES = + gettext-files
GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS) \
- GUC_check_errmsg \
- GUC_check_errdetail \
- GUC_check_errhint \
- write_stderr \
- yyerror \
- jsonpath_yyerror:3 \
- parser_yyerror \
- replication_yyerror \
- scanner_yyerror \
- syncrep_yyerror \
- report_invalid_record:2 \
- ereport_startup_progress
+ GUC_check_errmsg \
+ GUC_check_errdetail \
+ GUC_check_errhint \
+ write_stderr \
+ yyerror \
+ jsonpath_yyerror:3 \
+ parser_yyerror \
+ replication_yyerror \
+ scanner_yyerror \
+ syncrep_yyerror \
+ report_invalid_record:2 \
+ ereport_startup_progress
GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS) \
- GUC_check_errmsg:1:c-format \
- GUC_check_errdetail:1:c-format \
- GUC_check_errhint:1:c-format \
- write_stderr:1:c-format \
- report_invalid_record:2:c-format \
- ereport_startup_progress:1:c-format
+ GUC_check_errmsg:1:c-format \
+ GUC_check_errdetail:1:c-format \
+ GUC_check_errhint:1:c-format \
+ write_stderr:1:c-format \
+ report_invalid_record:2:c-format \
+ ereport_startup_progress:1:c-format
gettext-files: generated-parser-sources generated-headers
find $(srcdir) $(srcdir)/../common $(srcdir)/../port -name '*.c' -print | LC_ALL=C sort >$@
diff --git a/src/bin/pg_combinebackup/nls.mk b/src/bin/pg_combinebackup/nls.mk
index c8e59d1d00d..84db8fa9571 100644
--- a/src/bin/pg_combinebackup/nls.mk
+++ b/src/bin/pg_combinebackup/nls.mk
@@ -1,11 +1,11 @@
# src/bin/pg_combinebackup/nls.mk
CATALOG_NAME = pg_combinebackup
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) \
- backup_label.c \
- copy_file.c \
- load_manifest.c \
- pg_combinebackup.c \
- reconstruct.c \
- write_manifest.c
+ backup_label.c \
+ copy_file.c \
+ load_manifest.c \
+ pg_combinebackup.c \
+ reconstruct.c \
+ write_manifest.c
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS)
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS)
diff --git a/src/bin/pg_dump/nls.mk b/src/bin/pg_dump/nls.mk
index e84d690f60f..766ead89c7b 100644
--- a/src/bin/pg_dump/nls.mk
+++ b/src/bin/pg_dump/nls.mk
@@ -30,6 +30,7 @@ GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) \
../../fe_utils/option_utils.c
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS) \
simple_prompt \
- ExecuteSqlCommand:3 warn_or_exit_horribly:2
+ ExecuteSqlCommand:3 \
+ warn_or_exit_horribly:2
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS) \
- warn_or_exit_horribly:2:c-format
+ warn_or_exit_horribly:2:c-format
diff --git a/src/bin/pg_rewind/nls.mk b/src/bin/pg_rewind/nls.mk
index d2de8596fa6..36a3993f02f 100644
--- a/src/bin/pg_rewind/nls.mk
+++ b/src/bin/pg_rewind/nls.mk
@@ -15,6 +15,7 @@ GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) \
../../common/restricted_token.c \
../../fe_utils/archive.c \
../../fe_utils/recovery_gen.c
-GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS) report_invalid_record:2
+GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS) \
+ report_invalid_record:2
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS) \
- report_invalid_record:2:c-format
+ report_invalid_record:2:c-format
diff --git a/src/bin/pg_upgrade/nls.mk b/src/bin/pg_upgrade/nls.mk
index 9e2c1386e20..06fd40e4218 100644
--- a/src/bin/pg_upgrade/nls.mk
+++ b/src/bin/pg_upgrade/nls.mk
@@ -15,10 +15,13 @@ GETTEXT_FILES = check.c \
tablespace.c \
util.c \
version.c
-GETTEXT_TRIGGERS = pg_fatal pg_log:2 prep_status prep_status_progress report_status:2
-GETTEXT_FLAGS = \
- pg_fatal:1:c-format \
- pg_log:2:c-format \
- prep_status:1:c-format \
- prep_status_progress:1:c-format \
- report_status:2:c-format
+GETTEXT_TRIGGERS = pg_fatal \
+ pg_log:2 \
+ prep_status \
+ prep_status_progress \
+ report_status:2
+GETTEXT_FLAGS = pg_fatal:1:c-format \
+ pg_log:2:c-format \
+ prep_status:1:c-format \
+ prep_status_progress:1:c-format \
+ report_status:2:c-format
diff --git a/src/bin/pg_waldump/nls.mk b/src/bin/pg_waldump/nls.mk
index 4f00e129ff4..f2336ddfdfe 100644
--- a/src/bin/pg_waldump/nls.mk
+++ b/src/bin/pg_waldump/nls.mk
@@ -4,6 +4,7 @@ GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) \
pg_waldump.c \
xlogreader.c \
xlogstats.c
-GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS) report_invalid_record:2
+GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS) \
+ report_invalid_record:2
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS) \
- report_invalid_record:2:c-format
+ report_invalid_record:2:c-format
diff --git a/src/pl/plpython/nls.mk b/src/pl/plpython/nls.mk
index e7a25ca0136..f6aafcf2494 100644
--- a/src/pl/plpython/nls.mk
+++ b/src/pl/plpython/nls.mk
@@ -12,9 +12,12 @@ GETTEXT_FILES = plpy_cursorobject.c \
plpy_subxactobject.c \
plpy_typeio.c \
plpy_util.c
-GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS) PLy_elog:2 PLy_exception_set:2 PLy_exception_set_plural:2,3
+GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS) \
+ PLy_elog:2 \
+ PLy_exception_set:2 \
+ PLy_exception_set_plural:2,3
GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS) \
- PLy_elog:2:c-format \
- PLy_exception_set:2:c-format \
- PLy_exception_set_plural:2:c-format \
- PLy_exception_set_plural:3:c-format
+ PLy_elog:2:c-format \
+ PLy_exception_set:2:c-format \
+ PLy_exception_set_plural:2:c-format \
+ PLy_exception_set_plural:3:c-format