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

List:       kde-devel
Subject:    Re: Identify a directory except with its name ?
From:       Stephan Kulow <coolo () kde ! org>
Date:       2001-09-28 13:36:35
[Download RAW message or body]

On Friday 28 September 2001 15:20, Malte Starostik wrote:
> Am Friday 28 September 2001 15:07 schrieb Kevin Krammer:
> > On Friday, 28. September 2001 14:46 (GMT +0200), Kai Heitkamp wrote:
> > > KDirLister *dirLister = new KDirLister();
> > > dirLister->openURL( "audiocd:/By Name?device=/dev/scd1", true, true );
> > >
> > > does not find 'By Name', because this must be:
> > >
> > > KDirLister *dirLister = new KDirLister();
> > > dirLister->openURL( "audiocd:/Nach Namen?device=/dev/scd1", true, true
> > > );
> > >
> > > Can I identify a directory differently than with its name ?
> > > Any ideas for this problem ?
> >
> > What your using i18n for the language dependent part?
> > like dirLister->openURL("audiocd:/"+i18n("By Name")+"?device....");
>
> That would require to copy all those translations from kio_audiocd to his
> project to ensure they match. A maintenance nightmare...

#define AUDIO_I18N i18n
KGlobal::locale()->insertCatalogue("kio_audiocd");
AUDIO-I18N("By name")

Greetings, Stephan
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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