From 194b5ea3d0722f94e8a6ba9cec03b858cc8c9370 Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Fri, 30 Mar 2012 20:42:06 +0300
Subject: [PATCH] Add new files to NLS file lists

Some of these are newly added, some are older and were forgotten, some
don't contain any translatable strings right now but look like they
could in the future.
---
 src/bin/initdb/nls.mk        | 2 +-
 src/bin/pg_basebackup/nls.mk | 2 +-
 src/bin/pg_dump/nls.mk       | 8 +++++---
 src/bin/psql/nls.mk          | 3 ++-
 4 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/bin/initdb/nls.mk b/src/bin/initdb/nls.mk
index 3fdf52655ab..0699f36f5f3 100644
--- a/src/bin/initdb/nls.mk
+++ b/src/bin/initdb/nls.mk
@@ -1,5 +1,5 @@
 # src/bin/initdb/nls.mk
 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_FILES    = findtimezone.c initdb.c ../../port/dirmod.c ../../port/exec.c
 GETTEXT_TRIGGERS = simple_prompt
diff --git a/src/bin/pg_basebackup/nls.mk b/src/bin/pg_basebackup/nls.mk
index 1e493493c9b..e7e3986c958 100644
--- a/src/bin/pg_basebackup/nls.mk
+++ b/src/bin/pg_basebackup/nls.mk
@@ -1,4 +1,4 @@
 # src/bin/pg_basebackup/nls.mk
 CATALOG_NAME     = pg_basebackup
 AVAIL_LANGUAGES  = de es fr ja
-GETTEXT_FILES    = pg_basebackup.c
+GETTEXT_FILES    = pg_basebackup.c pg_receivexlog.c receivelog.c streamutil.c
diff --git a/src/bin/pg_dump/nls.mk b/src/bin/pg_dump/nls.mk
index 6ba25d338d9..8bf6ec9b5e8 100644
--- a/src/bin/pg_dump/nls.mk
+++ b/src/bin/pg_dump/nls.mk
@@ -1,9 +1,11 @@
 # src/bin/pg_dump/nls.mk
 CATALOG_NAME     = pg_dump
 AVAIL_LANGUAGES  = de es fr it ja ko pt_BR sv tr zh_CN zh_TW
-GETTEXT_FILES    = pg_dump.c common.c pg_backup_archiver.c pg_backup_custom.c \
-                   pg_backup_db.c pg_backup_null.c \
-                   pg_backup_tar.c pg_restore.c pg_dumpall.c \
+GETTEXT_FILES    = pg_backup_archiver.c pg_backup_db.c pg_backup_custom.c \
+                   pg_backup_null.c pg_backup_tar.c \
+                   pg_backup_directory.c dumpmem.c dumputils.c compress_io.c \
+                   pg_dump.c common.c pg_dump_sort.c \
+                   pg_restore.c pg_dumpall.c \
                    ../../port/exec.c
 GETTEXT_TRIGGERS = write_msg:2 exit_horribly:2 simple_prompt \
                    ExecuteSqlCommand:3 ahlog:3 warn_or_exit_horribly:3
diff --git a/src/bin/psql/nls.mk b/src/bin/psql/nls.mk
index 8d744348f0b..ab76e6dbcac 100644
--- a/src/bin/psql/nls.mk
+++ b/src/bin/psql/nls.mk
@@ -2,7 +2,8 @@
 CATALOG_NAME     = psql
 AVAIL_LANGUAGES  = cs de es fr ja pt_BR sv tr zh_CN zh_TW
 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 \
+                   mainloop.c print.c psqlscan.c startup.c describe.c sql_help.h sql_help.c \
+                   tab-complete.c variable.c \
                    ../../port/exec.c
 GETTEXT_TRIGGERS = N_ psql_error simple_prompt
 GETTEXT_FLAGS    = psql_error:1:c-format
-- 
GitLab