Package: libpq5
Version: 8.3.5-1
Tags: patch
The libpq message localization is broken, meaning no localized messages
will ever appear. The reason is in the 03-gettext-domains.patch. It
changes the message catalog in the bindtextdomain() call but not in the
dcgettext() call. The correct patch would look like this:
--- postgresql-8.3.5/src/interfaces/libpq/fe-misc.c
+++ postgresql-8.3.5/src/interfaces/libpq/fe-misc.c
@@ -1152,7 +1152,7 @@
ldir = getenv("PGLOCALEDIR");
if (!ldir)
ldir = LOCALEDIR;
- bindtextdomain("libpq", ldir);
+ bindtextdomain("libpq5", ldir);
#ifdef WIN32
SetLastError(save_errno);
#else
@@ -1160,7 +1160,7 @@
#endif
}
- return dgettext("libpq", msgid);
+ return dgettext("libpq5", msgid);
}
#endif /* ENABLE_NLS */
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]