summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/misc.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-01-02 13:26:54 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-01-02 13:26:54 +0000
commita3114e52f6e2ba80ad2236d9f381910d95061e6a (patch)
treeb2e0b0cbed403352cd30c90344819d3f3aa796eb /src/interfaces/ecpg/ecpglib/misc.c
parent184341309ef08523290e18586485d395be0f9893 (diff)
Split the ecpg translation support into a separate catalog for the ecpg
preprocessor and the library. This is useful for a number of reasons: * The preprocessor and the library are in some cases installed in separate packages and used by different classes of users. * The library MO files need a different versioning scheme to account for the soname. * The makefiles are simpler, more robust, and easier to maintain this way. (NLS web site was prone to break everytime a build rule changes.) * Translators might choose to focus on the ecpglib, because that is more user-facing. * There was virtually no overlap, so nothing is lost.
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/misc.c')
-rw-r--r--src/interfaces/ecpg/ecpglib/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/ecpglib/misc.c b/src/interfaces/ecpg/ecpglib/misc.c
index 914ebe7a47d..242ab0a7d65 100644
--- a/src/interfaces/ecpg/ecpglib/misc.c
+++ b/src/interfaces/ecpg/ecpglib/misc.c
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.46 2008/12/15 19:07:48 tgl Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.47 2009/01/02 13:26:54 petere Exp $ */
#define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h"
@@ -476,7 +476,7 @@ ecpg_gettext(const char *msgid)
ldir = getenv("PGLOCALEDIR");
if (!ldir)
ldir = LOCALEDIR;
- bindtextdomain(PG_TEXTDOMAIN("ecpg"), ldir);
+ bindtextdomain(PG_TEXTDOMAIN("ecpglib"), ldir);
#ifdef WIN32
SetLastError(save_errno);
#else