, 2009 6:41 AM
To: List for Openmoko community discussion
Subject: Re: [QtEI] Translation suggestion
On the doc.trolltech.com, there isn't written that QApp-translate is
better than tr, if I read correctly.
http://doc.trolltech.com/4.5/qobject.html#tr
http://doc.trolltech.com/4.5
Another consideration is that tr() is only available in classes derived
from
QObject - but since normally the strings you want to translate are
generated
in Gui-classes this is normally the case.
iirc tr is a static method of QObject, ie QObject::tr() should be possible
regardless of
Another consideration is that tr() is only available in classes
derived
from
QObject - but since normally the strings you want to translate are
generated
in Gui-classes this is normally the case.
iirc tr is a static method of QObject, ie QObject::tr() should be
possible
regardless
The disadvantage of using QObject::tr() compared to qApp-translate()
eh? from what you wrote earlier i got the impression it is exactly the
other way round.
___
Openmoko community mailing list
community@lists.openmoko.org
The disadvantage of using QObject::tr() compared to qApp-translate()
eh? from what you wrote earlier i got the impression it is exactly the
other way round.
You're right, kind of confusing. This is how I understood how it works:
When using QCoreApplication::translate() you have to provide
On the doc.trolltech.com, there isn't written that QApp-translate is
better than tr, if I read correctly.
http://doc.trolltech.com/4.5/qobject.html#tr
http://doc.trolltech.com/4.5/qcoreapplication.html#translate
Then is better leaving the tr() or switching to QApp-translate()?
On Sun, Apr 26,
I have looked around and it seems that QtEI should be translated with
Qt Linguistic. Is this the best tool?
--
Fabio A Locati
Home: Segrate, Milan, Italy (GMT +1)
Phone: +39-328-3799681
MSN/Jabber/E-Mail: fabioloc...@gmail.com
PGP Key: 9EF6 3C79 F6DF 76CD 770A 43A1 DCCB 415C 9656 3334
On Sun, 26 Apr 2009 23:14:05 +0200
Fabio Locati fabioloc...@gmail.com wrote:
I have looked around and it seems that QtEI should be translated with
Qt Linguistic. Is this the best tool?
I don't know the tool, but I do believe there's much work to be done
here: many classes still use tr while
8 matches
Mail list logo