Am Donnerstag, den 24.02.2005, 10:09 -0500 schrieb Kenneth J. Davis:
> Sounds like a good idea.
> ...
> > We already store the entire menu layout in an in-memory array which is
> > first loaded from another array built during compilation.
> >
> > (This i how plugins add and subtract menu items.)
> ...
>
> (I haven't looked at this particular chunk of code in a while and so
> maybe things have changed, but ...)
> which brings to mind my only question, shouldn't we implement
> some sort of mechanism so plugins can insert menu items without
> being dependent on the existing menu layout/items? or maybe I missed
> how to do this (even a simple insert as last item in menu X).
As part of my ongoing plugin work (lazy loading) i'm working on xml
descriptions for plugins. I sent the xml format it'd like to implement
to the list some time ago, it's possible to specify menu entries there.
This has been a bit dormant as i was hacking other things lately but my
goal is to finish it for 2.4.
> Is there any mechanism in place yet so plugins can also get/provide
> translations for menu items?
No, and this is really a problem for the new plugins like AbiMath as
we'd like to see them widely used.
I don't intend to start another controversial thread but there have been
talks on #abiword whether we should ditch the .strings and use the .po
files directly. It might be a possibility to prototype that for the
plugins (This has not been brought up by me there, BTW).
Best,
- Rob
Received on Thu Feb 24 16:46:21 2005
This archive was generated by hypermail 2.1.8 : Thu Feb 24 2005 - 16:46:23 CET