On Aug 14, 2007, at 4:49 AM, Göran Uddeborg wrote:
- Bugzilla Bug 102254: popt messages need explicit domain with
dgettext()
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=102254
-> As per http://rpm5.org/cvs/chngview?cn=8187, this bug report
IMHO
seems to be partially solved; any comments Göran?
I haven't looked at the patch, but I tried to rebuild popt-1.12-1 as
you suggested. It did, however, NOT help. (See my bugzilla comment
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=102254#c25 for
details.)
Either its not fixed, or I miss something.
What you miss is that there are 2 strings in popt.h, which are added
to application
tables, but need to use the "popt" domain.
The patch compares msgid values and uses dgettext in the "popt"
domain when
encountered.
Technically, since the strings are compiled into application popt
tables, the strings
should be handled by the application, not popt. But all depends on
whether the 2
occurences of N_(...) are seen when generating application PO tables.
73 de Jeff
______________________________________________________________________
POPT Library http://rpm5.org
Developer Communication List [email protected]