]> granicus.if.org Git - postgresql/commitdiff
Add new files to nls.mk and add translation markers
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 3 Aug 2017 02:44:46 +0000 (22:44 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 3 Aug 2017 02:45:48 +0000 (22:45 -0400)
src/bin/pg_basebackup/nls.mk
src/bin/pg_basebackup/walmethods.c
src/interfaces/libpq/nls.mk

index 2a6de08a645f6bc0a40780ed5b3a2cc4c67a0526..d5f87e8438154208b5d15bba7c832180730886fc 100644 (file)
@@ -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
index 06d8ab5bc29d84c90313b01dedab721d42d25f13..2ab5ae93e09073553510d95ddaed26000e2f8eba 100644 (file)
@@ -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)
index 1e2a7a872cbdfa5208f01cf18ae8275190239d48..1329b37bccf778b0763150400681310c19e5a60f 100644 (file)
@@ -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