[Geany-devel] About translation of plugin name and description
enrico.troeger at xxxxx
Sun May 30 18:09:00 UTC 2010
On Fri, 14 May 2010 18:03:13 +0200, Enrico wrote:
> > Hum, more seriously: I already tried (by using direct gettext calls)
> > and yes -- I would say of course -- it works fine. Even better, you
> > succeeded to make me hack Geany in order to implement it directly
> > (see attached patch) and yes again, it works well (and don't need so
> > much code change finally).
> > In practice, I moved geany_functions and geany_data assignation from
> > plugin_init() to plugin_new() for them to be set before the call to
> > plugin_set_info(); and added the PLUGIN_SET_TRANSLATABLE_INFO()
> > macro that calls main_locale_init() before setting the info fileds.
> That looks fine to me and it works well.
> I didn't expect it to be that easy.
> If Nick nor anyone else see any problems with this, I'd like to commit
Committed now to SVN.
Thanks a lot Colomban!
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: not available
More information about the Devel