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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel