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

List:       kde-devel
Subject:    Re: dynamic string translation
From:       Krzysztof Lichota <krzysiek () lichota ! net>
Date:       2006-09-24 16:36:52
Message-ID: 4516B424.30606 () lichota ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Thiago Macieira napisaƂ(a):
> Thomas Weber wrote:
>> The contents to be translated are the keys of a QHash<QString,
>> QList<UNITDESC>* >
>>
>> e.g.:  categories["Length"]      = &LengthUnits;
> 
> make that:
> categories[I18N_NOOP("Length")]
> 
> in your other call:
> table_widget->addTab(table, categories.keys().at(index) );
> 
> make that:
> table_widget->addTab(table, i18n(categories.keys().at(index) ) );

Wouldn't it cause "double translation" of string?

	Krzysztof Lichota


["signature.asc" (application/pgp-signature)]

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