Review Request: Solar position calculation to time dataengine

Aaron J. Seigo aseigo at kde.org
Wed Apr 8 08:58:58 CEST 2009


On Wednesday 08 April 2009, Petri Damstén wrote:
> On Tuesday 07 April 2009 19:44:08 Aaron Seigo wrote:
> > as for the I18N_NOOPs, the idea was that users of DataEngines
> > could then just show the key/value pairs directly in a user interface and
> > get them translated without having to know the keys ahead of time. i
> > expect this to become an issue when we have more scripted plasmoids;
> > others don't seem to think it matters. *shrug*
>
> What about the case where dataengine is translated and untranslated
> (scripted) plasmoid wants to get a specific field. How does it know the
> field name?

that's why it's I18N_NOOP. it's not translated, but marked for translation. 
you can then later do i18n(data[0]), for instance.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090408/ee27aa11/attachment.sig 


More information about the Plasma-devel mailing list