diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-08-02 22:44:46 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-08-02 22:45:48 -0400 |
commit | 5ff3d73813ebcc3ff80be77c30b458d728951036 (patch) | |
tree | 22f26f581ca843c28a01bd18741c15524ec23642 /src | |
parent | 4d57e83816778c6f61ea35c697f937a6f9c3c3de (diff) | |
download | postgresql-5ff3d73813ebcc3ff80be77c30b458d728951036.tar.gz postgresql-5ff3d73813ebcc3ff80be77c30b458d728951036.zip |
Add new files to nls.mk and add translation markers
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/pg_basebackup/nls.mk | 4 | ||||
-rw-r--r-- | src/bin/pg_basebackup/walmethods.c | 2 | ||||
-rw-r--r-- | src/interfaces/libpq/nls.mk | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/pg_basebackup/nls.mk b/src/bin/pg_basebackup/nls.mk index 2a6de08a645..d5f87e84381 100644 --- a/src/bin/pg_basebackup/nls.mk +++ b/src/bin/pg_basebackup/nls.mk @@ -1,5 +1,5 @@ # src/bin/pg_basebackup/nls.mk CATALOG_NAME = pg_basebackup AVAIL_LANGUAGES = de es fr it ko pl pt_BR ru zh_CN -GETTEXT_FILES = pg_basebackup.c pg_receivewal.c pg_recvlogical.c receivelog.c streamutil.c ../../common/fe_memutils.c ../../common/file_utils.c -GETTEXT_TRIGGERS = simple_prompt +GETTEXT_FILES = pg_basebackup.c pg_receivewal.c pg_recvlogical.c receivelog.c streamutil.c walmethods.c ../../common/fe_memutils.c ../../common/file_utils.c +GETTEXT_TRIGGERS = simple_prompt tar_set_error diff --git a/src/bin/pg_basebackup/walmethods.c b/src/bin/pg_basebackup/walmethods.c index 06d8ab5bc29..2ab5ae93e09 100644 --- a/src/bin/pg_basebackup/walmethods.c +++ b/src/bin/pg_basebackup/walmethods.c @@ -404,7 +404,7 @@ typedef struct TarMethodData static TarMethodData *tar_data = NULL; #define tar_clear_error() tar_data->lasterror[0] = '\0' -#define tar_set_error(msg) strlcpy(tar_data->lasterror, msg, sizeof(tar_data->lasterror)) +#define tar_set_error(msg) strlcpy(tar_data->lasterror, _(msg), sizeof(tar_data->lasterror)) static const char * tar_getlasterror(void) diff --git a/src/interfaces/libpq/nls.mk b/src/interfaces/libpq/nls.mk index 1e2a7a872cb..1329b37bccf 100644 --- a/src/interfaces/libpq/nls.mk +++ b/src/interfaces/libpq/nls.mk @@ -1,6 +1,6 @@ # src/interfaces/libpq/nls.mk CATALOG_NAME = libpq AVAIL_LANGUAGES = cs de es fr it ja ko pl pt_BR ru tr zh_CN zh_TW -GETTEXT_FILES = fe-auth.c fe-connect.c fe-exec.c fe-lobj.c fe-misc.c fe-protocol2.c fe-protocol3.c fe-secure.c fe-secure-openssl.c win32.c +GETTEXT_FILES = fe-auth.c fe-auth-scram.c fe-connect.c fe-exec.c fe-lobj.c fe-misc.c fe-protocol2.c fe-protocol3.c fe-secure.c fe-secure-openssl.c win32.c GETTEXT_TRIGGERS = libpq_gettext pqInternalNotice:2 GETTEXT_FLAGS = libpq_gettext:1:pass-c-format pqInternalNotice:2:c-format |