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

List:       kde-devel
Subject:    Re: i18n questions
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2003-01-28 21:01:31
[Download RAW message or body]

On Tue, Jan 28, 2003 at 08:03:38PM +0100, Nicolas Goutte wrote:
> On Tuesday 28 January 2003 19:14, Oswald Buddenhagen wrote:
> > On Tue, Jan 28, 2003 at 02:30:52PM +0100, Nicolas Goutte wrote:
> > > QString CSSProperty;
> > > if (result==i18n("bolder"))
> > > 	CSSProperty="bolder";
> > > else if (result==i18n("bold"))
> > > 	CSSProperty="bold";
> > > // and so on
> >
> > // ... 2 hours and 50 kb code later ...
> 
> This CSS poperty has only a few values. So I thought that a table was
> too much for an example.
> 
well, everything with more than three entries qualifies for a table. :)

> >     listbox->insert(i18n("%1 (%2)", "keyword (description)")
> 
> Sorry but that is wrong! The context comes before, not after!
> 
> It should be:
> 	listbox->insert(i18n("keyword (description)","%1 (%2)")
> 
oops, right. i wasn't sure, just forgot to mention it.

> >         .arg(keywords[i]).i18n(keywords[i]));
> > <build second table from .desktop file(s)>
> 
> I do not understand that. Why a second table?
> 
err, my fault. i assumed that the two original questions relate to the
same listbox. of course nobody said that ...

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
 
>> 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