i18n bug?

Nicolas Goutte nicolasg at snafu.de
Mon Jul 11 19:07:50 BST 2005


On Monday 11 July 2005 16:03, David Faure wrote:
> On Monday 11 July 2005 11:39, David Faure wrote:
> > > Also somebody having time should test if this problem is visible with
> > > the gettext runtime or not. May be the bug is the old runtime code that
> > > KDE uses.
> >
> > Yes that's the problem. I plan on updating libintl.cpp today.
>
(...)

> So I can't fix this: we need gettext and the i18n code to use the exact
> same hash function, so as long as gettext-0.10.35-kde is the official KDE
> gettext, libintl.cpp shouldn't change, and you shouldn't use another
> version of gettext (even when no plural forms are involved).

I suppose that the gettext's runtime has the same problem and somehow handles 
it.

Probably it knows that the hashes of the minor version 0 must be 
discarded. So perhaps for KDE 3.5, we could use it the other way round: check 
if it is not minor version 0 and skip the hashes.

Have a nice day!





More information about the kde-core-devel mailing list