QML and Plasma -> progress()
Marco Martin
notmart at gmail.com
Tue Oct 5 00:33:37 CEST 2010
On Tuesday 05 October 2010, Aaron J. Seigo wrote:
> On Monday, October 4, 2010, Marco Martin wrote:
> > yep, it should.
> > only in the scriptengine tough, still remains the problem of having to
> > i18n in a ml file in a c++ plasmoid :/
>
> ah, true; perhaps an i18n object could be called? how do they handle i18n
> right now in QML? passing all user visible strings (how are those
> identified?) through tr() internally?
in qml stock there is a global qStr() function registered to the engine just
like we do with i18n()
in kontact mobile they register a global "KDE" object that with other things
has an i18n.
would be easy doing the same thing but compared to have something really in
the engine seems a step backwards.
another possibility is to put the engine hack directly into libplasma but this
doesn't make me too happy either.
Cheers,
Marco Martin
More information about the Plasma-devel
mailing list