aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2014-07-20 21:39:37 -0400
committerPeter Eisentraut <peter_e@gmx.net>2014-07-20 21:39:37 -0400
commit2ee4efc4081e0487d70607ca0d0d4abdbb85106f (patch)
treeb872e8730d40d86904fd7050a159016845f6f6a0 /src
parentddc41fd2f4756b529814ad03fa32e8ba10253996 (diff)
downloadpostgresql-2ee4efc4081e0487d70607ca0d0d4abdbb85106f.tar.gz
postgresql-2ee4efc4081e0487d70607ca0d0d4abdbb85106f.zip
Replace "internationalize" with "localize" where appropriate
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/ecpg/ecpglib/misc.c2
-rw-r--r--src/interfaces/ecpg/preproc/ecpg.header2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/ecpglib/misc.c b/src/interfaces/ecpg/ecpglib/misc.c
index 9371f7140f4..2e622607477 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 64e7600a8cb..9c5018c2490 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);