*** pgsql/src/interfaces/ecpg/ecpglib/misc.c 2008/11/01 19:53:35 1.43 --- pgsql/src/interfaces/ecpg/ecpglib/misc.c 2008/12/11 07:34:09 1.44 *************** *** 1,4 **** ! /* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.42 2008/05/16 15:20:03 petere Exp $ */ #define POSTGRES_ECPG_INTERNAL #include "postgres_fe.h" --- 1,4 ---- ! /* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.43 2008/11/01 19:53:35 meskes Exp $ */ #define POSTGRES_ECPG_INTERNAL #include "postgres_fe.h" *************** ecpg_gettext(const char *msgid) *** 474,480 **** ldir = getenv("PGLOCALEDIR"); if (!ldir) ldir = LOCALEDIR; ! bindtextdomain("ecpg", ldir); #ifdef WIN32 SetLastError(save_errno); #else --- 474,480 ---- ldir = getenv("PGLOCALEDIR"); if (!ldir) ldir = LOCALEDIR; ! bindtextdomain(PG_TEXTDOMAIN("ecpg"), ldir); #ifdef WIN32 SetLastError(save_errno); #else *************** ecpg_gettext(const char *msgid) *** 482,488 **** #endif } ! return dgettext("ecpg", msgid); } #endif /* ENABLE_NLS */ --- 482,488 ---- #endif } ! return dgettext(PG_TEXTDOMAIN("ecpg"), msgid); } #endif /* ENABLE_NLS */