[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Language fall-back: proposal for a solution
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2004-05-16 11:31:17
Message-ID: 200405161331.17165.nicolasg () snafu ! de
[Download RAW message or body]

On Sunday 16 May 2004 12:09, Nicolas Goutte wrote:
> On Sunday 16 May 2004 00:15, Heiko Evermann wrote:
(...)
>
> > KLocale::initCatalogue
> > loads kdelibs.mo and kio.mo with these two lines
> > <code>
> >   // always include kdelibs's mo files
> >   d->catalogues.append( KCatalogue( SYSTEM_MESSAGES ) );
> >   d->catalogues.append( KCatalogue( "kio" ) );
> > </code>
>
> Yes, but this code means that you cannot restrict the discussion to KLocale
> but you have to look further, at least to KCatalogue (and perhaps even to
> kdelibs/kdecore/libintl.cpp .)

Similar with the following member function. Here too the work is done "one  
floor lower" in the class KCatalogue

void KLocale::insertCatalogue( const QString & catalog )
{
  KCatalogue cat( catalog );

  initCatalogue( cat );

  d->catalogues.append( cat );
}

(...)

>
> > Kind regards,
> >
> > Heiko Evermann
> > (Low Saxon translation team)
>
> Have a nice day!

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic