[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:       Malte Starostik <malte () kde ! org>
Date:       2001-09-28 13:20:26
[Download RAW message or body]

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...
-- 
Malte Starostik
PGP: 1024D/D2F3C787 [C138 2121 FAF3 410A 1C2A  27CD 5431 7745 D2F3 C787]

 
>> 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