]> granicus.if.org Git - postgresql/commitdiff
Made ecpglib use translated messages.
authorMichael Meskes <meskes@postgresql.org>
Sun, 27 Jan 2013 12:48:12 +0000 (13:48 +0100)
committerMichael Meskes <meskes@postgresql.org>
Sun, 27 Jan 2013 12:48:12 +0000 (13:48 +0100)
Bug reported and fixed by Chen Huajun <chenhj@cn.fujitsu.com>.

src/interfaces/ecpg/ecpglib/misc.c

index a4c283a274d3920b0096f8d9aadc372edc38b80f..9371f7140f446df1dc28cf1d63f630dc472a3fdf 100644 (file)
@@ -497,7 +497,7 @@ ecpg_gettext(const char *msgid)
 #endif
        }
 
-       return dgettext(PG_TEXTDOMAIN("ecpg"), msgid);
+       return dgettext(PG_TEXTDOMAIN("ecpglib"), msgid);
 }
 #endif   /* ENABLE_NLS */