Replace "internationalize" with "localize" where appropriate

This commit is contained in:
Peter Eisentraut 2014-07-20 21:39:37 -04:00
parent ddc41fd2f4
commit 2ee4efc408
3 changed files with 3 additions and 3 deletions

View File

@ -6878,7 +6878,7 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
<primary><envar>PGLOCALEDIR</envar></primary> <primary><envar>PGLOCALEDIR</envar></primary>
</indexterm> </indexterm>
<envar>PGLOCALEDIR</envar> sets the directory containing the <envar>PGLOCALEDIR</envar> sets the directory containing the
<literal>locale</> files for message internationalization. <literal>locale</> files for message localization.
</para> </para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>

View File

@ -260,7 +260,7 @@ ecpg_log(const char *format,...)
if (!simple_debug) if (!simple_debug)
return; return;
/* internationalize the error message string */ /* localize the error message string */
intl_format = ecpg_gettext(format); intl_format = ecpg_gettext(format);
/* /*

View File

@ -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))) static void __attribute__((format(PG_PRINTF_ATTRIBUTE, 3, 0)))
vmmerror(int error_code, enum errortype type, const char *error, va_list ap) 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); error = _(error);
fprintf(stderr, "%s:%d: ", input_filename, yylineno); fprintf(stderr, "%s:%d: ", input_filename, yylineno);