From 2ee4efc4081e0487d70607ca0d0d4abdbb85106f Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 20 Jul 2014 21:39:37 -0400 Subject: [PATCH] Replace "internationalize" with "localize" where appropriate --- doc/src/sgml/libpq.sgml | 2 +- src/interfaces/ecpg/ecpglib/misc.c | 2 +- src/interfaces/ecpg/preproc/ecpg.header | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 1961ce5875..7887a5ad7e 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -6878,7 +6878,7 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough) PGLOCALEDIR PGLOCALEDIR sets the directory containing the - locale files for message internationalization. + locale files for message localization. diff --git a/src/interfaces/ecpg/ecpglib/misc.c b/src/interfaces/ecpg/ecpglib/misc.c index 9371f7140f..2e62260747 100644 --- a/src/interfaces/ecpg/ecpglib/misc.c +++ b/src/interfaces/ecpg/ecpglib/misc.c @@ -260,7 +260,7 @@ ecpg_log(const char *format,...) if (!simple_debug) return; - /* internationalize the error message string */ + /* localize the error message string */ intl_format = ecpg_gettext(format); /* diff --git a/src/interfaces/ecpg/preproc/ecpg.header b/src/interfaces/ecpg/preproc/ecpg.header index 64e7600a8c..9c5018c249 100644 --- a/src/interfaces/ecpg/preproc/ecpg.header +++ b/src/interfaces/ecpg/preproc/ecpg.header @@ -67,7 +67,7 @@ struct ECPGtype ecpg_query = {ECPGt_char_variable, NULL, NULL, NULL, {NULL}, 0}; static void __attribute__((format(PG_PRINTF_ATTRIBUTE, 3, 0))) vmmerror(int error_code, enum errortype type, const char *error, va_list ap) { - /* internationalize the error message string */ + /* localize the error message string */ error = _(error); fprintf(stderr, "%s:%d: ", input_filename, yylineno); -- 2.40.0