Your message dated Sat, 11 Jul 2009 16:59:21 +0200
with message-id <[email protected]>
and subject line Re: Bug#508346: libpq message localization is broken
has caused the Debian Bug report #508346,
regarding libpq message localization is broken
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
508346: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508346
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 */
--- End Message ---
--- Begin Message ---
Version: 8.4.0-1
Peter Eisentraut [2008-12-10 14:25 +0200]:
> The libpq message localization is broken, meaning no localized
> messages will ever appear.
This is fixed in 8.4.0-1, the patch got dropped (per-version domains
are supported by upstream now).
Thanks!
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
--- End Message ---