mirror of
https://github.com/postgres/postgres.git
synced 2025-05-09 18:21:05 +03:00
Add new files to nls.mk and add translation markers
This commit is contained in:
parent
4d57e83816
commit
5ff3d73813
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user