*** pgsql/src/interfaces/libpq/fe-misc.c 2008/10/27 09:42:31 1.136 --- pgsql/src/interfaces/libpq/fe-misc.c 2008/12/11 07:34:09 1.137 *************** *** 23,29 **** * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION ! * $PostgreSQL: pgsql/src/interfaces/libpq/fe-misc.c,v 1.135 2008/08/20 11:53:45 mha Exp $ * *------------------------------------------------------------------------- */ --- 23,29 ---- * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION ! * $PostgreSQL: pgsql/src/interfaces/libpq/fe-misc.c,v 1.136 2008/10/27 09:42:31 mha Exp $ * *------------------------------------------------------------------------- */ *************** libpq_gettext(const char *msgid) *** 1166,1172 **** ldir = getenv("PGLOCALEDIR"); if (!ldir) ldir = LOCALEDIR; ! bindtextdomain("libpq", ldir); #ifdef WIN32 SetLastError(save_errno); #else --- 1166,1172 ---- ldir = getenv("PGLOCALEDIR"); if (!ldir) ldir = LOCALEDIR; ! bindtextdomain(PG_TEXTDOMAIN("libpq"), ldir); #ifdef WIN32 SetLastError(save_errno); #else *************** libpq_gettext(const char *msgid) *** 1174,1180 **** #endif } ! return dgettext("libpq", msgid); } #endif /* ENABLE_NLS */ --- 1174,1180 ---- #endif } ! return dgettext(PG_TEXTDOMAIN("libpq"), msgid); } #endif /* ENABLE_NLS */